Windows Installer Editor Reference
429
Working With Dialogs
6. Use the new property for the connection string in the SQL script that executes the
connection with the additional SQL Server.
See
Setting SQL Connection Strings
on page 259.
Example: Use the WISE_SQL_CONN_STR1 property for the connection string.
See also:
About the SQL Connection Dialog
on page 426
Adding the Custom Property Dialog
The Custom Property dialog box lets you specify Windows Installer properties that can
be set by the end user during installation. You might use this if there are environment-
dependent values that you cannot predict, which must be provided by the end user, such
as user names and passwords. You can use this dialog box to gather property values to
replace in an XML file.
See
Editing XML Files During Installation
on page 131.
This dialog box does not appear in any installation by default, and must be added
through the New Dialog Wizard.
Warning
Do not add more than one Custom Property dialog box to a single installation; only one
per installation is supported. If an installation contains multiple Custom Property dialog
boxes, then multiple, identical dialog boxes appear to the end user at run time.
To add the Custom Property dialog box
1. Select Installation Expert > Dialogs page.
2. Click Add.
The New Dialog Wizard appears.
See
Creating a New Dialog
on page 410.
3. On the Select Dialog Type page, select Custom Property Dialog and click Next.
4. Leave the defaults on the Dialog Properties page and click Next.
The Select Custom Properties page appears, where you can either choose existing
Windows Installer properties or create new properties.
5. Complete the page:
Existing Properties
To add an existing property, select it from this list and click Add. To create a new
property, select <New Property> from this list, and define the new property.
See
Creating a New Property
on page 397.
From:
To:
WiseSqlServerName|WiseSqlAuth|WiseSqlUser|WiseSq
lPass|WISE_SQL_CONN_STR
WiseSqlServerName1|WiseSqlAuth1|WiseSqlUser1|Wis
eSqlPass1|WISE_SQL_CONN_STR1