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

天大地大妈咪最大 提交于 2019-12-04 20:56:58

The key is the /QN switch in the msiexec.exe command line:

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

Wrap the msi in an (or call it from an) exe and pass msiexec /qn.

Not specifying the UI section in WiX will leave only the MSIExec's popup progress dialog. To get around that you would still need to execute from the command line.

More info here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!