How to implement MSI in silent mode (totally no UI) when user launch the msi setup ?
Asked
Active
Viewed 5,596 times
2
-
You mean to say that you do not want to use msiexec command from command prompt to begin installation. User will have to double-click the *.MSI file to begin installation and no UI should be shown instead during the install is in progress. Is that your requirement? In your title you have mentioned both `with` and `without` words which is confusing. – RBT Jan 14 '17 at 03:32
3 Answers
5
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

Stein Åsmul
- 39,960
- 25
- 91
- 164
-
I believe the OP wants to run the MSI in silent mode without using `msiexec` command from command prompt. – RBT Jan 14 '17 at 05:05
4
Wrap the msi in an (or call it from an) exe and pass msiexec /qn.

Christopher Painter
- 54,556
- 6
- 63
- 100
2
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

Rick Bowerman
- 1,866
- 12
- 12