When creating a Windows installer using the WiX (Windows Installer for XML) toolset, how do you make the install process write logging information to a log file?
Is there a command-line switch which triggers the output of the log file?
The Bundle will automatically log to the %TEMP% location. A specific location for the log file can be set by passing a path to -l
or -log
such as: bundle.exe -l "path\to\your\log.txt"
More details are provided by FireGiant at the bottom of this article: https://support.firegiant.com/entries/24024218-Create-a-log-file-
You need to run your installation from the command line (preferably from an administrative command prompt) and use the -l switch as follows:
mySetup.exe -l "LogFileName.log"