cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tcom36
Level 7

Which SQL client does IS use to run sql scripts in SQLExpress

Does anyone know which SQL Client/Command InstallShield uses to execute an SQL script in case of an SQLExpress engine?

I have a script running fine in sqlcmd, but when it is called during installation, it reports syntax errors. Changing the script and rebuilding the setup.exe is quite time consuming, so an alternative would be welcome.
Labels (1)
0 Kudos
(3) Replies
hidenori
Level 17

Would it be possible for you to email me your SQL script at hidenoriy@macrovision.com? I will look into it to see what's causing the problem.
0 Kudos
tcom36
Level 7

I found the problem.

I was using the text replacement feature for the SQL scripts to replace some strings with properties. Some of these properties where however not set during a repair or update installation.
0 Kudos
Vyskol
Level 2

I am having a similar problem, except that mine is erroring on an "ENABLE TRIGGER" command....
0 Kudos