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
- :
- Other then Vista?
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
Dec 24, 2008
02:49 PM
How to set property in deferred CA on Vista
I have a Basic MSI deferred VBScript custom action in which I want to set a property that will be used in the installer in another custom action down the line. I know how to use customActionData to get properties that were set in Set Property custom actions, but how to set properties that can be accessed later (write to registry, write to a text file on the disk, what?)? Can you write to the SecureCustomProperties from the deferred custom action?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 25, 2008
03:53 PM
How is this handled (set a property value in a deferred custom action), on any system?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 26, 2008
08:28 AM
I'm not 100% positive, but I don't think you can set properties from a deferred custom action except for the very few that you still have direct access to.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 29, 2008
10:23 AM
There's no real MSI line of communication from a deferred action to another or back to immediate actions. One way to handle it is to pass a path to a temp file to the deferred actions via properties, and populate the contents of the file to be read by later actions who also know the path.