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

Error Table

· 52CE 我爱测

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 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

ICE03
ICE06
ICE40
ICE46

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)

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

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