MsiSummaryInfoSetPropertyA function

The MsiSummaryInfoSetProperty function sets a single summary information property.

Note  The meaning of the property value depends on whether the summary information stream is for an installation database (.msi file), transform (.mst file) or patch (.msp file). See Summary Property Descriptions and Summary Information Stream Property Set for more information about summary information properties.


UINT MsiSummaryInfoSetPropertyA(
  MSIHANDLE hSummaryInfo,
  UINT      uiProperty,
  UINT      uiDataType,
  INT       iValue,
  FILETIME  *pftValue,
  LPCSTR    szValue



Handle to summary information.


Specifies the property ID of the summary property being set. This parameter can be a property ID listed in the Summary Information Stream Property Set. This function does not set values for PID_DICTIONARY OR PID_THUMBNAIL property.


Specifies the type of property to set. This parameter can be a type listed in the Summary Information Stream Property Set.


Specifies the integer value.


Specifies the file-time value.


Specifies the text value.

Return Value

The MsiSummaryInfoSetProperty function returns the following values:


Minimum supported client Windows Installer 5.0 on Windows Server 2012, Windows 8, 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 or Windows XP
Target Platform Windows
Header msiquery.h
Library Msi.lib
DLL Msi.dll

See Also

Summary Information Property Functions

Summary Information Stream Property Set