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 value from field in dialog
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jun 05, 2011
07:12 AM
Get value from field in dialog
Basic MSI project.
With InstallScript (or any other way) how do I get the value of a field in a dialog so that I can put that value into the registry?
1. I have a field that holds the path of where the user wants the data files to go.
2. I created a property called "Data_Directory" in the Property Manager.
3. I've created a script that will take the value of "Data_Directory" and put it into the registry, however, the value is always the default that is set in the Property Manager.
What sequence do I need to use? Right now #3 is called after InstallInitialize.
With InstallScript (or any other way) how do I get the value of a field in a dialog so that I can put that value into the registry?
1. I have a field that holds the path of where the user wants the data files to go.
2. I created a property called "Data_Directory" in the Property Manager.
3. I've created a script that will take the value of "Data_Directory" and put it into the registry, however, the value is always the default that is set in the Property Manager.
What sequence do I need to use? Right now #3 is called after InstallInitialize.
(1) Reply
Jun 05, 2011
07:55 AM
I found out that I needed to make my property name all uppercase: DATA_DIRECTORY, so that the value, which is set in the UI sequence, would be available in the exec sequence.