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”