View Full Version : msi custom action?

06-22-2006, 03:10 PM
Can a .msi be launched directly in a custom action? Or do you have
to wrap it up in a script or exe?


07-11-2006, 12:08 PM
Launching an .msi file from a custom action is called a concurrent installation, or a nested installation, and Microsoft recommends that you avoid using them. For more information, see Concurrent Installations (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/concurrent_installations.asp) on the MSDN Web site.

Debbie Landers
Macrovision Corporation

07-11-2006, 10:24 PM
Express Edition does not support nested installation custom action. You can however use EXE custom action to launch another MSI. You may also need to handle uninstallation/upgrade scenarios.

Please note that Windows Installer allows only 1 instance of Execute Sequence running at any given time, so your custom action will have to be scheduled in UI Sequence and run into the risk of being skipped entirely when your setup is run silently.

If the terminology does not make any sense to you, you may be better off writing a bootstrapper that launches MSI files sequentially; or leave the second MSI on the install media, and instruct users to install it manually.