MSI.SummaryInfoSetProperty

boolean MSI.SummaryInfoSetProperty ( 

number hSummaryInfo,

number Property,

number DataType,

number NumberValue,

string StringValue,

table  FileTime = nil )

Description

Calls the MsiSummaryInfoSetProperty function that sets a single information property.

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 to set. For more information, see Summary Information Stream Property Set. Choose from:

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

DataType

(number)  The type of property to set. For more information, see Summary Information Stream Property Set. Choose from:

CONSTANT

VALUE

VT_LPSTR

30

VT_I2

2

VT_FILETIME

64

VT_I4

3

NumberValue

(number) The value to set, used if DataType is: VT_I2, or VT_I4.

StringValue

(string) The value to set, used if DataType is VT_LPSTR.

FileTime

(table) Table representing the FileTime, used if DataType is VT_FILETIME.

KEY

TYPE

DESCRIPTION

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.

Returns

(boolean)  Returns true if the action succeeds. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions