- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Retrieve value from registry and set on a combobox in a Dialog
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Retrieve value from registry and set on a combobox in a Dialog
Hello, we have a Basic MSI project in which we have created a custom windows with a selector that show to the user a combobox with some options
The default value in the selector is defined in the Property Manager
READINFORMATIONFROM -> CD
In the first installation, the user will set this comboBox with a value from a list READINFORMATIONFROM such as CD/HDD/USB/NETWORK
When selected value is set and the installation process start, we use a InstallScript method that store the selected option on a windows register key
My question is: How can I retrieve the previous selected value of the user stored in the regedit in another future installation and show the same "dialog" with the selected option read from the same registry key if exists?
I have made another installScript method to read the value from the registry, this is not my problem, but I do not know how to perform the relation between the Dialogs combobox and the property linked from the registry value to set it from registry if exits or show the ordinary list if not.
Thanks
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)