AdvtUISequence Table

[This is preliminary documentation and subject to change.]

The AdvtUISequence table lists advertise actions the installer executes when the top-level ADVERTISE action is called. The columns and Special Terminate Actions definitions are identical to those of the InstallExecuteSequence table.

Advertise actions in the sequence up to the InstallValidate action, and any exit dialogs, are located in the AdvtUISequence table. Advertise actions from the InstallValidate action through the end of the sequence are in the AdvtExecuteSequence table.

The AdvtUISequence table has the following columns.

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

Columns

Action
Name of the action to execute, either a built-in action, a custom action, or a user interface wizard.

Primary table key.

Condition
Logical expression. If the expression evaluates to expFalse, the action is skipped. If the expression syntax is invalid, the sequence terminates, returning iesBadActionData. For information on the conditional syntax, see MsiEvaluateCondition.
Sequence
Number that determines the sequence position in which this action is to be executed.

A positive value represents the sequence position. A Null value indicates that the action is never to be executed. The following negative values indicate that this action is to be executed if the installer returns the associated return code.
This value Corresponds with this return code
-1 Successful completion (iesSuccess).
-2 User terminates install (iesUserExit).
-3 Fatal exit terminates (iesFailure).
-4 Install is suspended (iesSuspend).

Zero, all other negative numbers, or a Null value indicate that the action is never to be executed.

The actions that may be in the AdvtUISequence table are:

PublishProduct
PublishFeatures
PublishComponents
RegisterClassInfo
RegisterExtensionInfo
RegisterMIMEInfo
RegisterTypeLibraries
CreateShortcuts