Register Property

Specifies whether a file, assembly, or project output group should be registered on a target computer during installation.

The following table shows the settings for the Register property, if you added individual files to the Setup project.

Setting

Description

DoNotRegister

The item requires no registration.

COM

The item will be registered as a COM object.

COMRelativePath

The item will be registered as an isolated COM object.

COMSelfReg

The item will be self-registered as a COM object when it is installed. Not available for assemblies.

Font

The file will be registered as a font file when it is installed.

The following table shows the settings for the Register property, if you added project output to the Setup project.

Setting

Description

DoNotRegister

The item requires no registration.

COM

The item will be registered as a COM object.

COMRelativePath

The item will be registered as an isolated COM object.

COMSelfReg

The item will be self-registered as a COM object when it is installed. Not available for assemblies.

Font

The file will be registered as a font file when it is installed.

Items based on the .NET Framework do not normally require registration and default to DoNotRegister. COM .dll files or .exe files with OleSelfRegister in their version information default to COMSelfReg. Font files are registered as Font.

If you want to include an isolated COM DLL in your application, you should set its reference's Isolated property to True. When the DLL is added to the project output, the Registration property should be set to DoNotRegister, but in some cases (for example, mstime.dll) it will be set to COMSelfReg. In such cases you must manually change the registration to DoNotRegister.

To do this, select the DLL in the Setup project's Application Folder, and in the Properties window, ensure that the Registration property is set to DoNotRegister. Do this for all isolated COM components in your Setup project.

Community Additions

ADD
Show: