Symantec Connect
  • Login
  • Register
  • Endpoint Management & Virtualization
    • All of Connect
    • Backup and Archiving
    • Clustering and Replication
    • Endpoint Management & Virtualization
    • Storage Management
    • Security
    • Inside Symantec
    • Vision User Conference
    • Partners
    • Developers
    •  
  • Overview
  • Forums
  • Articles
  • Blogs
  • Downloads
  • Events
  • Videos
  • Groups
  • Ideas
Login to participate
Endpoint Management & Virtualization Community BlogRSS

Trobleshooting and Windows Installer Logs

R-Vijay's picture
R-Vijay
September 25th, 2007
Filed under: Wise Application Packaging, Configuring, Endpoint Management & Virtualization Community Blog, Endpoint Management and Virtualization

When you need to troubleshoot a failing install, it is often useful to use the policy hive rather than the command line to catch things like repairs and multi-package installs.

The Windows Installer Log comes in very handy in this case. The log can be generated 2 ways (Other than the usual Msiexec <misname> /l*v c:\testlog.log).

1. Registry Key

Start Registry Editor (Regedt32.exe), and then create the following path and keys in the registry:

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

Create keys:

Logging : voicewarmupx
Debug"=dword:00000007

The letters in the value field are the options that are available to use with Windows Installer logging. You can use the options in any order. Each option turns on a specific logging mode. For MSI version 1.1, the function of each option 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

* - Wildcard, to log all information except for the v option. To include the v option, specify *v.

It is recommended that you use this service only for troubleshooting. Leaving the service turned on creates a new Msi*.log file every time you use the Add/Remove Programs tool in Control Panel. This activity adversely affects system performance and disk space.

2. Modifying Group Policy

You can use Group Policy to enable logging by modifying the appropriate organizational unit (OU) or Active Directory Group Policy:

Click Start, and then click Run.

  1. In the Open box, type gpedit.msc to start the Group Policy Editor.
  2. Expand Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Windows Installer.
  3. Double-click Logging, and then click Enabled.
  4. In the Logging box, specify the options for what you want to log.

After the installation\UnInstallation of the package check in %temp% for log files starting with MSI (eg.MSI8758d.LOG)

0 votes
  • R-Vijay's blog
  • Login or register to post comments
  • Comments RSS Feed
Harsh's picture
Harsh
2 years 19 weeks ago

what is x in Voicewarmupx

Hi Vijay,
You explained about creating key
Logging=voicewarmupx
Debug=dword:00000007

I understood the meaning of Logging key , but what exactly is the debug key for? whats its scope?

One more thing you had briefly explained about all logging options, but not about x?
what is "x" in logging. I try to find on internet but didnt help me. Could you help.

I think its typo error.

Thanks
Harsh M.

0 votes
  • Login or register to post comments
Richard Jeffrey's picture
Richard Jeffrey
1 year 41 weeks ago

How do I get a deep view of what Windows Installer is doing?

Debug

If this per-machine system policy is set to "1", the installer writes common debugging messages to the debugger using the OutputDebugString function. If this value is set to "2", the installer writes all valid debugging messages to the debugger using the OutputDebugString function. This policy is for debugging purposes only and may not be supported in future versions of Windows Installer.

Windows Installer only writes command lines into the log file if the third (0x04) bit is set in the value of the Debug policy. Therefore, to display command lines in the log, set the Debug policy value to 7. This does not display properties associated with an Edit Control having the Password Control Attribute. This will make properties set on the command line visible in the log even if the property is included in the MsiHiddenProperties property. For more information, see Preventing Confidential Information from Being Written into the Log File.
Registry Key

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\
Windows\Installer
Data Type

REG_DWORD

Logging
x - Extra debugging information.

0 votes
  • Login or register to post comments
rbrucelee1978's picture
rbrucelee1978
47 weeks 11 hours ago

Windows Installer Logs

Check out this site for more info on how to read the WI logs

Understanding the Windows Installer Logs

0 votes
  • Login or register to post comments

Would you like to reply?

Login or Register to post your comment.

About Endpoint Management and Virtualization Community Blog

The Endpoint Management & Virtualization Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management & Virtualization community. Any authenticated Connect member can contribute to this blog.
Filter by:

Recent Blog Posts

  • Having issues with Hp Client manager starter 7.2
    CDavid - February 09, 2010
  • Can't update SEP virus definitions
    NRuser01 - February 08, 2010
    2 Replies
  • Windows Silent Software Installation tool
    riva11 - February 08, 2010
  • Workflow 6.5 Out of Memory Problems
    BRING - February 04, 2010
  • Check out the virtual launch of 2010 Intel vPro Technology platform
    Terry Cutler - February 04, 2010

Blog Tags

Altiris Client Management Suite Altiris Deployment Solution Altiris IT Asset Management Altiris Notification Server Altiris Server Management Suite Basics Best Practice Beta Compatibility Configuring Database Dell Management Products Endpoint Management and Virtualization Endpoint Protection (AntiVirus) Features Ghost Solution Suite HP Management Products Helpdesk Solution Installing Licensing Linux Mac OS News Performance Reporting Tip/How to Upgrade VMware Virtualization Windows Wise Application Packaging Workflow Solution Workspace Virtualization pcAnywhere
© 2010
  • Symantec Corporation
  • Contact Us
  • Get RSS
  • Newsletter
  • Privacy Policy
  • Symantec.com