大网数据广告活动
安装更新与部署

AdminExecuteSequence Table

· 52CE 我爱测

The AdminExecuteSequence table lists actions that the installer calls in sequence when the top-level ADMIN action is executed.

The AdminExecuteSequence table lists actions that the installer calls in sequence when the top-level ADMIN action is executed.

ADMIN actions in the install sequence, up to the InstallValidate action and any exit dialog boxes, are located in the AdminUISequence table.

ADMIN actions from the InstallValidate action through the end of the install sequence are in the AdminExecuteSequence table. Because the AdminExecuteSequence table needs to stand alone, it also contains any necessary initialization actions such as LaunchConditions, CostInitialize, FileCost, and CostFinalize.

Custom actions requiring a user interface should use MsiProcessMessage instead of authored dialog boxes created using the Dialog table.

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

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

Columns

Action

Name of the action to execute. This is either a standard action or a custom action listed in the CustomAction table.

Primary table key.

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.

Validation

ICE03
ICE06
ICE12
ICE13
ICE26
ICE27
ICE28
ICE75
ICE77
ICE79
ICE82
ICE84
ICE86
ICEM04

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。