Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable MSI logging files presumably being generated by Visual Studio

I'm having this issue where I am getting a lot of MSI log files (the filename formats are MSIxxxx.LOG where xxxx corresponds to some random character sequence like "MSI974b5.LOG"). These log files are getting stored in the directory Windows/Temp. I should mention that I barely understand MSI log files or what they are used for (something about testing .msi installer files?).

I've tried the Microsoft support article for disabling MSI logging, but I'm still getting the MSI log files in my Windows/Temp directory. One thing I've noticed is that all of the MSI files mention "Visual Studio 12.0" somewhere in the log file, but beyond that I don't understand what is generating these log files or how to stop them from being generated.

I'm not sure if this is related but I recently installed Visual Studio 2013, but I don't remember enabling any MSI logging during the installation.

like image 422
howdoishotweb Avatar asked Apr 05 '14 17:04

howdoishotweb


2 Answers

See this bug on Microsoft Connect:

https://connect.microsoft.com/VisualStudio/feedback/details/835600/visual-studio-2013-reconfiguration-via-windows-installer-fails-repeatedly-consumes-50gb-disk-space-in-msi-logs

like image 167
Adam Miles Avatar answered Sep 22 '22 18:09

Adam Miles


EDIT: I'm answering my own situation, which may be too specific to be helpful to others

The MSI log files were being generated by a bad Visual Studio install. Ran the repair option provided with Visual Studio and the log files are no longer generated. Why the log files were being generated so frequently and without my knowledge I do not know but at least I think it stopped.

like image 38
howdoishotweb Avatar answered Sep 22 '22 18:09

howdoishotweb