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
- :
- Get Custom Property in CustomActionData
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
Jul 28, 2008
11:46 AM
Get Custom Property in CustomActionData
Hi,
I am working on a Basic MSI project. I created a custom dialog window, on which there is a combobox, the property is set to be "ServerName". I failed to get this ServerName in a deferred custom action. The ServerName is available till the ready to install dialog window is closed, and it is not available during the execute sequence. And it seems the Set Property custom action has to be in the execute sequence. Hence I can't get the value when the Set Property custom action take place, so I can't get the value through the CustomActionData.
Is there anyone can tell me how to solve this problem?
Thank you,
Bing
I am working on a Basic MSI project. I created a custom dialog window, on which there is a combobox, the property is set to be "ServerName". I failed to get this ServerName in a deferred custom action. The ServerName is available till the ready to install dialog window is closed, and it is not available during the execute sequence. And it seems the Set Property custom action has to be in the execute sequence. Hence I can't get the value when the Set Property custom action take place, so I can't get the value through the CustomActionData.
Is there anyone can tell me how to solve this problem?
Thank you,
Bing
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 28, 2008
12:51 PM
To preserve a property value you're setting in the UI sequence to be read in the Execute sequence, please be sure to use a public property (one with an all-caps name: SERVERNAME instead of ServerName, for example), if necessary also adding the property name to SecureCustomProperties.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)