This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Knowledge Base
- :
- How Do I Associate File Types with My Program?
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
How Do I Associate File Types with My Program?
How Do I Associate File Types with My Program?
Summary
Associating File types with a programQuestion
How do I associate file types with my program?
Answer
If your program creates or relies upon custom file types, you can associate those file types with your program on the target machine. File types can be set up in the File Types advanced setting. To create a file association, do the following:
- Navigate to the Components view and expand the component for which you would like to create the file type.
- Expand the Advanced Settings folder and select the COM Registration node.
- Right-click the COM Classes folder and select New COM Class.
- Right-click the ProgID folder and select New ProgID.
- Select the File Types node within the Advanced Settings folder.
- Right-click the Extensions folder and select New Extension.
- Rename this extension to the actual extension of the file type, without the dot. For example, you should enter htm for HTML files.
- Click the progID property in the property sheet to the right and select the progID that you would like to associate this file type with.
No ratings