如何记录通过WiX捆绑软件进行的安装 [英] How to log an installation made from a WiX bundle
问题描述
使用WiX(XML的Windows安装程序)工具集创建Windows安装程序时,如何使安装过程将日志记录信息写入日志文件?
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?
推荐答案
该捆绑包将自动记录到%TEMP%位置.可以通过将路径传递到-l
或-log
来设置日志文件的特定位置,例如:bundle.exe -l "path\to\your\log.txt"
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"
更多详细信息由本文底部的 FireGiant 提供:https://support.firegiant.com/entries/24024218-Create-a-log-file-
More details are provided by FireGiant at the bottom of this article: https://support.firegiant.com/entries/24024218-Create-a-log-file-
这篇关于如何记录通过WiX捆绑软件进行的安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!