什么是静默安装MSI文件的命令行?
标准安装程序命令行选项
/安静
安静的显示选项。
安装程序在不显示用户界面的情况下运行安装。
例子:
msiexec /package Application.msi /quiet msiexec /uninstall Application.msi /quiet msiexec /update msipatch.msp /quiet msiexec /uninstall msipatch.msp /package Application.msi / quiet
注意等效的Windows安装程序命令行选项是/qn 。
MSIEXEC
运行此命令以查找有关安装选项的更多信息。
更新 : 这个工具从智者遗憾不能下载了 。 我不知道是否可以分发。 它似乎是一个免费的工具,作为他们主要的Wise Package Studio套件的一部分发布,但我不认为它是开源的。 我希望他们能把它作为一个开源工具发布。
由于一些法律问题 ,Wise包装产品已经停产。
您已经在这里得到了一些很好的答案,但是我只想添加“快速和简单”的方法:使用“ 命令行构build器工具 “来自Altiris( 直接下载 )( 断开链接,见下文 )。 我对msiexec.exe非常有经验,但是命令行很长,很容易出错。 我更喜欢生成复杂的,并消除错误的来源。
NB:希望发布下载链接工具是好的! 我不以任何方式隶属于Altiris。 这是一个免费的工具,它很容易使用,它的工作原理。 这是一个截图:

请参阅文档“无人参与”: http : //unattended.sourceforge.net/installers.php
总之,虽然有办法导致他们失败,这些标志应该工作:
msiexec /qb /i blah.msi REBOOT=ReallySuppress
还有这些:
/q , /qn No UI. /qb Basic UI. /qb! Basic UI with no cancel button. /qr Reduced UI. A modal dialog box is displayed at the end of the install. /qf Full UI. A modal dialog box is displayed at the end of the install. /qn+ No UI. However, a modal dialog box is displayed at the end of the installation. /qb+ Basic UI. A modal dialog box is displayed at the end of the installation. If you cancel the installation, a modal dialog box is not displayed. /qb- Basic UI with no modal dialog boxes.
来源: http : //www.ss64.com/nt/msiexec.html