Login to participate
Endpoint Management & Virtualization BlogsRSS

How to Enable Windows Installer Logging

PRASANNA KUMAR RAJA's picture

Windows Installer can use logging to help assist in troubleshooting issues with installing software packages. This logging is enabled by adding keys and values to the registry. After the entries have been added and enabled, you can retry the problem installation and Windows Installer will track the progress and post it to the Temp folder.

The new log's file name is random, but begins with the letters "MSI" and end with a .log extension.

To find the Temp folder location type the following in the address field of Windows Explorer: %temp%

or

Type the following at a command prompt: cd %temp%

Open the registry with Regedt32.exe and create the following path and keys:

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
Reg_SZ: Logging
Value: voicewarmup 

The letters in the value field can be in any order. Each letter turns on a different logging mode. Each letter's actual function is as follows for MSI.

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

R-Vijay's picture

Similar post..

Logs are always the best way to troublesoot applications.

Similar posts has already been made by David and Me in Juice before.

http://juice.altiris.com/node/2560
http://juice.altiris.com/node/1358

Hope this helps.

Microsoft MVP [Setup-Deploy]
Weblog: www.msigeek.com