Windows Installer Editor Reference
183
Assembling an Installation
Select Installation Expert > ODBC page.
a. From Current Feature, select a feature or condition. (Because any item you
add must be assigned to a specific feature, you cannot add an item when All
Features is selected.)
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.
b. Click Add at the right of the ODBC page and select Driver, Data Source, or
Translator.
On the Features or Components tab, right-click a feature or component, select
New, and select ODBC Source, ODBC Driver, or ODBC Translator.
The corresponding dialog box appears.
2. Complete the dialog box and click OK. For details, see:
Setting ODBC Data Source Details
on page 183
Setting ODBC Driver Details
on page 184
Setting ODBC Translator Details
on page 184.
The ODBC entry appears. To edit it, double-click its name. To delete it, use the right-
click menu.
Setting ODBC Data Source Details
To set ODBC data source details
1. Access the ODBC Data Source Details dialog box.
See
Adding an ODBC Item
on page 182.
2. Complete the dialog box:
Data Source Name
Enter a name for the data source, or click Import to import data source
information from a saved data source file. If you click Import, the Select Data
Source dialog box appears, which displays a list of ODBC data sources that are
currently registered on your computer.
Driver
Enter the driver name that will be used to access this data source. If you don’t
know the exact spelling of the driver name, click Import to import the data
source.
Register Per Machine, Register Per User
Mark Register Per Machine to give all users on the destination computer
access to the data source, or mark Register Per User to give only the user
who installs the application access to the data source.
Source Attributes
Enter attributes for the data source, one per line, in keyword=value format.
Press Ctrl+Enter to move to the next line.
3. Click OK.