Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm often tasked to examine MSI installation logs in order to find why some installation fails. But such logs are VERY large and has hundred of strings with "error" text in them. Moreover, it's a lot of steps logged that are unclear what they are doing, and sometimes an error in operation "calculating cost" says nothing about error origins since where is no info what "calculating cost" is expected to do.

Is it a good manual available that explains all MSI actions that are performed during installation? Ideally with a short hints how they will look in log file

share|improve this question
    
Preet Sangha's answer is excellent. I just want to add that it is almost impossible to debug MSI log files without knowing how the basic technology behind Windows Installer works. For system administrators I would recommend reading up on windows installer sequences: blogs.technet.com/b/alexshev/archive/2008/02/21/… . –  Glytzhkof May 27 '11 at 21:12
    
Rob Mensching - the WIX creator provides the following advice for dealing with a log file in an easy "tool free" way: robmensching.com/blog/posts/2010/8/2/… –  Glytzhkof May 9 at 0:47

2 Answers 2

up vote 3 down vote accepted

Not sure about a guide but this page lists a utility called WiLogUtl.exe, or the Windows Installer Verbose Log Analyzer. This page gives information about some version limitations and a workarounds with the tool. Finally this page lists some other resources that may be useful. Personally I find them extremely difficult to decode.

The last link offers this advice

Return Values After each action the Installer will record the 'return value' in the log. This is an indicator of the success or otherwise of the action. Possible values are:

Value Meaning

  • 0 Action was invoked, but did not run (not necessarily a bad thing, maybe there was nothing for it to do)
  • 1 Action was a success
  • 2 Action was cancelled by user
  • 3 An unrecoverable error has occurred
  • 4 The installation was suspended awaiting a reboot
share|improve this answer

how about a utility like View Verbose MSI Log

alt text

at least it show the errors coloured ... it might help :)

share|improve this answer
    
If you haven't got this tool available, use Rob Mensching's advice: robmensching.com/blog/posts/2010/8/2/… –  Glytzhkof May 9 at 0:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.