Tips For Using The Sql Server Scripts Page - Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Table of Contents

Advertisement

Tips for Using the SQL Server Scripts Page

Windows Installer Editor Reference
Items that you add to a feature are installed on the destination computer only if the
feature is installed. Items that you add to a condition are installed only if the feature
is installed and the condition is true.
3.
Click Add at the right side of the page.
The SQL Script Details dialog box appears.
4.
Click the Connection tab and specify a name for the SQL script and a connection
string that connects to the database the installation modifies.
See
Setting SQL Connection Strings
5.
Click the Statements tab and specify SQL statements to be executed on the
destination computer.
See
Specifying SQL Statements
6.
Click the Replacement tab and specify text strings to be found and replaced within
the SQL statements at install time.
See
Specifying Replacements in SQL Statements
7.
Click OK on the SQL Script Details dialog box.
The script is added to the list on the SQL Server Scripts page.
8.
The SQL scripts are executed in the order they appear on the SQL Server Scripts
page. To rearrange the order, select a statement name and click Move Up or Move
Down.
For information on setting the required SQL Server version, see
on the System Requirements Page
Add the SQL Connection dialog box to an installation to create a valid connection
string for a SQL Server located anywhere on the network of the destination
computer.
See
About the SQL Connection Dialog
Uninstall won't roll back the changes performed by the SQL statements.
Databases are connected to and configured through the ODBC driver on the
destination computer.
The SQL scripts you specify are saved to a file with the same name as the script
name you specify, with the extension .SQL The file is added to the installation. This
file appears on the Files page under a Temp directory. During installation, this file is
installed, its statements are executed, and then it is deleted. Do not remove this file
from the installation.
The SQL Server Scripts page does not provide error checking for valid SQL syntax or
debugging for failed statements. Make sure the SQL code you enter is well-tested
before deployment. If errors occur during installation, the end user will see SQL
error messages.
Note
These tips assume familiarity with SQL Server statement syntax and debugging.
Technical Support does not provide assistance with debugging SQL statements.
on page 240.
on page 240.
on page 242.
on page 170.
on page 417.
Advanced Installations
Setting a Requirement
239

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents