ModuleInstallExecuteSequence Table

Windows Installer

ModuleInstallExecuteSequence Table

A merge tool evaluates the ModuleInstallExecuteSequence table and then inserts the calculated actions into the InstallExecuteSequence table with a correct sequence number.

The ModuleInstallExecuteSequence table contains the following columns.

Column Type Key Nullable
Action Identifier Y N
Sequence Integer Y
BaseAction Identifier Y
After Integer Y
Condition Condition Y

 

Columns

Action

Action to insert into sequence. Refers to one of the installer standard actions, or an entry in the merge module's CustomAction table, or Dialog table.

If a standard action is used in the Action column of a merge module sequence table, the BaseAction and After columns of that record must be null.

Sequence

The sequence number of a standard action. If a custom action or dialog is entered into the Action column of this row, this field must be set to null.

When using standard actions in merge module sequence tables, the value in the Sequence column should be the recommended action sequence number. If the sequence number in the merge module differs from that for the same action in the .msi file sequence table, the merge tool uses the sequence number from the .msi file. See the suggested sequences in Using a Sequence Table for the recommended sequence numbers of standard actions.

BaseAction

The BaseAction column may contain a standard action, a custom action specified in the merge module's custom action table, or a dialog specified in the module's dialog table. The BaseAction column is a key into the Action column of this table. It cannot be a foreign key into another merge table or table in the Windows Installer file. This means that every standard action, custom action, or dialog listed in the BaseAction column must also be listed in the Action column of another record in this table.

After

Boolean for whether Action comes before or after BaseAction.

Value Meaning
0 Action to come before BaseAction
1 Action to come after BaseAction

 


Condition

A conditional statement that indicates if the action is to be executed. A null value evaluates to true.

 

Remarks

If the ModuleInstallExecuteSequence table is present, the InstallExecuteSequence table must also be present in the merge module.


Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.