Поделиться через


ProductCode Property

Specifies a unique identifier for an application, represented by a string GUID. This identifier must vary for different versions and languages.

Warning

Windows Installer uses the ProductCode to identify an application during subsequent installations or upgrades; no two applications can have the same ProductCode. To ensure a unique ProductCode, you should never manually edit the GUID, instead you should use the GUID generation facilities in the Product Code dialog box.

Note

The Product Code and Package Code are different properties. Visual Studio does not support setting the Package Code. However, you can access and modify it by using the summary information screen in Orca.exe, a table editor for creating and editing Windows Installer packages and merge modules. See Orca.exe on the MSDN Web site.

Remarks

This property is set in the Product Code dialog box. Letters contained in the ProductCode property must be uppercase.

See Also

Reference

Deployment Properties

Product Code Dialog Box

DetectNewerInstalledVersion Property

UpgradeCode Property