/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (3)

Posted by: bkelly 20 years ago
Red Belt
0
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!
Posted by: craig16229 20 years ago
Third Degree Brown Belt
0
Thanks a million for the quick and thorough response.


craig --<>.
Posted by: bkelly 20 years ago
Red Belt
0
No problem- I'm always happy to help out those who help others, and I've seen you helping several people here in the forums. Thank you!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ