This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
How To Run a SQLScript from Multiple SQLScript
Started by
sanjoygr
, Jul 12 2006 12:54
5 replies to this topic
Posted 12 July 2006 - 12:54
Basic MSI project created using Install Shield Version 11.0
Created a single SQLConnection1, provided the requirements.
Now added a few SQLScript1, SQLScript2,SQLScript3.
I want to put condition which will allow only one SQLScript to run out of the bunch of SQLScripts file.
Please let me know how to accomplish it. At least give some hints.
Thanks
Sanjoy
Created a single SQLConnection1, provided the requirements.
Now added a few SQLScript1, SQLScript2,SQLScript3.
I want to put condition which will allow only one SQLScript to run out of the bunch of SQLScripts file.
Please let me know how to accomplish it. At least give some hints.
Thanks
Sanjoy
Posted 13 July 2006 - 13:42
Have you tried the Condition field in the SQL Script settings?
Stefan Krüger
InstallSite.org twitter facebook
Posted 14 July 2006 - 13:36
Thanks Stefan,
I think the problem can be solved using condition filed in SQL script.
However it would be better if I could put condition in my install shiled basic msi based on which could have called different SQL scripts as per requirement.
Thanks
Sanjoy
I think the problem can be solved using condition filed in SQL script.
However it would be better if I could put condition in my install shiled basic msi based on which could have called different SQL scripts as per requirement.
Thanks
Sanjoy
Posted 17 July 2006 - 19:56
I guess I don't understand what you're trying to do.
You can have multiple SQL script and select which one to execute using these conditions.
You can have multiple SQL script and select which one to execute using these conditions.
Stefan Krüger
InstallSite.org twitter facebook
Posted 18 July 2006 - 06:44
Yes Stefan,
I am having multiple sql script and select one of them to execute depending upon some condition like 1st time installation or updation.
I thought of following way to do so.
However I do not know If I am correct.
1. Create two property using property manager
eg optScriptUpdate and optScriptNew both initialize to 0.
2. Put a RadioButton Group in SQLLogin Dialog
3.Depending upon which Option the user selects, the particular script will be executed depending upon "Specify condition statement" example optScriptUpdate=1
Thanks
Sanjoy
I am having multiple sql script and select one of them to execute depending upon some condition like 1st time installation or updation.
I thought of following way to do so.
However I do not know If I am correct.
1. Create two property using property manager
eg optScriptUpdate and optScriptNew both initialize to 0.
2. Put a RadioButton Group in SQLLogin Dialog
3.Depending upon which Option the user selects, the particular script will be executed depending upon "Specify condition statement" example optScriptUpdate=1
Thanks
Sanjoy
Posted 18 July 2006 - 06:58
Yes, that should work.
Stefan Krüger
InstallSite.org twitter facebook