File Extension Settings
InstallShield 2020 Express Edition
File extension settings enable you to specify detailed information about the associated file type. To access these settings, open the File Extensions view, and in the File Extensions explorer, select the file extension that you want to edit.
Each file extension setting is described below:
Setting |
Description |
|||||||||
Feature |
Select the feature that you want this file type association to be a part of. If the selected feature is installed, the file type association will be made. |
|||||||||
File |
Select from the list the executable file for which you are creating a file extension association. If you have not yet added the necessary file to your installation project, it is not displayed in the list. Important:It is not possible to create a file extension association for a dynamically linked file. If you want to configure an association, the file must be included in your project statically. |
|||||||||
Command |
Enter the text that you want displayed on the context menu for the Open verb. If you leave this setting blank, the word Open appears as the first command on the context menu for this type of file. If you prefer it to contain the text Edit with MyProduct, enter &Edit with MyProduct in this setting. |
|||||||||
Arguments |
Enter any command-line arguments that you want to pass to your product when a file of this type is opened. You can use %1 in your argument to pass the currently selected file name as part of the argument. For example, -p %1 might be resolved to -p C:\MyFile.ext. |
|||||||||
ProgID |
Enter the progID of the product with which you are associating the file extension. |
|||||||||
ProgID Description |
This description is registered as the default value for the ProgID in the target system’s registry. |
|||||||||
Icon |
To specify the icon that you want to use for files of this type, use the following settings:
InstallShield lists the icon path and index in this setting if you do either of the following: you select a file by browsing for it, or you manually enter a path and file name in the Icon File setting.
A nonnegative integer refers to the order of the icon resources in the executable file. For example, 0 refers to the first icon in the file, 1 refers to the second icon, and 2 refers to the third icon. Use a negative number to refer to a specific resource ID. For example, the icon index -12 points to the icon with a resource ID of 12. |
See Also