如何记录从 WiX 包进行的安装 [英] How to log an installation made from a WiX bundle

查看:16
本文介绍了如何记录从 WiX 包进行的安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 WiX(Windows Installer for XML)工具集创建 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?

推荐答案

Bundle 将自动登录到 %TEMP% 位置.可以通过将路径传递给 -l-log 来设置日志文件的特定位置,例如:bundle.exe -l "path o你的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 oyourlog.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆