Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

How to enable microsoft installer logging and verbose logging?


Asked by Magdalena Murphy on Dec 07, 2021 FAQ



In the Save in list, click Desktop. In the File name box, type LoggingOn.reg, click All Files in the Save as type list, and then click Save. On the desktop, double-click the LoggingOn.reg file to add the registry keys to the Windows registry. Click OK in the message box.
Moreover,
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.
Also Know, From the MSI SDK: "You can enable verbose logging on the user's computer by using Command Line Options, the MsiLogging property, Logging policy, MsiEnableLog, and EnableLogmethod". Short Answer: So add the property MsiLoggingproperty to your MSI's Property Tableand maybe use "vp"as value (without the quotes).
Just so,
To disable the logging, remove the Logging registry value. You can enable logging with Group Policies by editing the appropriate OU or Directory Group Policy. Under Group Policy, expand Computer Configuration, expand Administrative Templates, expand Windows Components, and then select Windows Installer.
Subsequently,
Double-click Logging, and then click Enabled. In the Logging box, enter the options you want to log. The log file, Msi.log, appears in the Temp folder of the system volume. For more information about MSI logging, see Windows Help.