Windows Installer Editor Reference
478
Working With Dialogs
See
Adding Prerequisites to a Release
on page 221.
z
The Browse button appears on the SQL Connection dialog box only if SQL Client
Tools (osql.exe) is installed on the destination computer. When the end user clicks
the Browse button, a drop-down list appears with the SQL Servers on their network.
If the Browse button does not appear, the end user must enter the SQL Server
name.
z
This dialog box requires no modification to output a valid connection string to the
property WISE_SQL_CONN_STR. However, if your application connects to more than
one SQL Server during installation, add a SQL Connection dialog box for each
additional server, edit the additional dialog boxes, and use a different property for
each connection string.
See
Editing Additional SQL Connection Dialogs
on page 479.
See also:
Adding the SQL Connection Dialog to an Installation
on page 478
Adding the SQL Connection Dialog to an Installation
The Web Application and Server Application templates contain the SQL Connection
dialog box. For all other installations, you can add the SQL Connection dialog box.
(In the Wise editor) To create a new installation that contains the SQL
Connection dialog box
1. Select File menu > New.
2. In the Categories list, select Predefined Templates.
3. In the Templates/Tools list, select Server Application or Web Application and
click OK.
4. In Setup Editor > Dialogs tab, select SQL Connection Dialog and edit the dialog box
text as needed to communicate its purpose to the end user who installs your
application.
(In the Visual Studio integrated editor) To create a new installation
that contains the SQL Connection dialog box
1. Select File menu > New > File.
2. In the Categories list, select Wise Files.
3. In the Templates list, select Server Application Project or Web Application
Project and click Open.
4. In Setup Editor > Dialogs tab, select SQL Connection Dialog Box and edit the dialog
box text as needed to communicate its purpose to the end user who installs your
application.
To add the SQL Connection dialog box to any installation
1. Select Installation Expert > Dialogs page.
2. Click Add.
The Select Dialog Type dialog box appears.
3. Select SQL Connection Dialog and click Next.