cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
geo1st487
Level 5

Store in registry dynamically

I want to make an installation program which have DialogBox with three TextBox (Lessons, Answers, Questions). In textbox the user must choose the location in hard disk which install the files of Lessons, Answers and Questions. After must store in registry the roots which choose user.
How do that?
Thanks
Labels (1)
0 Kudos
(3) Replies
RobertDickau
Flexera Alumni

Assuming your dialog box edit fields will populate properties such as LESSONS_LOCATION, you can use the format [LESSONS_LOCATION] in the InstallShield registry views to write the property values at run time.
0 Kudos
geo1st487
Level 5

RobertDickau wrote:
Assuming your dialog box edit fields will populate properties such as LESSONS_LOCATION, you can use the format [LESSONS_LOCATION] in the InstallShield registry views to write the property values at run time.


In InstalShield registry views I have a Value name LessonFolder without Value data. After must type into Value data field of registry views the [LESSONS_LOCATION]? At run time the value data sets the value of [LESSONS_LOCATION]?
0 Kudos
RobertDickau
Flexera Alumni

Correct: for an MSI project, if your edit field populates a LESSONS_LOCATION property, you can put [LESSONS_LOCATION] in your registry value and it will be expanded to the value at run time.
0 Kudos