Training
Module
Adjust process behavior using conditional actions with Power Automate for desktop - Training
Learn how to use conditional actions to configure a flow to vary behavior at runtime-based information in the environment.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
The columns are identical to those of the InstallExecuteSequence table. The AdvtExecuteSequence table has the following columns.
Column | Type | Key | Nullable |
---|---|---|---|
Action | Identifier | Y | N |
Condition | Condition | N | Y |
Sequence | Integer | N | Y |
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 flag | Value | Description |
---|---|---|
msiDoActionStatusSuccess | -1 | Successful completion. Used with Exit dialog boxes. |
msiDoActionStatusUserExit | -2 | User terminates install. Used with UserExit dialog boxes. |
msiDoActionStatusFailure | -3 | Fatal exit terminates. Used with a FatalError dialog boxes. |
msiDoActionStatusSuspend | -4 | Install is suspended. |
Zero, all other negative numbers, or a null value indicate that the action is never called.
Training
Module
Adjust process behavior using conditional actions with Power Automate for desktop - Training
Learn how to use conditional actions to configure a flow to vary behavior at runtime-based information in the environment.
Documentation
MsiDoActionA function (msiquery.h) - Win32 apps
The MsiDoAction function executes a built-in action, custom action, or user-interface wizard action. (ANSI)
AdvtUISequence Table - Win32 apps
The installer does not use this table. The AdvtUISequence table should not exist in the installation database or it should be left empty.
FILEADDDEFAULT property - Win32 apps
The value of the FILEADDDEFAULT property is a list of file keys delimited by commas that are installed in their default configuration.