SummaryInfo.Property property

The Property property of the SummaryInfo object sets or gets the value for the specified property in the summary information stream. The properties are read when the SummaryInfo object is created, but they are not written until the Persist method is called. Setting a property to Empty causes its removal; likewise, requesting a nonexistent property returns an Empty value. Otherwise values may be transferred as strings, integers, or date (date time) types.

This property is read-only.

Syntax


propVal = SummaryInfo.Property


Property value

Required property ID of one of the summary properties.

Remarks

Standard Summary Property IDs

(not an enumeration)

Parameter nameValueDescription
PID_DICTIONARY0Special format, not support by SummaryInfo object
PID_CODEPAGE1VT_I2
PID_TITLE2VT_LPSTR
PID_SUBJECT3VT_LPSTR
PID_AUTHOR4VT_LPSTR
PID_KEYWORDS5VT_LPSTR
PID_COMMENTS6VT_LPSTR
PID_TEMPLATE7VT_LPSTR
PID_LASTAUTHOR8VT_LPSTR
PID_REVNUMBER9VT_LPSTR
PID_EDITTIME10VT_FILETIME
PID_LASTPRINTED11VT_FILETIME
PID_CREATE_DTM12VT_FILETIME
PID_LASTSAVE_DTM13VT_FILETIME
PID_PAGECOUNT14VT_I4
PID_WORDCOUNT15VT_I4
PID_CHARCOUNT16VT_I4
PID_THUMBNAIL17VT_CF (not supported)
PID_APPNAME18VT_LPSTR
PID_SECURITY19VT_I4

 

Property Data Types

(not an enumeration)

Parameter nameValueDescription
VT_I2216-bit integer
VT_I4332-bit integer
VT_LPSTR30String
VT_FILETIME64Date time (FILETIME, converted to Variant time)
VT_CF71Clipboard format + data, not handled by SummaryInfo object

 

Requirements

Version

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

DLL

Msi.dll

IID

IID_ISummaryInfo is defined as 000C109B-0000-0000-C000-000000000046

See also

MsiSummaryInfoSetProperty
MsiSummaryInfoGetProperty

 

 

Community Additions

ADD
Show:
© 2014 Microsoft