Windows Installer Event Log Messages
In most cases, messages in the Windows Event log can help us determine the failure of an MSI installation.
Windows Installer event log messages are entered in the event log of a Windows NT, 2000 or XP computer. Windows 9x machines log these events in a file called msievent.log in the temp directory.
Some of the actions that can be performed prior to checking the windows Installer event log messages are
- Check for the Windows Installer MSI log file
- Check for any pre requirements for the product
- Windows Installer event log.
The table below lists installer errors and their descriptions:
| Event ID | Message | Remarks |
| 1001 | Detection of product '%1', feature '%2' failed during request for component '%3' | A warning message. For details, see Searching For a Broken Feature or Component. |
| 1002 | Unexpected or missing value (name: '%1', value: '%2') in key '%3' | Error message that there was an unexpected or missing value. |
| 1003 | Unexpected or missing subkey '%1' in key '%2' | Error message that there was an unexpected or missing subkey. |
| 1004 | Detection of product '%1', feature '%2', component '%3' failed Note: Beginning with Windows Installer version 2.0, this message is: Detection of product '%1', feature '%2', component '%3' failed. The resource '%4' does not exist.
|
A warning message. See also Searching For a Broken Feature or Component. |
| 1005 | Install operation initiated a reboot | Informational message that the installation initiated a reboot of the system. |
| 1006 | Verification of the digital signature for cabinet '%1' cannot be performed. WinVerifyTrust is not available on the machine. | Only available on Windows Installer version 2.0 or later. Warning message. A cabinet was authored in the MsiDigitalSignature table to have a WinVerifyTrust check performed. This action could not be performed because the computer does not have the proper cryptography DLLs installed. |
| 1007 | The installation of %1 is not permitted by software restriction policy. The Windows Installer only allows execution of unrestricted items. The authorization level returned by software restriction policy was %2. | Only available on Windows Installer version 2.0 or later. An error message indicating that the administrator has configured software restriction policy to disallow this install. |
| 1008 | The installation of %1 is not permitted due to an error in software restriction policy processing. The object cannot be trusted. | Only available on Windows Installer version 2.0 or later. An error message indicating that there were problems attempting to verify the package according to software restriction policy. |
| 1012 | This version of Windows does not support deploying 64-bit packages. The script '%1' is for a 64-bit package. | Error message indicating that scripts for 64-bit packages can only be executed on a 64-bit computer. |
| 1013 | {Unhandled exception report} | Error message for an unhandled exception, this is the report. |
| 1014 | Windows Installer proxy information not registered correctly | Error message that proxy information was not registered correctly. |
| 1015 | Failed to connect to server. Error: %d | Informational message that the installation failed to connect to server. |
| 1016 | Detection of product '%1', feature '%2', component '%3' failed. The resource '%4' in a run-from-source component could not be located because no valid and accessible source could be found. | Warning message. For more information, see Searching for a Broken Feature or Component. |
| 1017 | User SID had changed from '%1' to '%2' but the managed app and the user data keys cannot be updated. Error = '%3'. | Error message indicating that an error occurred while attempting to update the user's registration after the user's SID changed. |
| 11707 | Product [2] ? Installation operation completed successfully | Informational message that the installation of the product was successful. |
| 11708 | Product [2] ? Installation operation failed | Error message that the installation of the product failed. |
| 11728 | Product [2] -- Configuration completed successfully. | Informational message that configuration of the product was successful. |

Other Sources
We have been able to find online a huge list of all of the possible exit codes for installs. We keep them on a local intranet site so we can just search for them when needed instead of going and hunting them down.
MSI.CHM
The Msi.chm file get install with every wise package studio version. it is the help file for Windows Installer technology. You can find the same info and some additional stuff in that file. That file is more sufficent enough to get master for Windows Installer technology.
Pervious post...
I posted an article previously that came form MS that showed ALL possible exit codes and WMI desc. for each one.
This is a good concise list though for the topic.
Benjamin Z. Palmer
Architect | Workspace Design | The Hartford | Simsbury, CT 06082
Would you like to reply?
Login or Register to post your comment.