I often get asked questions about how to read, interpret and find error information in verbose Windows Installer log files. These logs tend to be very long, and it can be difficult to filter out noise in order to find the truly useful information needed for debugging purposes. In the past, I posted an item describing how to locate the cause of error code 1603 in a Windows Installer log file – http://blogs.msdn.com/astebner/archive/2005/08/01/446328.aspx, but this technique is only one of many useful strategies for analyzing verbose log files.
Today, I was catching up on some of the blog posts from blogs I subscribe to, and I noticed an item on the Windows Installer team blog that I wanted to also link to here. The Windows Installer blog links to another blog post providing details about how to interpret Windows Installer logs. You can find this blog post at http://blogs.technet.com/richard_macdonald/archive/2007/04/02/How-to-Interpret-Windows-Installer-Logs.aspx.
This post includes the following useful information:
- How to enable verbose logging
- Descriptions of general log file entries
- Information about error codes
- Return value meanings
- Link to an annotated verbose log file
- Information about the Windows Installer Verbose Log Analyzer (wilogutl.exe) tool that is included in the Windows Installer SDK
I encourage you to take a look at this blog post, especially the annotated log file and the wilogutl.exe tool, if you are a setup developer and/or need to debug MSI-based setups.