在静默模式下执行 msi 时弹出 Windows 安装程序窗口 [英] Windows installer window pops up while executing msi in silent mode
本文介绍了在静默模式下执行 msi 时弹出 Windows 安装程序窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在静默模式下执行 MsSqlCmdLnUtilsx64,但安装时弹出 Windows 安装程序消息窗口.我的命令参数是这样的,
"/qn/i "package.msi"/IACCEPTMSSQLCMDLNUTILSLICENSETERMS=YES".有什么建议吗?
Executing MsSqlCmdLnUtilsx64 in silent mode, but Windows installer message window pops up while installing. My command parameters are like this,
"/qn /i "package.msi" /IACCEPTMSSQLCMDLNUTILSLICENSETERMS=YES". Any suggestions?
推荐答案
Command Line:这里有一个类似的问题:在接受 EULA 的静默模式下安装 sqlcmd,但它可能适用于该工具的不同版本.但是,让我们尝试使用这些命令行:
Command Line: There is a similar question here: Installing sqlcmd in silent mode accepting EULA, but it might be for a different version of the tool. However, let's try with these command lines:
msiexec.exe /I "MsSqlCmdLnUtils.msi" /QN /L*V "C:\MyLog.log" IACCEPTMSSQLCMDLNUTILSLICENSETERMS=YES
或
msiexec.exe /i "MsSqlCmdLnUtils.msi" /passive IACCEPTMSSQLCMDLNUTILSLICENSETERMS=YES
<小时>
一些进一步的链接:
- 如何更好地利用MSI 文件(关于设置 msiexec.exe 参数等)
- Microsoft® 命令行实用程序 14.0 for SQL Server®
- Microsoft® 命令行实用程序 11 for SQL Server®
这篇关于在静默模式下执行 msi 时弹出 Windows 安装程序窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文