This article provides steps to associate a File Extension to an Application in Windows. Using ‘Associate File Extension – Windows’ action in Install and Post-Install Phase in InstallAnywhere, files can be associated to both Installed Applications , the applications that installer deploys on the target system, and Existing Applications on Windows. New or existing extensions can be associated. Associations will be removed on Uninstall of the associated application.
Discussion
1. Navigate to InstallAnywhere Designer | Sequence | Install | Add Action | General.
Add action 'Associate File Extension - Windows'.
2. Configure Installed File/Existing File in Properties Customizer.
To Associate an Installed Application, configure 'Installed file'. An .exe File or Launcher the installer deploys on the target system should be selected by clicking the 'Choose Application" button . Attached below InstalledFile.png.
To Associate an Existing application that already exists on the target system, enter the path of the .exe file in 'Existing file'. Attached below ExistingFile.png.
3. Configure ‘Extension’ in Properties Customizer.
Enter the extension without a Dot. Extension can be any Alpha-Numeric value supported by Windows. New extensions or existing extensions can be configured.
4. Configure ‘Icon’ in Properties Customizer.
An Icon that the installer deploys on the target system can be associated to the application. Click the ‘Choose Icon’ button to open the ‘Choose a File’ Dialog box and select the Icon. Transparent .ICO file preferably of 256 X 256 pixels size is ideal. This configuration is optional, if Icon is not configured, the Default Icon of the Application will be retained.
5. Configure an existing MIME Type in properties customizer. This configuration is optional.
6. Configure Friendly name in properties customizer.
This configuration is Optional. The default type name will be retained if Friendly name is not specified.
7. Configure Prog ID in properties customizer that should be registered for the File extension.
This configuration is Optional. Prog ID is an arbitrary string. But it should be Unique on the target System.
8. Click on Verbs button to configure the below for the extension. Configuring verbs is optional.
Command Sequence - Specify an order for the Verbs shown in Right click menu.
Verb - Verb to be shown in Right click menu
Display Name - Display name for the Verb
Argument - Command line argument for the verb
Use %1 in the argument in place of the selected filename.
For Example, -p %1.
9. Build an Installer for Windows target and install.
10. The Associated file extensions will be opened with the configured application. File Association keys will be created in windows registry under HKEY_CLASSES_ROOT.
Additional Information
The Action for setting File Associations, ‘Associate File Extension - Windows’ , is available only in InstallAnywhere 2021 and later versions .
Related Articles
Creating a File Association 3Number of Views Creating File Extension Association with Express 3Number of Views Create a Windows Registry Entry with Type REG_NONE for Windows File Type Association 6Number of Views Create local file evidence in Flexera One ITAM or FlexNet Manager Suite 53Number of Views Create your Flexera One password 41Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago