user1219310
user1219310

Reputation: 732

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

How to implement MSI in silent mode (totally no UI) when user launch the msi setup ?

Upvotes: 2

Views: 6321

Answers (3)

Stein Åsmul
Stein Åsmul

Reputation: 42246

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

Upvotes: 5

Christopher Painter
Christopher Painter

Reputation: 55620

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

Upvotes: 4

Rick Bowerman
Rick Bowerman

Reputation: 1884

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

Upvotes: 2

Related Questions