We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

JuriLoosme
Posts: 5
Joined: Fri Feb 06, 2015 3:15 pm

Optional Registry value due to user selection

Hi, Today I have three more or less identical installation packages. The only thing that is different is actually a value in a registry key.
The key is identical but the value is either SVE, ENU or FIN.
Now, how can I achieve that by letting the user select the language code to be written to the registry?

Regards
/Juri
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Optional Registry value due to user selection

Hi Juri,

To give the user the option to select between the related values (SVE, ENU or FIN) you can use a Combo box control.
The property attached to the control contains the selected option.

You can use this property to set in the registry the option selected by the user. Please take a look on the Add registry keys and values to your package article with related information for hints and guidance.

The sample project is attached to this thread, so if you are interested to take a look directly at my project, you are more than welcome to download the ZIP file.

Let me know if that helped.

Best regards,
Dan
Attachments
Sample project.zip
(2.63 KiB) Downloaded 223 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JuriLoosme
Posts: 5
Joined: Fri Feb 06, 2015 3:15 pm

Re: Optional Registry value due to user selection

Hi,
Yes I tried this.
Works perfect in combination with the answer I got concerning the condition on the Next button.

Thanks!
/J
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Optional Registry value due to user selection

You're welcome Juri,

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”