0

I am trying to run an MSP silently and also without rebooting. I have:

msiexec /p "mypatch.msp" /s/v/qn

which basically means run the patch silently / no interaction. The /v I believe is supposed to be the switch to send the 'qn' parameters directly to msiexec. So, in order to tell msiexec to not restart, I would think that saying '/v/norestart' would work, however it does not (the command ends up being invalid and I get the msiexec usage/help dialog)

Is there a way to send multiple parameters to msiexec when installing a patch?

Daniel Andersson
  • 23,895
  • 5
  • 57
  • 61
JohnZaj
  • 457
  • 2
  • 6
  • 17

1 Answers1

1

Silently and nointeraction is the same thing altho silently not exsist in msiexec options. /v is not working like you wrote, /qn alone is parameter same as /norestart

msiexec /p "mypatch.msp" /qn /norestart stands for patch quietly (non gui output)

More info about msiexec:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa372024%28v=vs.85%29.aspx

http://msdn.microsoft.com/en-us/library/windows/desktop/aa367988%28v=vs.85%29.aspx

week
  • 3,298
  • 1
  • 13
  • 15
  • thank you but how are these links supposed to help me understand how to send more than one parameter (such as 'qn' and 'norestart' to msiexec when installing a patch? – JohnZaj Dec 05 '12 at 06:11
  • Sorry, it sliped out somehow, edited post:) But If you visit these links, there are examples.. – week Dec 05 '12 at 06:14
  • I see no examples dealing with patches and parameters for them :( – JohnZaj Dec 05 '12 at 06:25
  • That line I wrote in my post... ? – week Dec 05 '12 at 06:32
  • You are correct, I apologize - I am actually asking the wrong question here. New post here if you're interested: http://superuser.com/questions/514957/send-multiple-parameters-to-msiexec-when-installing-exe-patch – JohnZaj Dec 05 '12 at 06:53