Search code examples
visual-studio-2005setup-projectorca

How to create a nested msxml6.msi package


How to add msxml6.msi as nested package into my vs 2005 setup (Based.msi) using Orca? I already used this instructions http://support.microsoft.com/kb/306439 , but msxml6.msi installation never started.


Solution

  • Nested installations are deprecated. You should either use a prerequisite, or a custom action.

    Here is a small prerequisite tutorial for Visual Studio 2005: http://www.codeproject.com/KB/dotnet/Prerequisites_in_Setup.aspx

    You can try using the bootstrapper manifest generator to configure your prerequisite.

    If you want to use a custom action, you can either try launching msiexec.exe with the appropriate command line or write custom code which launches the MSI.

    This custom action should be executed after InstallFinalize in InstallExecuteSequence table. It should also use the msidbCustomActionTypeAsync and msidbCustomActionTypeContinue flags.