This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Launching exe installed by merge module
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 18, 2007
08:51 AM
Launching exe installed by merge module
Hi there
I've followed the howto regarding scheduling custom actions in a merge module and that seems to be working fine (see screenshot below of ModuleInstallExecuteSequence table) incase I have done something wrong...
![](/legacyfs/online/vb/6404_ModuleInstallExecuteSeq.jpg)
The custom action launches an exe file that is installed by the merge module. The problem im experiencing is that the merge module doesnt seem to actually install the files until right at the end of the installation process.
I have tried sequencing the custom action in various positions between after InstallFiles and before InstallFinalize but the custom action always executes before any files have been copied by the merge module.
Im really struggling to work out what to do now, any ideas would be appreciated!
I've followed the howto regarding scheduling custom actions in a merge module and that seems to be working fine (see screenshot below of ModuleInstallExecuteSequence table) incase I have done something wrong...
![](/legacyfs/online/vb/6404_ModuleInstallExecuteSeq.jpg)
The custom action launches an exe file that is installed by the merge module. The problem im experiencing is that the merge module doesnt seem to actually install the files until right at the end of the installation process.
I have tried sequencing the custom action in various positions between after InstallFiles and before InstallFinalize but the custom action always executes before any files have been copied by the merge module.
Im really struggling to work out what to do now, any ideas would be appreciated!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 20, 2007
07:08 AM
Make sure your custom action is deferred (or defered in system context), or move it after InstallFinalize. For more information see my article Installation Phases and In-Script Execution Options for Custom Actions in Windows Installer. Note that it doesn't make a difference whether your CA is defined in a merge module or in the main msi project.
Stefan Krueger
InstallSite.org
InstallSite.org
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)