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: 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: Once you are done, you may disable Microsoft Installer logging
Enable Windows Installer logging on Windows 11/10
You can enable Windows Installer logging and Verbose logging manually, using any of these methods: 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.
Launch Registry Editor (press Windows key and type regedit, then hit Enter).Navigate to the following registry key:
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_SZValue: LoggingData: 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 outputo – Out-of-disk-space messagesi – Status messagesc – Initial UI parameterse – All error messagesw – Non-fatal warningsa – Start up of actionsr – Action-specific recordsm – Out-of-memory or fatal exit informationu – User requestsp – Terminal properties+ – Append to existing file! – Flush each line to the logx – 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 “/lvx”.
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;
3] Use Microsoft Fix-It
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!