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

Action Execution Order

· 52CE 我爱测

The order of action execution is determined by the sequence of actions that have been authored into the sequence tables and by the order in which the installer runs the sequence tables.

The order of action execution is determined by the sequence of actions that have been authored into the sequence tables and by the order in which the installer runs the sequence tables. For details, see the suggested action sequences in Using a Sequence Table.

The installer runs sequence tables in response to a request for an installation, advertisement, or an administrative installation. For example, in response to using the /I, /J, or /A command line options, the INSTALL, ADVERTISE, and ADMIN actions are not called from within the action sequence. These high-level actions are instead passed to the installer when the installer is initialized.

If the installer is passed the INSTALL action and the installation package has been authored with a user interface, the installer first runs the actions in InstallUISequence table and then executes the actions in the InstallExecuteSequence table in order. If the package has no user interface, the installer executes the actions in the InstallExecuteSequence table in order.

If the installer is passed the ADMIN action, and the installation package has been authored with a user interface, the installer first runs the AdminUISequence table and then runs the AdminExecuteSequence table. If the package has no user interface, the installer runs the AdminExecute table.

If the installer is passed the ADVERTISE action, the installer runs the AdvtExecuteSequence table.

Note:
The installer does not use the AdvtUISequence table. The AdvtUISequence table should not exist in the installation database or it should be left empty.

When the installer runs a sequence table, it executes actions in the order of the sequence numbers listed in the Sequence column. The action order is always linear with no branching or looping. Package developers can conditionally prevent a particular action from being executed by authoring a logical expression into the Condition column. The installer skips the action whenever the condition evaluates to False. See Using a Sequence Table and Conditional Statement Syntax.

All sequence tables have the following columns.

Column Description
Action The primary key for the table; the action name must be unique.
Condition A Boolean expression used to determine whether to perform the action. The action is executed if this field is either blank or contains an expression that evaluates to True. The action is not executed if the expression evaluates to False.
Sequence A relative sequence number used to determine the order in which actions are executed.

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)

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

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