EricNguyen
Posts: 21
Joined: Sat Feb 17, 2007 1:58 am

Run SQL script on demand???

Hi,

Can I run SQL scripts based on user's input? E.g. if user select radio button 1 then I will execute script1.sql when they hit Next; if they select radio 2 then I will execute script2.sql....
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Yes, you can specify a condition for the SQL script. This can be done in the "SQL Script" page:
http://www.advancedinstaller.com/user-g ... cript.html

Here it is a condition example: RADIO_PROP = 1 (RADIO_PROP is the property of the "RadioButtonGroup" and 1 is the value of the selected radio button).

Let me know if you encounter any problems.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
EricNguyen
Posts: 21
Joined: Sat Feb 17, 2007 1:58 am

I think that'll work.
Thanks

Return to “Common Problems”