How to log an installation made from a WiX bundle

2019-01-25 04:38发布

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?

标签: logging wix
2条回答
家丑人穷心不美
2楼-- · 2019-01-25 04:42

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"

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-01-25 04:43

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-

查看更多
登录 后发表回答