Runtime Tab
InstallShield 2024 » SQL Scripts View » SQL Connection » SQL Script
Project:
• | Basic MSI |
• | DIM |
• | InstallScript |
• | InstallScript MSI |
You can configure the following settings on the Runtime tab for a SQL script in the SQL Scripts view.
Setting |
Project Type |
Description |
|||||||||
Script Execution |
Basic MSI, DIM, InstallScript, InstallScript MSI |
To indicate when you want the installation to execute a SQL script, select the appropriate check box. Available options are:
In Basic MSI, DIM, and InstallScript MSI projects, the ISSQLServerInstall action is associated with this option. In InstallScript projects, the InstallScript function SQLRTComponentInstall is associated with this option.
In Basic MSI, DIM, and InstallScript MSI projects, the ISSQLServerUninstall action is associated with this option. In InstallScript projects, the InstallScript function SQLRTComponentUninstall is associated with this option. |
|||||||||
Script Execution (cont.) |
|
In Basic MSI, DIM, and InstallScript MSI projects, the ISSQLServerRollback action is associated with this option.
Also note that the script is executed after credentials and requirements are verified and before a connection has been made to the catalog. Therefore, any schema version requirements that you set for the script during installation design will not have taken place at run time. In Basic MSI, and DIM projects, the ISSQLServerValidate action is associated with this option. In InstallScript MSI projects, the InstallScript function SQLRTServerValidate is associated with this option. In InstallScript projects, the InstallScript function SQLRTConnect is associated with this option. |
|||||||||
Script Error Handling |
Basic MSI, DIM, InstallScript, InstallScript MSI |
Specify how you want SQL script errors to be handled at run time. Available options are:
|
|||||||||
Script Condition |
Basic MSI, DIM, InstallScript MSI |
If you want to specify a condition that Windows Installer must evaluate before the SQL script is run during installation or uninstallation, select the check box and type the conditional statement in the text box. The SQL script is not run if the condition evaluates to false. As an alternative to manually entering a statement, you can click the ellipsis button (...) to launch the Condition Builder dialog box, which simplifies the process of creating a condition. |
See Also