Extracting COM Data When Files Are Added

InstallShield 2018

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module

When you drag and drop new files in the Files and Folders view or in the Files subview under a component, you can statically extract COM data for self-registering files. This is an alternative to extracting COM registration data at build time.

This option is also available in the COM Registration node under Advanced Settings in the Components view.

Extracting a File’s COM Data

To extract COM data on demand, rather than at build time:

Right-click the file (or in the COM Registration node, right-click COM Registration) and click Extract COM Data for Key File.

Note • This option is enabled only if the file is an .exe file or a file that is self-registering, and if the file is the component’s key file.

Tip • If you are using InstallShield on a 64-bit system, InstallShield can extract COM data from a 64-bit COM server. In order to install the data to the correct locations, the component must be marked as 64 bit. To learn more about 64-bit support, see Targeting 64-Bit Operating Systems.

Refreshing a File’s COM Data

If the file’s COM data has already been statically extracted, you can select Refresh COM Data for Key File. When you refresh the COM data, the old COM data is deleted from the project, then the current COM data for the file is added to the project.