Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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

share|improve this answer
    
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? –  jJack Dec 5 '12 at 6:11
    
Sorry, it sliped out somehow, edited post:) But If you visit these links, there are examples.. –  week Dec 5 '12 at 6:14
    
I see no examples dealing with patches and parameters for them :( –  jJack Dec 5 '12 at 6:25
    
That line I wrote in my post... ? –  week Dec 5 '12 at 6:32
    
You are correct, I apologize - I am actually asking the wrong question here. New post here if you're interested: superuser.com/questions/514957/… –  jJack Dec 5 '12 at 6:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.