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

Authoring the ActionText and Error Tables

· 52CE 我爱测

The sample specifications include sending ActionData messages when a custom action creates or removes a user account, and reporting an error if an account cannot be created.

The sample specifications include sending ActionData messages when a custom action creates or removes a user account, and reporting an error if an account cannot be created.

Enter the following entries into the ActionText table to provide information used by ActionText messages.

ActionText Table

Action Description Template
ProcessAccounts Generating actions to create user accounts on the local computer. Account: [1], Attributes: [2]
CreateAccount Creating user account on the local computer. Account: [1]
RemoveAccount Removing user account from the local computer. Account: [1]
RollbackAccount Rolling back the creation of user accounts on the local computer. Account: [1]
UninstallAccounts Generating actions to remove user accounts on the local computer. Account: [1]

Enter the following entries into the Error table to provide information used by error reporting.

Error Table

Error Message
25001 Unable to create user account '[2]' on the local machine. Error Code: [3].
25002 User account '[2]' already exists on the local machine.
25003 Unable to remove user account '[2]' on the local machine. Error Code: [3].
25004 User account '[2]' does not exist on the local machine.

Continue to Authoring the InstallExecuteSequence Table.

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)

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

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