0 out of 6 rated this helpful - Rate this topic

ProductName property

Applies to: desktop apps only

The ProductName property contains the name of the application being installed. This is used only for display purposes. Advertised as a product property.

This property is REQUIRED.

This property can be changed by a transform.

Remarks

The ProductName property can be no greater than 63 characters in length. No limit exists on the length of the registry key for DisplayName.

Requirements

Version

Windows Installer 5.0 on Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003, Windows XP, and Windows 2000. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See also

Properties

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Careful when allocating buffer for this property
The documentation above states that the ProductName "can be no greater than 63 characters in length". This may not always be correct. While using MsiEnumProducts and MsiGetProductInfo to get a list of the names of all installed software products I found that a number of products had names longer than this, causing MsiGetProductInfo to return ERROR_MORE_DATA. It seems unclear what buffer size is required to store the name, so be sure to check for the ERROR_MORE_DATA return value.