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
- :
- Re: 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
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...
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...
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
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