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!

drsp
Posts: 1
Joined: Wed Nov 22, 2006 5:05 pm

Writing to registry if checkbox is checked

How to write something down to registry if a custom checkbox in a custom dialog is checked - in another words, how to connect some custom action with writing to registry?

thanks!!!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

When you add a registry value in the "Registry" view a new component is created in the "Organization" page. You can condition this component to be installed or not.

As a condition use the property of the checkbox created in the "Dialogs" page like this:

Code: Select all

MY_PROP = 1
Where "MY_PROP" is the property of the check box and "1" its value. You can modify those values in the check box "Properties" list.

Also this link may be helpful:
http://www.advancedinstaller.com/forums ... t=checkbox

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”