Authoring the ActionText and Error Tables

Windows Installer

Authoring the ActionText and Error Tables

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.


Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.