Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Installer
Installer Database
Database Tables
 AdvtExecuteSequence Table
AdvtExecuteSequence Table

The AdvtExecuteSequence table lists actions the installer calls when the top-level ADVERTISE action is executed.

Only the following actions can be used in the AdvtExecuteSequence table. Custom actions cannot be used in this table.

CostFinalize

CostInitialize

CreateShortcuts

InstallFinalize

InstallInitialize

InstallValidate

MsiPublishAssemblies

PublishComponents

PublishFeatures

PublishProduct

RegisterClassInfo

RegisterExtensionInfo

RegisterMIMEInfo

RegisterProgIdInfo

The columns are identical to those of the InstallExecuteSequence table. The AdvtExecuteSequence table has the following columns.

ColumnTypeKeyNullable
ActionIdentifierYN
ConditionConditionNY
SequenceIntegerNY

 

Columns

Action

Name of the standard action the installer is to execute. This is the primary key of the table.

Condition

Logical expression. If the expression evaluates to false, the action is skipped. If the expression syntax is invalid, the sequence terminates, returning iesBadActionData. For information on the syntax of conditional statements, see Conditional Statement Syntax.

Sequence

A positive value indicates the sequence position of the action. The following negative values indicate that the action is called if the installer returns the termination flag. Each termination flag (negative value) can be used with no more than one action. Multiple actions can have termination flags, but they must be different flags. Termination flags (negative values) are typically used with Dialog Boxes.

Termination flagValueDescription
msiDoActionStatusSuccess-1Successful completion. Used with Exit dialog boxes.
msiDoActionStatusUserExit-2User terminates install. Used with UserExit dialog boxes.
msiDoActionStatusFailure-3Fatal exit terminates. Used with a FatalError dialog boxes.
msiDoActionStatusSuspend-4Install is suspended.

 

Zero, all other negative numbers, or a null value indicate that the action is never called.

 

Validation

ICE03
ICE06
ICE12
ICE13
ICE27
ICE46
ICE72
ICE79
ICE82
ICE83
ICE84
ICE86
ICEM04

Send comments about this topic to Microsoft

Build date: 11/12/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker