COM Server File Panel

InstallShield 2020 » Component Wizard » COM Server

Project:This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database

The COM Server File panel is where you identify basic information about your COM server’s executable file.

COM Server File Panel Settings

Setting

Description

COM Server File

Enter the path and file name of your COM server (.exe, .dll, or .ocx) file, or click the Browse button to navigate to the file.

You can specify only one portable executable file per component according to Setup Best Practices. Launch the wizard again to install additional COM servers, or create the components using the Component Wizard’s Best Practices option.

Extract registration information

Select this check box to have the wizard scan your file to extract all of the file’s registration information. If the extraction is successful, the next panel displayed is the Summary confirmation dialog.

Project:If you are working on a Basic MSI, InstallScript MSI, or Merge Module project, an alternative to extracting the COM information through the wizard and maintaining it in the COM Registration advanced setting is to have the data dynamically extracted at build time. If you are working in Direct Edit Mode, COM information cannot be extracted at build time; it is extracted at design time.

If you do not select this check box or if the wizard cannot read the file’s registration, the Classes panel is displayed next.

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.

This file also runs as a service

This check box is enabled only if your COM server is an .exe file. If you select this option, the wizard displays panels that enable you to specify installation parameters for services.

If you select this check box and specify the service information, InstallShield enters the information in the Services area under the Advanced Settings node of your component in the Components view. You do not have to launch the wizard again to create a service component for this COM server.

Custom EXE Command Line

This check box is enabled only if your COM server is an .exe file. Once it is enabled, you can enter a command line argument. The command line argument overrides the default /regserver command line to an .exe file.

If you select the service option and specify parameters in the Custom EXE Command Line box, /service is passed as the command line. By default, the /service command line does everything that the /regserver command line does but it also adds registry values for service support.

If you select all the options on this panel, the command line that you enter in this box is the command line that is passed to the .exe file.

If the COM server is part of a 64-bit component and you are running InstallShield on a 64-bit machine, InstallShield performs 64-bit COM extraction. For more information, see Targeting 64-Bit Operating Systems.

See Also