how to build package that prompts for reg key values
I am capturing an installation with Wise Package Studio 5 and converting it into .msi. There are three new reg keys that are part of the package. Does anyone know how to prompt the user during installation to enter values for those keys?
Thanks in advance,
craig --<>.
Thanks in advance,
craig --<>.
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
bkelly
20 years ago
If you are not familiar with working with dialogs, the easiest way would be to change one of the provided dialogs in the Dialog Editor. For example, in the User Information Dialog you can double click "Full Name" and see that the property assigned to it is "USERNAME". There are plenty of other options to play with but this should get you started, change the label to your first question and create a new property to assign the value to (such as ANSWERONE).
Once you have the value you want in a property, adding it to the registry is as simple as creating the key and value name (just as you normally would) and for the data value enter the property name surrounded by brackets:
Root: HKEY_CURRENT_USER
Key: Software\MyInformation
Value Name: Question1
Data Value: [ANSWERONE]
Hope this helps!
Once you have the value you want in a property, adding it to the registry is as simple as creating the key and value name (just as you normally would) and for the data value enter the property name surrounded by brackets:
Root: HKEY_CURRENT_USER
Key: Software\MyInformation
Value Name: Question1
Data Value: [ANSWERONE]
Hope this helps!
Posted by:
craig16229
20 years ago
Posted by:
bkelly
20 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.