简体   繁体   English

如何在不使用CMD Msiexec命令的情况下以静默模式运行创建的MSI

[英]How to run created MSI in silent mode without CMD Msiexec command

用户启动MSI设置时,如何以静默模式(完全没有UI)实现MSI?

The key is the /QN switch in the msiexec.exe command line : 关键是msiexec.exe命令行中/ QN开关

msiexec.exe /I "C:\Installer.msi" /QN /L*V "C:\msilog.log"
 /I = Run installer sequence /QN = Run totally silently /L*V = Verbose logging, log everything 

将msi包装在一个exe中(或从一个exe中调用),然后传递msiexec / qn。

Not specifying the UI section in WiX will leave only the MSIExec's popup progress dialog. 未在WiX中指定UI部分将仅保留MSIExec的弹出进度对话框。 To get around that you would still need to execute from the command line. 为了解决这个问题,您仍然需要从命令行执行。

More info here 更多信息在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从命令行卸载 MSI 文件而不使用 msiexec - Uninstalling an MSI file from the command line without using msiexec WiX:使用msiexec / i Setup.msi / qn(没有UI的安静模式安装)时,自定义操作不运行 - WiX: Custom Actions don't run when using msiexec /i Setup.msi /qn (quiet mode installation without UI) msiexec:在静默模式下默认为“不关闭应用程序” - msiexec: Default to “do not close application” in silent mode 在没有msiexec的情况下将参数传递给msi。 - Passing parameters to msi without msiexec. 如何在不存在 .msi 文件的情况下使用产品 ID guid 使用 msiexec 进行卸载 - How to uninstall with msiexec using product id guid without .msi file present Wix 引导程序在静音模式下卸载 MSI package - Wix bootstrapper uninstalling MSI package in silent mode 通过msiexec部署BizTalk应用程序msi(使用BTDF创建) - Deploy BizTalk application msi (created with BTDF) via msiexec Wix / MSI-静默模式下的重大升级 - Wix/MSI - Major Upgrade in silent mode 具有静默或被动模式的MSI安装程序有时会自动重启计算机,而不会提示用户 - MSI installer with Silent or Passive mode will automatically restart computer without prompt for user sometimes MSI 安装程序使用 WiX 在静默模式下调用另一个 MSI 安装程序 - MSI installer calling another MSI installer in silent mode using WiX
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM