Chris Nackers Blog

ConfigMgr and MDT Deployment Solutions

Useful Blogs

User Groups

Troubleshooting MSI based installations – turning on logging

First off some credit to Aaron Stebner since i pulled a lot of this from his blog and that’s where i found the information first.  He has a ton of information on .Net Framework on his blog.

http://blogs.msdn.com/astebner/default.aspx

 

One of the frustrating things about troubleshooting installs is not having log files to review, or figure out who is running when.  There have been times where i’ve created a custom new image that has advanced MSI logging turned on so i can see what is going on during the State Restore phase of the SMS ZTI process. 

 

Here are the steps to enable logging for MSI based installations.

  1. Click on the Start menu, choose Run, type cmd and click OK
  2. Run this command in the cmd prompt:  reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Debug /t REG_DWORD /d 7 /f 
  3. Run this command in the cmd prompt:  reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Logging /t REG_SZ /d voicewarmupx! /f
  4. Re-run the setup and let it fail one more time
  5. Go to your temporary folder (go to the Start menu, choose Run, and type %temp%)
  6. Locate a file named msi*.log (where * is a randomly generated set of letters and numbers)
  7. Zip the msi*.log file (because it tends to be very large but since it is text it compresses nicely)
  8. Run this command in the cmd prompt:  reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Debug /f
  9. Run this command in the cmd prompt:  reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer" /v Logging /f

 

This will create logs in the %TEMP% folder that you can review.

You can also review this KB article from Microsoft:

http://support.microsoft.com/kb/314852/

 

-Chris

Comments

No Comments