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

Logging of Action Return Values

· 52CE 我爱测

The Installer writes the following values into the log when an action returns these error codes. For the entire list of error codes returned by the Windows Installer function calls MsiExec.exe, and InstMsi.exe, see Error Codes.

The Installer writes the following values into the log when an action returns these error codes. For the entire list of error codes returned by the Windows Installer function calls MsiExec.exe, and InstMsi.exe, see Error Codes.

Error Code Values returned by function calls MsiExec.exe, and InstMsi.exe Values that appear in the Log. Description
ERROR_FUNCTION_NOT_CALLED 1626 0 A function could not be executed.
ERROR_SUCCESS 0 1 An action completed successfully.
ERROR_INSTALL_USEREXIT 1602 2 A user canceled installation.
ERROR_INSTALL_FAILURE 1603 3 A fatal error.
ERROR_INSTALL_SUSPEND 1604 4 The installation suspended, incomplete.
ERROR_SUCCESS 0 5 The action completed successfully.
ERROR_INVALID_HANDLE_STATE 1609 6 The handle is in an invalid state.
ERROR_INVALID_DATA 1626 7 The data is invalid.
ERROR_INSTALL_ALREADY_RUNNING 1618 8 Another installation is in progress. Only one installation at a time can run actions in the InstallExecuteSequence, AdminExecuteSequence, or AdvtExecuteSequence tables.

Related topics

Windows Installer Logging

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)

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

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