Python Library Reference
Previous: Up: 36.1 msilib Next:


36.1.3 Summary Information Objects

GetProperty( field)
Return a property of the summary, through MsiSummaryInfoGetProperty. field is the name of the property, and can be one of the constants PID_CODEPAGE, PID_TITLE, PID_SUBJECT, PID_AUTHOR, PID_KEYWORDS, PID_COMMENTS, PID_TEMPLATE, PID_LASTAUTHOR, PID_REVNUMBER, PID_LASTPRINTED, PID_CREATE_DTM, PID_LASTSAVE_DTM, PID_PAGECOUNT, PID_WORDCOUNT, PID_CHARCOUNT, PID_APPNAME, or PID_SECURITY.

GetPropertyCount( )
Return the number of summary properties, through MsiSummaryInfoGetPropertyCount.

SetProperty( field, value)
Set a property through MsiSummaryInfoSetProperty. field can have the same values as in GetProperty, value is the new value of the property. Possible value types are integer and string.

Persist( )
Write the modified properties to the summary information stream, using MsiSummaryInfoPersist.

See Also:

MsiSummaryInfoGetProperty
MsiSummaryInfoGetPropertyCount
MsiSummaryInfoSetProperty
MsiSummaryInfoPersist


Python Library Reference
Previous: Up: 36.1 msilib Next:

Release 2.5.2, documentation updated on 21st February, 2008.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /