cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
timhodgson
Level 3

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.
Labels (1)
0 Kudos
(1) Reply
timhodgson
Level 3

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.
0 Kudos