How to implement MSI in silent mode (totally no UI) when user launch the msi setup ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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
回答2:
Wrap the msi in an (or call it from an) exe and pass msiexec /qn.
回答3:
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