Enable Verbose MSI Logging Globally via Regedit

Enabling global Windows Installer (MSI) logging allows administrators and users to automatically generate detailed diagnostic logs for every MSI-based installation, upgrade, or uninstallation on a system without having to pass command-line arguments manually. This guide outlines the exact steps to configure verbose MSI logging system-wide using the Windows Registry Editor (regedit), explains the configuration values required, and describes where to locate the generated log files.

Steps to Enable Global MSI Logging

  1. Open Registry Editor:
    • Press Windows Key + R to open the Run dialog.
    • Type regedit and press Enter.
    • Click Yes if prompted by User Account Control (UAC).
  2. Navigate to the Windows Installer Policy Key:
    • In the left sidebar, navigate to the following path:

      HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
    • Note: If the Installer key does not exist under Windows, right-click the Windows folder, select New > Key, and name it Installer.

  3. Create the Logging Value:
    • Right-click on the Installer key in the left pane (or empty space in the right pane).
    • Select New > String Value (REG_SZ).
    • Name the new value Logging.
  4. Set the Verbose Logging Parameters:
    • Double-click the newly created Logging entry.

    • In the Value data field, enter:

      voicewarmupx
    • Click OK.

Understanding the Logging Flags

The string voicewarmupx is the standard set of flags recommended by Microsoft for full verbose output:

Locating the Log Files

Once configured, Windows automatically generates a log file in the temporary directory whenever an MSI package runs.

Disabling Global Logging

Continuous logging can fill the temporary folder and slightly impact installation performance. To disable global logging after troubleshooting:

  1. Navigate back to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer.
  2. Right-click the Logging string value and select Delete.
  3. Confirm the deletion by clicking Yes.