Associate File Extension - macOS
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:
|
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:
|
||||||||||||
|
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:
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. |