This property specifies how you want to handle this component's COM registration information. The following options are available for the COM Extract at Build property:

选项 | 描述
--- | ---
否 | The COM Registration advanced setting contains registration information for this component's COM server. When you select this option, the COM server's classes, ProgIDs, and other data stored in the component's Advanced Settings are registered when the file is installed, reinstalled, or advertised, and then removed when the component is uninstalled.
Yes | Instructs InstallShield to extract the COM information each time you build a release. If your COM server's interfaces are subject to change, this option is preferable to maintaining statically acquired or provided data in the COM Registration advanced setting.

You can also mark an individual file as self-registering. If you have marked a file as self-registering, you should set the COM Extract at Build property to No.

Remember that calling self-registration functions is a violation of Setup Best Practices. Windows Installer also requires a COM server to be the component's key file.

Specify whether the files in the active component (the component selected in the Setup Design or Components view) are self-registering. (A self-registering file is an OLE server that can place information about itself in the registry so that it is seen by other OLE applications. Such a file can also remove this information from the registry when it is uninstalled. InstallScript setups (including setups on 64-bit systems) support self-registration of DLLs, .exe files, and type libraries, that is, .tlb and .olb files.) Select Yes if the files are self-registering and you want the setup to register them. Select No if the files are not self-registering or you do not want the setup to register them.

If any files in the component are not self-registering, but you select Yes, an error results when the setup runs.

Specify whether the files in the active component (the component selected in the Setup Design or Components view) are self-registering. (A self-registering file is an OLE server that can place information about itself in the registry so that it is seen by other OLE applications. Such a file can also remove this information from the registry when it is uninstalled. InstallScript setups (including on 64-bit systems) support self-registration of DLLs, .exe files, and type libraries, that is, .tlb and .olb files.) Select Yes if the files are self-registering and you want the setup to register them. Select No if the files are not self-registering or you do not want the setup to register them.

If any files in the component are not self-registering, but you select Yes, an error results when the setup runs.