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
- :
- Passing Property to deferred CA on 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
‎Apr 28, 2008
03:39 PM
Passing Property to deferred CA on merge Module
My Basic MSI project has two custom actions (CA). One is launch from the main project, the other is part of a merge module.
The CA on the merge module triggers find but it does not set the CustomActionData property correctly. Here is the details of the setting for the CA on the merger module:
-CustomAction: Set to run after WriteRegistryValues (via ModuleInstallExecuteSequence)
-SetCustomActionData: A 51 type CA that runs after costfinalize (set via ModuleInstallExecuteSequence) setting the value of INSTALLDIR as the CustomActionData for my 'CustomAction' CA.
Any help will be greatly appreciated.
The CA on the merge module triggers find but it does not set the CustomActionData property correctly. Here is the details of the setting for the CA on the merger module:
-CustomAction: Set to run after WriteRegistryValues (via ModuleInstallExecuteSequence)
-SetCustomActionData: A 51 type CA that runs after costfinalize (set via ModuleInstallExecuteSequence) setting the value of INSTALLDIR as the CustomActionData for my 'CustomAction' CA.
Any help will be greatly appreciated.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2008
03:43 PM
What's the actual name of your deferred custom action and the actual name of the property set by your type 51? ( Hint: They should be exactly the same. Second Hint: Don't forget the merge module signature that's part of the CA name )
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2008
03:50 PM
Christopher Painter wrote:
What's the actual name of your deferred custom action and the actual name of the property set by your type 51? ( Hint: They should be exactly the same. Second Hint: Don't forget the merge module signature that's part of the CA name )
CustomAction = OracleClient_Installed
51 CustomAction property name = OracleClient_Installed
I have tried to include the GUID of the CA on the property name of the 51-CA but it does not allow me to do so.
The ModuleInstallExecuteSequence of the CAs seems to be okay:
Costfinalize 1000
SetOracleClient Costfinalize 1 Not Installed
WriteRegistryVAlues 5000
OracleClient_installed WriteRegistryValues 1 Not Installed
Thanks for your input
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2008
05:06 PM
My custom action was not set to deferred execution.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2008
05:15 PM
Cool, glad you figured it out! 🙂