shahari
Posts: 3
Joined: Wed Dec 19, 2007 5:13 pm

setting registry key through dialog

I need the user to enter a server name and a port through a dialog
and when the user press the next button (before the install sequence) i need these values to be saved locally in the registry.

How do I do it ?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This can be done by using a custom dialog with edit boxes. The properties of these edit boxes (the ones specified in the "Property Name" field of the edit box "Properties" page) will be used in the "Data" section of the "Edit Registry Entry" dialog (when you create a new registry value).

This way, when the user enters information in an edit box, the information is stored in its property. Since the "Data" section will contain the property of the edit box, the value of this property will be written in that registry value during the install.

You can read more about this here:
http://www.advancedinstaller.com/user-g ... ialog.html
http://www.advancedinstaller.com/user-g ... ditor.html
http://www.advancedinstaller.com/user-guide/editor.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
solarstar
Posts: 7
Joined: Mon Mar 19, 2007 2:19 pm
Location: Deathstar

Re: setting registry key through dialog

It would be nice if in these wonderful examples and in the user guide, if it would state if you need enterprise or professional. :x
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: setting registry key through dialog

Hi,

We will consider adding this improvement in a future version of Advanced Installer. Thank you for your suggestion.
A solution would be to use the feature matrix to check which license type supports the feature you need.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”