Send multiple parameters to msiexec when installing MSP patch?

0

1

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?

JohnZaj

Posted 2012-12-05T05:21:45.697

Reputation: 437

Answers

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

Posted 2012-12-05T05:21:45.697

Reputation: 3 128

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 – 2012-12-05T06:11:48.207

Sorry, it sliped out somehow, edited post:) But If you visit these links, there are examples.. – week – 2012-12-05T06:14:33.867

I see no examples dealing with patches and parameters for them :( – JohnZaj – 2012-12-05T06:25:52.247

That line I wrote in my post... ? – week – 2012-12-05T06:32:53.157

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 – 2012-12-05T06:53:48.867