Enable MSI Installer Logging

Enable MSI Installer Logging

I just learned that you can enable MSI logging so that if your installer fails with an error you can see where the MSI failed.

To enable MSI loggging:

  1. Open Regedit.
  2. Go to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer.
  3. Create a new Reg_SZ value named "Logging" with the value "voicewarmup".

While "voicewarmup" is easy to remember, it actually signifies all of the different options that you want to enable.

Here is the complete list of options:

v Verbose output
o Out-of-disk-space messages
i Status messages
c Initial UI parameters
e All error messages
w Non-fatal warnings
a Start up of actions
r Action-specific records
m Out-of-memory or fatal exit information
u User requests
p Terminal properties
+ Append to existing file
! Flush each line to the log
3.61017
Average: 3.6 (59 votes)

More info on Installer Logs.

You can now enable logging on a per package basis on Vista(MSI 4.0 or above). Just use the new property MsiLogging within the desired MSI package.

There is also the DisableLoggingFromPackage policy to override this if Administrators wish. The MsiLogFileLocation property holds the log file location and name of the file for easier locating.

Other methods to generate logs can be found in this below link..

http://juice.altiris.com/tip/2560/trobleshooting-a...

http://juice.altiris.com/article/1358/troubleshoot...

Hope this helps.

Cheers'
Vijay