Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSIEXEC - difference between /quiet and /passive

So according to msdn

Quiet mode, no user interaction /quiet

Unattended mode - progress bar only /passive

so if I want to install MSI i usually use /qn /quiet and everything goes fine.

Just want to know what is /passive used for.

one thing That I see sometime that in msdn i just see /q is this the same as /qn

dotNetFx45_Full_x86_x64.exe /q /norestart

https://msdn.microsoft.com/en-us/library/ee942965%28v=vs.110%29.aspx

like image 351
user1088352 Avatar asked Nov 02 '15 18:11

user1088352


2 Answers

/qn no UI
/quiet no user interaction
/passive unattended mode (only progress bar)

like image 88
Hernando Avatar answered Nov 15 '22 11:11

Hernando


Strictly speaking the dotNet Fx install you mention is a bootstrapper and isn't an msi or msiexec. It does call a number of internal MSIs and mostly accepts switches and pass arguments in a manner consistent with MSI but it is not MSI.

/q{n | b | r | f | n+ | b+ | b-} was introduced in MSI 1.0 where /passive and others were introduced in 3.0 to make it easier for the common scenarios to be called. For example /passive is equivalent to /qb!- REBOOTPROMPT=S

One thing to note about /QN vs /QB is that /QN can't perform a UAC elevation prompt because it has no UI. It'll simply return a failure code. /QB can because it has a UI.

Reference: Standard Installer Command-Line Options

like image 36
Christopher Painter Avatar answered Nov 15 '22 10:11

Christopher Painter