
timstspry asked a question.
InstallScript - Executing SQL Scripts
Hello, I have written an InstallScript project that executes several SQL scripts. The project works fairly well, but I want to hide the SQL Login dialog box and provide the connection and login information to the SQL Server via InstallScript as most if not all of my users are simply going to be confused by the SQL Login dialog. However, it appears that when I do comment out the display of this dialog, the event for OnSQLBatchScripts never gets fired.
Does anyone know if there is a way for me to do what I want to do?
Thanks!
nResult = SQLServerSelectLogin2( szConnection, szServer, szUser, szPassword, bWinLogin, szDB, FALSE, TRUE );
Tim
Tim