MSI.SummaryInfoGetProperty

table MSI.SummaryInfoGetProperty ( 

number hSummaryInfo,

number Property )

Description

Calls the MsiSummaryInfoGetProperty function that gets a single property from the summary information stream.

Parameters

hSummaryInfo

(number) The handle to the summary information. You can get a handle to the summary information stream using the MSI.GetSummaryInformation action.

Property

(number) The property ID of the summary property. For more information see Summary Information Stream Property Set. It can be one of the following:

CONSTANT

VALUE

PID_CODEPAGE

1

PID_TITLE

2

PID_SUBJECT

3

PID_AUTHOR

4

PID_KEYWORDS

5

PID_COMMENTS

6

PID_TEMPLATE

7

PID_LASTAUTHOR

8

PID_REVNUMBER

9

PID_LASTPRINTED

11

PID_CREATE_DTM

12

PID_LASTSAVE_DTM

13

PID_PAGECOUNT

14

PID_WORDCOUNT

15

PID_CHARCOUNT

16

PID_APPNAME

18

PID_SECURITY

19

Returns

(table)  A table containing the summary info, indexed by the following categories:

 

KEY

TYPE

DESCRIPTION

DataType

number

VALUE

DESCRIPTION

30

VT_LPSTR

2

VT_I2

64

VT_FILETIME

3

VT_I4

 

Value

string

The Values, used if DataType == VT_LPSTR, VT_I2, VT_I4

Year

number

The valid values for this member are 1601 through 30827

Month

number

VALUE

DESCRIPTION

1

January

2

February

3

March

4

April

5

May

6

June

7

July

8

August

9

September

10

October

11

November

12

December

 

DayOfWeek

number

VALUE

DESCRIPTION

0

Sunday

2

Monday

3

Tuesday

4

Wednesday

5

Thursday

6

Friday

7

Saturday

 

Day

number

The day of the month. The valid values for this member are 1 through 31.

Hour

number

The hour. The valid values for this member are 0 through 23.

Minute

number

The minute. The valid values for this member are 0 through 59.

Second

number

The second. The valid values for this member are 0 through 59.

Milliseconds

number

The millisecond. The valid values for this member are 0 through 999.

FileTime

string

The Date as a string (Monday, May 26, 2003)

FileTimeISO

string

The Data as an ISO formatted string (2003-05-26T16:57:52)

You can use Application.GetLastError to determine whether this action failed, and why.

Note:  All values from 'Year' on are only valid if DataType == VT_FILETIME

See also:  Related Actions