Group Policy

How to enable Windows Installer logging on Windows 10

How to enable Windows Installer logging on Windows 10

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 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 10.

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%

Enable Windows Installer logging on Windows 10

You can enable Windows Installer logging manually, using either of these two ways:

  1. Via Registry Editor
  2. Via Local Group Policy Editor.

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

1] Enable Windows Installer logging via Registry Editor

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.

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:

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.

That's it!

How to change Mouse pointer and cursor size, color & scheme on Windows 10
The mouse pointer and cursor in Windows 10 are very important aspects of the operating system. This can be said for other operating systems as well, s...
Ilmaiset ja avoimen lähdekoodin pelimoottorit Linux-pelien kehittämiseen
Tämä artikkeli kattaa luettelon ilmaisista ja avoimen lähdekoodin pelimoottoreista, joita voidaan käyttää 2D- ja 3D-pelien kehittämiseen Linuxissa. Tä...
Shadow of the Tomb Raider for Linux -opetusohjelma
Shadow of the Tomb Raider on kahdestoista lisäys Tomb Raider -sarjaan - toiminta-seikkailupelisarja, jonka on luonut Eidos Montreal. Kriitikot ja fani...