How to enable windows installer logging

Windows includes a Registry-activated logging service to help diagnose Windows Installer issues. In today’s post, we will describe the steps on how to enable this Windows Installer logging service on Windows 11/10. Windows Installer is the standard Microsoft technology for deploying applications. It offers a format for packaging an application and an engine to unpack and install an application. MSI packages are used instead of proprietary installation systems, allowing your installer to run on any Windows platform from Windows 95 to Windows 11/10.

The Windows Installer, also known as Microsoft Installer, is a software component of the Windows operating system, that is used for the installation, maintenance, and removal of software. Sometimes installations fail because the Windows Installer is not able to do its job. Such Windows Installer issues can typically be caused by data corruption, corrupt installations, and so on. While Windows may roll back the installation, the issue would remain unresolved.

In case you face problems while installing programs on your Windows machine, you can refer to the logs which are maintained by Windows Installer. But for that, you have to enable logging first. After you have enabled Microsoft Installer logging, you can try to install the application again. Windows Installer will then track the progress and record all the data in a log file. These log files and events can help you troubleshoot installation issues and you can even share them with support professionals.

Verbose logging records more information in the logs generated by the Microsoft Installer. It tracks all changes and settings applied using Group Policy and its extension to the local computer and to users who log on to the computer. They are usually enabled if you need additional data. Such log files are usually found in C:\Debug and are typically large in size.

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. However, the first letters are “Msi” and the file name has a “.log: extension. To locate the Temp folder, type the following line at a command prompt:

cd %temp%

When you enable Microsoft Installer logging, the error codes generated by Windows Installer are captured and stored in the log files. You can also contact Microsoft Support and pass on the error codes or log files to them.

These Windows Installer log names start with ‘msi’, followed by a bunch of alphanumeric characters, and are saved in the  .log file format. They are normally stored in the following location, which is hidden:

C:\Documents and Settings\UserName\Local Settings\Temp\

Once you are done, you may disable Microsoft Installer logging

You can enable Windows Installer logging and Verbose logging manually, using any of these methods:

  1. Via Registry Editor
  2. Via Local Group Policy Editor
  3. Use Microsoft Fix-It

Now let’s take a look at both the procedures.

1] Enable Windows Installer logging via Registry Editor

Enable Windows Installer logging on Windows 10

Since this is a registry operation, it’s recommended you back up the registry or create a system restore point as a precautionary measure in case the procedure goes wrong.

Once you have done any of the above actions, you can now proceed as follows.

  • Launch Registry Editor (press Windows key and type regedit, then hit Enter).
  • Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

If you don’t see a Installer key (folder) below the Windows folder, right-click the Windows folder and select New > Key. Name it Installer.

You can then create the following subkey and keys:

Type: Reg_SZ
Value: Logging
Data: voicewarmupx

Right-click the Installer key (folder) in the left pane and select New > String Value.

Name the value Logging.

Double-click the entry to edit it’s properties and set the Value data as voicewarmupx.

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 version 1.1:

  • 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
  • x – Extra debugging information. The “x” flag is available only on Windows Server 2003 and later operating systems, and on the MSI redistributable version 3.0, and on later versions of the MSI redistributable.
  • “*” – Wildcard: Log all information except the v and the x option. To include the v and the x option, specify “/l*vx”.

Click OK.

You can now exit Registry Editor and restart PC for changes to take effect.

Note: This change should be used only for troubleshooting and should not be left on because it will have adverse effects on system performance and disk space. Each time that you use the Add or Remove Programs item in Control Panel, a new Msi*.log file is created. To disable the logging, remove the Logging registry value.

Read: Enable Verbose or Highly Detailed Status Messages,

2] Enable Windows Installer logging via Group Policy Editor

To enable Windows Installer logging on Windows 10 using Local Group Policy Editor (gpedit.msc), do the following;

  1. Launch the Local Group Policy Editor.
  2. Navigate to the following setting:
  3. Computer Configuration > Administrative Templates > Windows Components > Windows Installer
  4. Locate the Logging setting in the right pane and double-click on it to edit its properties.
  5. Click Enabled.
  6. In the Logging box, enter the options you want to log.
  7. The log file, Msi.log, appears in the Temp folder of the system volume.
  8. Click OK to save your changes.

Read: How to fix Microsoft Office installation errors

3] Use Microsoft Fix-It

Microsoft Installer logging

To enable and collect the Windows Installer logs, download Microsoft Fix it 20095 and run it.

Once you are done, you may disable Microsoft Installer logging using Microsoft Fix it 20096.

This Fix it is for Windows 8 and Windows 7 users only.

[Update: This Fix-It has been taken down]

That’s it!

Read: Error opening Installation Log File in Windows.

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

  • Home
  • Partition Magic
  • 2 Ways to Enable Windows Installer Logging on Windows 10

By Linda | Follow |
Last Updated

Sometimes, you should enable Windows Installer Logging service to generate a log file, which can help you solve Windows Installer issues. In this post, MiniTool shows you how to enable this service through 2 ways.

Windows Installer is a standard Microsoft technology used for deploying applications. It offers a format for packaging an application and an engine to unpack and install an application. This component can run on any Windows platform from Windows 95 to Windows 10, allowing you to efficiently install and configure software products and applications.

However, when you install software packages, you may encounter some issues. Fortunately, Windows includes a Registry-activated logging service to help you diagnose Windows Installer issues. You can enable this logging service and then retry the problem installation. The Windows Installer will track the progress and post it to the Temp folder.

Fixed: Windows Installer Needs to Be Upgraded Error in Windows 10

You should find the log file and analyze it to find some clues on how to solve the Windows installer issues. The new log’s file name is random, but the first letters are “Msi” and the file name has a “.log” extension. You can find the new log’s file through its name. But I recommend you to find it by this command: “cd %temp%“.

Typing this command in the Command Prompt can open the Temp folder. Then, you can find the log file in this folder.

In this post, I will focus on how to enable Windows Installer logging on Windows 10.

Enable Windows Installer Logging via Registry Editor

Note: Before you do any registry operation, it’s recommended to back up the registry or create a system restore point as a precautionary measure in case the procedure goes wrong.

Step 1: Press “Windows + R” keys and type “regedit” into the Run dialog box. Then, hit Enter to launch Registry Editor.

Step 2: Navigate to HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsInstaller. If you don’t see Installer folder under the Windows folder, you can right-click the Windows folder and select New > Key to create a new key named Installer

create a new key named Installer

Step 3: Right-click the Installer key in the left pane and select New > String Value. Then, name the value Logging. After that, double-click the entry to set the Value data as voicewarmupx. Each letter in the value field turns on a different logging mode and has an actual function. They can be arranged in any order.

  • 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
  • x: Extra debugging information. This flag is available only on Windows Server 2003 and later operating systems, and on the MSI redistributable version 3.0 and later MSI redistributable.
  • *: Log all information except the v and the x option. To include the v and the x option, specify “/l*vx”.

set Value data as voicewarmupx

Note: When this change is saved, each time you use the Add or Remove Programs item in Control Panel, a new Msi*.log file is created. This will have adverse effects on system performance and disk space. So, after troubleshooting, you should remove the Logging registry value to disable this service.

Top 4 Ways to Windows Installer Service Could Not Be Accessed

Enable Windows Installer Logging via Group Policy Editor

Another method to enable Windows Installer logging on Windows 10 is using Local Group Policy Editor. Do as follows:

Step 1: Type “gpedit.msc” into the Run dialog box and then hit Enter to launch Local Group Policy Editor.

Step 2: Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Installer. Then, locate the Turn off logging via package settings in the right pane and double-click on it to edit its properties.

Turn off logging via package settings

Step 3: Click Enabled and enter the options you want to log in the box. Then, click OK to save your changes.

About The Author

Position: Columnist

Linda has been working as an editor at MiniTool for 5 years. She is always curious about computer knowledge and learns it crazily. Her articles are simple and easy to understand. Even people who do not understand computer can gain something. By the way, her special focuses are disk management, data recovery and PDF editing.

Question

How do I enable Windows Installer Logging?

Synopsis

Instructions to enable Windows Installer Logging

Solution

  1. go to the Windows Start Menu
  2. in the box type regedit , and then hit ENTER
  3. in the Registry Editor window, navigate to the following registry key:HKEY_LOCAL_MACHINESoftwarePoliciesMicrosoftWindowsInstaller
  4. right-click on the right pane, select New, then select String Value
  5. enter the name Logging
  6. double-click on the Logging key and then enter the value as voicewarmupxThe letters of the value «voicewarmupx» have been so organized to make the value easy to remember. In reality, you can add them in any sequence. Each letter in this value turns on a different logging mode on your computer. The details for MSI version 1.1 are listed below:
    • v: Enable verbose output
    • o: Log out-of-disk-space messages
    • i: Log status messages
    • c: Log initial UI parameters
    • e: Log all error messages
    • w: Log non-fatal warnings
    • a: Log start up of actions
    • r: Log action-specific records
    • m: Log out-of-memory or fatal exit information
    • u: Log user requests
    • p: Log terminal properties
    • +: Append logged data to existing file
    • !: Flush each line to the log
    • x: Include extra debugging information in the logs

    Note: The flag «x» is available only on Windows Server 2003 or higher operating systems and MSI 3.0 redistributable or later versions.  

  7. After adding the new key in the registry, restart your Windows computer and retry the installation that caused the errorWindows Installer will now monitor the installation progress log the details in a log file that will be created in the Temp folder. Although the name of this new log file will be random, it will begin with «Msi» and have the file name extension as .log.
  8. In Windows Explorer, go to C:\Users\<USERNAME>\AppData\Local\Temp.
  9. The name of the new log file will be random, it will begin with «Msi» and have the file name extension as .log. You can further identify it by the date.
  10. Note: After you are done with troubleshooting, you may want to disable this logging feature by removing the registry key you added earlier. If you leave it on, a new Msi*.log file will be created in the Temp folder every time you install or uninstall software.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • San andreas multiplayer windows 7
  • Драйвера на клавиатуру для windows 10 bloody
  • Настройка параметров папок в windows 10
  • Как сохранить фотографии с айфона на компьютер windows
  • Windows xp professional sp3 final