Title: Tip: Logging to a file results of a MSI installation
Slug: tip-logging-to-a-file-results-of-a-msi-installation
Date: 2009-04-18 03:56:00
Author: Kartones
Lang: en
Tags: Systems-IT, Troubleshooting, Windows, Tools
Description: Logging to a file results of a MSI installation.

 <p>If you've worked creating MSI installers (for example with <a href="http://wix.sourceforge.net/">WiX</a>) and you've built a "silent installer" (one without GUI or wizards), sometimes the error message box or looking at the Windows Event Log is not enough to discern why the installer failed.</p>  <p>A simple way of logging a detailed verbose of the install process to a file is to use <a href="http://technet.microsoft.com/en-us/library/cc759262.aspx">msiexec.exe</a> tool (included in Windows), as in this example:</p>  <p><font face="Courier New">msiexec /l*v mysampleinstaller.msi c:\msiexeclog.txt</font></p>  <p>"<font face="Courier New">/l*v</font>" will log and verbose all install info to a txt file, allowing you to see where the problem was.</p>  <p>Small but simple to troubleshoot errors or problems with your installers :)</p>
