The Error table is used to look up error message formatting templates when processing errors with an error code set but without a formatting template set (this is the normal situation).
The Error table has the following columns.
Column | Type | Key | Nullable |
---|---|---|---|
Error | Integer | Y | N |
Message | Template | N | Y |
Columns
- Error
See Windows Installer Error Messages for a list of the error numbers and messages.
The error number must be a non-negative integer.
The range from 25000 to 30000 is reserved for errors from custom actions. Authors of custom actions may use this range for their custom actions.
- Message
This column contains the localizable error formatting template. The Error table is generated by the initial build process to contain the debug format templates.
The following table lists reserved messages. For a list of ship and internal error codes see Windows Installer Error Messages.
Error Message Remarks 0 {{Fatal error: }} Header prefix for fatal errors (INSTALLMESSAGE_FATALEXIT). Text enclosed in double curly braces {{text}} is only visible in the log file. The text is not displayed to the user in the UI. 1 Error [1]. Header prefix for errors (INSTALLMESSAGE_ERROR) 2 Warning [1]. Header prefix for warnings (INSTALLMESSAGE_WARNING) 3 4 Info [1]. Header prefix for informational messages (INSTALLMESSAGE_INFO) 5 Internal Error [1]. [2]{, [3]}{, [4]} Header prefix for internal errors 6 7 {{Disk full: }} Header prefix for out of disk space errors (INSTALLMESSAGE_OUTOFDISKSPACE). Text enclosed in double curly braces {{text}} is only visible in the log file. The text is not displayed to the user in the UI. 8 Action [Time]: [1]. [2] 9 [ProductName] 10 {[2]}{, [3]}{, [4]} 11 Message type: [1], Argument: [2] 12 === Logging started: [Date] [Time] === 13 === Logging stopped: [Date] [Time] === 14 Action start [Time]: [1] 15 Action ended [Time]: [1]. Return value [2] 16 Time remaining: {[1] min }{[2] sec} 17 Out of memory. Shutdown other applications before retrying 18 Installer is no longer responding 19 Installer terminated prematurely 20 Please wait while Windows configures [ProductName]... 21 Gathering required information... 22 Removing older versions of this application... 23 Preparing to remove older versions of this application... 32 {[ProductName] }Setup completed successfully. 33 {[ProductName] }Setup failed.
Remarks
The template does not include formatting for the error number in field 1. When processing the error, the installer attaches a header prefix to the template depending on the message type. These headers are also stored in the Error table.
Text enclosed in double curly braces {{text}} is only visible in the log file. The text is not displayed to the user in the UI.
You can import a localized Error table into your database by using Msidb.exe or MsiDatabaseImport. The SDK includes a localized Error table for each of the languages listed in the Localizing the Error and ActionText Tables section. If the Error table is not populated, the installer loads localized strings for the language specified by the ProductLanguage property.
Validation
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.