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 EXE (Update) silently and also without rebooting. I have:

"myUpdate.EXE" /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 an EXE update?

UPDATE: this link notes an example of:

Setup.exe /s /v"/qn INSTALLDIR=D:\Destination"

So framing in context of my own update EXE:

MyUpdateEXE /s /v"/qn /norestart"

However this is not working - I get the msiexec usage/help dialog as if the syntax is incorrect.

share|improve this question
    
Well, if it's a exe file, then msiexec is not a case here, because it's an msi installer. You could post exactly what installer it is (In case thats publicly available). Because there is plenty of installer solutions and therefore many possibilities for parameters. –  week Dec 5 '12 at 7:00
    
Generally if you type yourUpdate.exe /?, that sometimes can give you a help for given installer. Another thing is, that parameters you type are usualy in windows separated by space like update.exe /s /v /n –  week Dec 5 '12 at 7:04
    
@week Its an EXE-wrapped MSP built from InstallShield. –  jJack Dec 5 '12 at 7:10
1  
Try initial space in brackets like update.exe /s /v" /qn /norestart". –  week Dec 5 '12 at 7:19
    
And if that /norestart won't work you may add REBOOT=ReallySuppress parameter to msi. –  week Dec 5 '12 at 7:22

1 Answer 1

up vote 1 down vote accepted

Msiexec is really touchy about right parameters alignment.:)

Because InstallShield Setup handover parameters without initial space,

update.exe /s /v"/qn /norestart"

have to be formated with space after quotes.

update.exe /s /v" /qn /norestart"

share|improve this answer

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.