Summary
Files that usually need to be registered on the system must be configured to extract the COM information in InstallShield.Synopsis
Files that usually need to be registered on the system must be configured to extract the COM information in InstallShield. Typically, this is done by calling into regsvr32.exe through a command prompt outside of InstallShield. In InstallShield, however, there are a few options to extract the COM information so that they can be regsitered at install time.Discussion
In InstallShield, there are mainly three ways to configure the project to register the COM files at install time:- Extracting COM for the key file. This option allows you to extract the COM information into the project either when the file is added or at anytime after as long as the file is the key file of the component. Because Windows Installer best practice requires any sort of .dll, .ocx, .exe, etc files to be the key file of their respective component, a project that follows this guideline will be able to make use of this option. There are two main ways to achieve this behavior, either by using the Component Wizard to add the COM files or if the file is already added to the project, one can right click the file either through the Files and Folders view or the Components' Files view and choose the Extract COM Data For Key File option. This will immediately add the COM information through the project and populate the appropriate Windows Installer tables.
- Extracting COM at build time. The second option allows you to extract the COM information for the components during the build process. This option is often used if the COM server information changes frequently between each build. Just like the first option, the file in question needs to be the key file of the component. To use this option, simply set the component's COM Extract at Build setting to Yes in the Components view.
- Self Registration. This option allows the file in question to be registered at install time using the SelfReg table. This method is strongly discouraged by Microsoft as it does not use many of Windows Installer's registration features and have a number of caveats and restrictions in terms of what can be registered. This option should be considered as a last resort should you have issues using one of the other methods available for registering COM. This is accessed through InstallShield by right clicking the file in InstallShield, choosing Properties, and checking the Self Register checkbox.
Additional Information
For more information regarding extracting COM information, please refer to the HelpNet article Extracting COM Information from a COM Server.For more information regarding Self Registration and why it is not recommended, please see the Microsoft article Windows Installer Best Practices.
Was this helpful?
Related Articles
Registering Windows Script Components (.wsc) Files in InstallShield 3Number of Views What is a self-registering file? 3Number of Views Installing Fonts Without Registering Them in the Registry 11Number of Views FlexNet Manager Suite log files and locations 190Number of Views How Do I Manually Register a File? 7Number of Views
Revenera Assistant
Online
Hi, I am Reva - Ask me anything.
Updates
No new updates
Chat
Home
Updates
/**/
Thanks for the feedback!
Your feedback has been saved.Rate this response:
1
2
3
4
5
Add Additional feedback ( Optional )
0/240
English
English
Language changed successfully
Something went wrong
Email sent successfully
Something went wrong
Case create successfully
Are you sure you want to cancel
the case creation?
Please select a product to submit the case.
Please select a product version to submit the case.
0/255
Upload Attachment
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
Are you sure you want to cancel the case creation?
Case closed successfully
File Upload
Maximum file size allowed is 3 MB.
File type not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
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. | |
File Upload
Maximum file
size allowed is 3 MB.
File type
not supported.
Supported file types:
Documents (.txt, .doc, .docx, .pdf), Images (.jpg, .png), Comma Separated Files
(.csv) Speadsheets (.xlsx, .xls)
© 2026 Flexera Software. All Rights Reserved.
Case id: 00001065
Activity: Status change: 2 hours ago