Register Property

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

Settings

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

Setting

Description

vsdraDoNotRegister

The item requires no registration.

vsdraCOM

The item will be registered as a COM object.

vsdraCOMRelativePath

The item will be registered as an isolated COM object.

vsdraCOMSelfReg

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

vsdraFont

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

vsdrpDoNotRegister

The item requires no registration.

vsdrpCOM

The item will be registered as a COM object.

vsdrpCOMRelativePath

The item will be registered as an isolated COM object.

vsdrpCOMSelfReg

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

vsdrpFont

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

Remarks

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.

See Also

Concepts

Deployment and the Registry

Reference

Properties for the File System Editor