创建 MSI 日志文件 [英] Create an MSI log file

查看:26
本文介绍了创建 MSI 日志文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用以下命令为安装程序的问题创建日志文件:

I have been trying to create a log file for an issue with our installer with the following commands:

msiexec /i "installer.msi" /l*v "log.log"
msiexec /i "installer.msi" /l*v
msiexec /l*v /i "installer.msi"
msiexec /l*v "log.log" /i "installer.msi"

和命令的其他几个变体,但它总是弹出窗口,说明哪些命令行参数对 msiexec 有效.让 msi 文件创建日志的正确方法是什么?我有 Windows 安装程序 4.5.

and several other variations of the command, but it always pops up the window that states what command line parameters are valid for msiexec. What is the correct way to have the msi file create a log? I have windows installer 4.5.

推荐答案

第一条和最后一条命令行正确:

The first and the last command lines are correct:

msiexec /i "installer.msi" /l*v "log.log"
msiexec /l*v "log.log" /i "installer.msi"

在这种特殊情况下你可以去掉引号.

这篇关于创建 MSI 日志文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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