This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to trap SQL script error in silent installation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Feb 28, 2008
05:28 AM
How to trap SQL script error in silent installation
Hi All,
I have a test.cmd file which is being executed by LaunchAppand Wait as follows
LaunchAppAndWait(SUPPORTDIR^"test.cmd","",LAAW_OPTION_HIDDEN);
The test.cmd file executes a sql script test.sql
sqlcmd.exe -i test.sql -S (local)\sqlexpress
I am able to install SQL express 2005 edition with silent option but am not sure whether my script executes and creates a database.The only way to check is to open SQL management studio and verify.
Is there any way to trap error or put in log files.
I am using installscript project and Installshield Professional 2008
I have a test.cmd file which is being executed by LaunchAppand Wait as follows
LaunchAppAndWait(SUPPORTDIR^"test.cmd","",LAAW_OPTION_HIDDEN);
The test.cmd file executes a sql script test.sql
sqlcmd.exe -i test.sql -S (local)\sqlexpress
I am able to install SQL express 2005 edition with silent option but am not sure whether my script executes and creates a database.The only way to check is to open SQL management studio and verify.
Is there any way to trap error or put in log files.
I am using installscript project and Installshield Professional 2008
(1) Reply