Windows Installer Editor Reference
155
Assembling an Installation
To import a file association
1. Select Installation Expert > File Associations page.
2. 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.)
3. Click Add at the right of the File Associations page and select Import.
The Import File Association dialog box appears.
4. Click Browse to select the executable to use for the extension. You can only select
executables that you have already added to the installation.
5. From Extension, select the extension to use. This list shows all available extensions
on your computer.
6. Click OK.
All relevant information for the extension you select is imported into the Extension
Details, Command Verbs, and MIME Types tabs. To edit those tabs, double-click the file
association name.
See also:
Advertising Icon
on page 370
Determining Extension Settings
Use the Extension Details tab to determine file association settings.
To determine file association settings
1. Click the Extension Details tab on the File Associations Details dialog box.
See
Adding File Associations
on page 154.
2. Complete the dialog box:
Executable File
Specify the executable to use for the extension. You can only select an
executable that is in the installation.
Extension
Enter an extension. Do not include the period.
ProgID
Enter or select the program ID for the executable. This list contains the ProgIDs
defined in this installation and the ProgIDs detected for the executable you
specified above.
Description
Enter the type of file. The end user sees this description on the Properties dialog
box for files of this type.
Icon
Click Change Icon and specify an icon. This icon will be displayed on files of this
type on the destination computer.