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

查看:119
本文介绍了创建一个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 Installer 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天全站免登陆