Associate File Extension - macOS

InstallAnywhere 2026 R2

You can use the Associate File Extension - macOS action to establish a relationship between a custom file extension and an application—installed by an installer on the macOS target system—that can handle files of the specified document type. The Associate File Extension - macOS action is available in the Install and Post-Install sequences.

Properties Tab

The Properties tab of the Associate File Extension - macOS customizer includes the following fields:

Associate File Extension - macOS Customizer | Properties Tab

Field

Description

Installed file

Specify the installed application file that you want to associate with the file extension. Click Choose Application to open the Choose a file dialog box, and then select the application that the installer deploys on the macOS target system. The launcher must be selected.

This field is mandatory.

Extension

Specify the file extension that you want to associate with the installed application. Enter the extension without the preceding period (.).

The extension can be any alpha-numeric value supported by the macOS platform. For example, to associate .iatx files with an installed application, enter iatx.

This field is mandatory.

Note:Only the application-specific custom file extensions must be used for file associations.

Document Type Name

Specify a descriptive name for the document type associated with the file extension. For example, if the specified file extension is associated with the plain-text content, you can specify Text Document as the document type name. This field is optional.

MIME Type

Specify the MIME type for the document type—associated with the file extension. A MIME type identifies the format and type of content contained in the document. For example, specify text/plain for a plain-text content document. This field is optional.

Role

Select one of the following drop-down options to specify how the installed application handles files of the specified document type:

• Editor—Indicates that the installed application can open and edit files of the specified document type.
• Viewer—Indicates that the installed application can open and view files of the specified document type.
• Shell—Indicates that the installed application handles files of the specified document type as a shell.
• None—Indicates that no specific role is assigned to the installed application for the specified document type files.

Handler Rank

Select one of the following drop-down options to specify the relative ranking of the installed application for handling files of the associated document type:

• Owner—Indicates that the installed application is the primary creator of files of the specified document type.
• Default—Indicates that the installed application is a preferred application for opening files of the specified document type.
• Alternate—Indicates that the installed application is an alternate application for opening files of the specified document type.
• None—Indicates that the installed application is not presented as an application for opening files of the specified document type, but can accept files of same document type when they are dropped onto the application.

Note: The configured Handler Rank field corresponds to the macOS LSHandlerRank property.

Rules, Tags, and Rollback Tabs

For information on the other tabs on this customizer, see the following:

• Rules—Use this tab to add rules to the selected action. For more information, see Assigning a Rule to an Action and Rules Reference.
• Tags—Use this tab to add build configuration tags to the selected action. For more information, see Assigning Tags to Project Elements.
• Rollback—Use this tab to specify rollback behavior for the selected action. For more information, see Configuring Installation Rollback Behavior.