編輯

共用方式為


ModuleAdvtExecuteSequence Table

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

The ModuleAdvtExecuteSequence table has 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 can 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 .msi 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 be executed. Null evaluates to true.

Remarks

If this table is present the AdvtExecuteSequence table must also be present in the merge module.