AddSQLScript Method

InstallShield 2016

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI

Call the AddSQLScript method to add a new script file to a SQL connection.

Note • The AddSQLScript method generates the ISSQLScriptFile table key with a name such as SQLScript1, SQLScript2, or SQLScript3. If you have multiple SQL script files in your project, it may be difficult to distinguish one from the other with this naming convention. Therefore, if you want to be able to specify the key, use the AddSQLScriptEx method.

Syntax

Function AddSQLScript() As ISWiSQLScript

Return Values

This method returns an ISWiSQLScript object.

Applies To

ISWiSQLConnection