File Associations Page

You can associate a file extension with an application from your package so that the selected program can perform certain operations (verbs) on the files with the specified extension. You can create file associations in this page. First, a ProgID is defined, which can have any number of extensions associated and each extension can define any number of verbs.

ImportantThe information presented in this article can be applied in a similar fashion to File Associations Page from Merge Module Project.

The left-side pane contains a tree with all the ProgIDs you defined on the first level. Under each ProgID you will see all the associated extensions containing all the verbs defined for it. In the right-side pane will appear the properties of a ProgID, extension or verb, depending on your selection in the left-side pane.

File associations

Creating a new file association using a wizard

New File Association WizardUse the [ New File Association Wizard ] toolbar button, to quickly and easily set up a new file association, following step-by-step directions.

Creating new ProgIDs

New ProgIDUse the [ New ProgID ] toolbar button, the “New ProgID” tree context menu item or press the * key while the “ProgID, Extensions and Verbs” panel is focused. This action will create a ProgID that can be associated with either an extension or a COM in the COM page. This field is of PseudoFormatted Type.

ImportantA ProgID will not be created at install time unless it is associated with an extension or a COM.

Caution!Only one extension should be associated with each ProgID.

Creating new extensions

New Extension Use the [ New Extension ] toolbar button, the “New Extension” tree context menu item or press the Insert key while the “ProgID, Extensions and Verbs” panel is focused. This action will also create a ProgID and an extension with default properties. To create an extension under an existing ProgID make sure the ProgID (or one of its children) is selected before doing a [ New Extension ].

Creating new verbs

New Verb Use the [ New Verb ] toolbar button, the “New Verb” tree context menu item or press the + key while the “ProgID, Extensions and Verbs” panel is focused. This action will create a verb with default properties for the selected extension.

Creating new default programs

Default ProgramsUse the [ New Default Program ] toolbar button, the “New Default Program” tree context menu item or press the - key while the “ProgID, Extensions, Verbs and Default Programs” panel is focused. This action will create a default program with default properties for the selected extension.

Creating new shell context menu

New Context MenuUse the [ New Shell Context Menu ] toolbar button, the “New Shell Context Menu” tree context menu item. Then select which type of context menu you want to create : Files Context Menu, Directory Context Menu, Background Context Menu, Drive Context Menu or a subentry for the currently selected shell context menu.

Caution!The Drive Context Menu option is not supported by the new Windows 11 Context Menu.

Renaming ProgIDs, extensions,verbs, default programs and context menus

Use the “Rename” tree context menu item or press the F2 key while an element from the left-side panel is selected.

Locating the attached component for an extension

Use the “Go To Component” tree context menu item or press the F8 key while an element from the “ProgID, Extensions and Verbs” panel is selected. This command will activate the Organization page with the appropriate component selected in the left tree control.

Removing ProgIDs, extensions, verbs, default programs and context menus

Remove Use the [ Delete ] toolbar button, the “Delete” tree context menu item or press the Delete key while an element from the “ProgID, Extensions and Verbs” panel is selected.

Topics