How to Enable Microsoft Installer logging and Verbose logging to gather additional troubleshooting Information

Symptoms

Windows Installer uses logging to help you troubleshoot issues that may occur when you install software packages. After you enable logging, you can try the unsuccessful installation again. Windows Installer tracks the progress and records the data in a log file. These logs can then be reviewed by support professionals to help determine the issue.

Cause

Microsoft Installer issues can be caused by data corruption, corrupted installations and many other different issues.

Resolution

To troubleshoot these issues, you have to enable logging for two processes, and then try to install the updates again. When you enable logging, the actual error codes that are generated by Windows Installer are captured. As soon as the error codes are captured, you can determine the actual issue and the resolution for that issue. These errors will require you to contact Microsoft Support to resolve the issue. However, you have to do several things before you contact Microsoft Support.

To enable and collect the Windows Installer logs, follow the steps for your operating system.

Step 1: Enable Microsoft Installer logging and Windows Update verbose logging

To have us enable logging for you, go to the "Here's an easy fix" section. If you prefer to fix this problem manually, go to the "Let me fix it myself" section.

Here's an easy fix

To fix this problem automatically, click the Download button. In the File Download dialog box, click Run or Open, and then follow the steps in the easy fix wizard.
  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
  • If you’re not on the computer that has the problem, save the easy fix solution to a flash drive or a CD, and then run it on the computer that has the problem.
For Windows 8, Windows 7

For Windows Vista, Windows XP, Windows Server 2008, Windows Server 2003
Let me fix it myself

Step 2: Try to install updates again to create the log files

To try to install the updates again, visit the following Microsoft Update Web site: Note It can take several minutes to collect these logs, and the update process may not seem to be functioning correctly. Allow for the necessary time for the process to finish.

Step 3: Disable Microsoft Installer logging and Windows Update verbose logging

Important As soon as Windows Update or Microsoft Update has finished, disable Windows Installer logging. Having logging enabled can require too much time every time that you install updates, can slow down your computer, and can create large log files that require large amounts of disk space.

To have us disable logging for you, go to the "Here's an easy fix" section. If you prefer to fix this problem manually, go to the "Let me fix it myself" section.

Here's an easy fix

To fix this problem automatically, click the Download button. In the File Download dialog box, click Run or Open, and then follow the steps in the easy fix wizard.
  • This wizard may be in English only. However, the automatic fix also works for other language versions of Windows.
  • If you’re not on the computer that has the problem, save the easy fix solution to a flash drive or a CD, and then run it on the computer that has the problem.
For Windows 8, Windows 7

For Windows Vista, Windows XP, Windows Server 2008, Windows Server 2003
Let me fix it myself
Contact Microsoft Support for help, and reference this Microsoft Knowledge Base article when you speak to the support agent. For more information about how to contact Microsoft Support, visit the following Microsoft Web site:

More Information

In most cases, the Windows Installer log starts with msi, ends with a .log extension, and includes a group of characters. For example, the Windows Installer log will have a file name that resembles the following:
msib3a6g.log
On computers that are running Windows 2000, Windows XP, or Windows Server 2003, the installer log is located in the following directory:
C:\Documents and Settings\ {UserName} \Local Settings\Temp\
To open this directory, click Start, click Run, type %temp%, and then click OK.

Note This information assumes that Windows is installed to the default drive C. If this is not the case, adjust the drive letter for the folder path to match the installation drive.

On computers that are running Windows Vista or Windows Server 2008, the installer log is located in the following directory:
C:\Users\{UserName\AppData\Local\Temp
To open this directory, click Start
the Start button , type %temp% in the Start Search box, and then press ENTER.


Note This information assumes that Windows is installed to the default drive C. If this is not the case, adjust the drive letter for the folder path to match the installation drive.

References

For more information about how to enable Windows Installer logging, click the following article number to view the article in the Microsoft Knowledge Base:

314852 How to enable Windows Installer logging in Windows XP

Proprietăți

ID articol: 2545723 - Ultima examinare: 28 sept. 2015 - Revizie: 1

Feedback