Wednesday, April 9, 2008

Logging of MSI Installation

Its very important to log the installations as it provides a very good mechanism for troubleshooting the install failures. A registry can be set which results in all msi based based installs to create a log file.

The registry is HKLM\Software\Policies\Microsoft\Windows\Installer.
Create a key with name logging with its value set to voicewarmup.

The explanation of these values is as follows:

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