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