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!

indrekm
Posts: 4
Joined: Fri Oct 26, 2007 10:53 am

Run script if checkbox is checked

How can do such feature:
Run script if checkbox is checked.

I have made new dialog.
There is checkbox.
I have set value 1 and default Value 1. It mean by default it is checked.

How can I bind this checkbox with script? (SQL sript is done in task SQL scipts.)
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

In order to run the script conditionally you can use the property of the checkbox. For example: if the checkbox has the property CHECK then, in the "SQL Scripts" page, for your script you set the "Script Condition" field to:

Code: Select all

CHECK="1"
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”