ISBP12

InstallShield 2016

Project • This information applies to the following project types:

Basic MSI
InstallScript MSI
MSI Database

Messages

Message 1 (Error)

Custom Action [1] appears to invoke self-registration via RegSvr32. Best practices encourage authoring COM and Registry table data into the installer package.

[1] is the name of a custom action in your project that may be registering a file through RegSvr32.exe at installation time.

Message 2 (Error)

File [1] is self-registered. Best practices encourage authoring COM and Registry table data into the installer package.

[1] is the name of a file that is marked as self-registering.

Description

Although InstallShield lets you designate that a COM server is self-registering, the preferred method of registering a COM server is to extract the COM information from the file at build time or design time; with this method, InstallShield writes the COM class information to the Class, ProgID, and Registry tables of the .msi database. Self-registration has several limitations; for details, see Self-Registering COM Servers.

Corrective Action

To resolve error 1, remove the custom action that is referenced in the error message, and configure COM extraction for the file as appropriate.

To resolve error 2, configure COM extraction for the file as appropriate.

To learn more, see Extracting COM Information from a COM Server.

See Also