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!

ipollock
Posts: 137
Joined: Wed Aug 31, 2016 10:46 am

Remembering GroupBox check selection in Registry

Is it possible:
During install, the user chooses option 1 of two options. The options are presented as two check boxes within a group box.
The selection is written into a web.config file which enables one or other option when the application is running.

1. Can i write this value into the Registry so that it can be read and later on if a reinstall or upgrade takes place?
2. Will it override the default check box setting within the group box?
3. How would i implement this (happy to create a test install for this purpose - or if you could point me to an example)

Best regards, Ian
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Remembering GroupBox check selection in Registry

Hi Ian,
1. Can i write this value into the Registry so that it can be read and later on if a reinstall or upgrade takes place?
Yes, you can achieve this by checking the "Set persistent property" option for the properties related to the check boxes.
2. Will it override the default check box setting within the group box?
Yes, it will override the default state of the check boxes.
3. How would i implement this (happy to create a test install for this purpose - or if you could point me to an example)
Please take a look on the "XML Attribute - Select checkbox" which debates a similar scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”