Adding File Associations - Symantec WINDOWS INSTALLER EDITOR 8.0 Reference

Hide thumbs Also See for WINDOWS INSTALLER EDITOR 8.0:
Table of Contents

Advertisement

Adding File Associations

Windows Installer Editor Reference
Replacement
Specify how to handle an existing value for the variable.
Windows NT based system environment variable
Mark this if this is a NT based system environment variable.
3.
Click OK.
The environment variable is added. To edit it, double-click its name. To delete it, use the
right-click menu.
Use the File Associations page to associate file extensions with executables to determine
which application to start when the end user double-clicks a file with a certain extension.
You can associate file extensions with any executable file in an installation. File
associations are a type of advertising and are stored in the registry.
To add a file association
1.
Do one of the following:
Select Installation Expert > File Associations 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 page and select New.
In Setup Editor, on the Components or Features tab, right-click a component or
feature and select New > File Association.
The File Association Details dialog box appears.
2.
On the Extension Details tab, select the executable to use for the extension, type an
extension, and enter the program ID for the executable.
See
Determining Extension Settings
3.
(Optional.) On the Command Verbs tab, click Add, and on the Verb Details dialog
box that appears, set the actions that will be available when the end user right-
clicks an executable with this extension in Windows Explorer.
See
Adding Command Verbs
4.
(Optional.) On the MIME Types tab, mark Show All and mark check boxes to select
the MIME types to associate with this extension.
See
Selecting MIME Types
5.
Click OK.
The file association appears. To edit it, double-click its name. To delete it, use the right-
click menu.
In Setup Editor, a new branch of folders is created under the Advertising icon to show
the application folder, the Extensions folder, and the ProgId folder.
on page 155.
on page 156.
on page 156.
Assembling an Installation
154

Advertisement

Table of Contents
loading

Table of Contents