/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Is there a way to force a MSI to reboot "Without" prompting the user but you have a /qb! on the command line?

We need our users to see the installer happen but have no interaction so we use a /qb!. But we need the MSI to reboot at the end and not prompt for it. I need to call this from the command line as well.
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Can't you add a property
REBOOT=Force on ur command line.
Note: This work if you are not installing multiple packages

Regards,
Ram
Answered 10/19/2008 by: Ram
Senior Purple Belt

Please log in to comment
0
Why do you need a reboot in the first place? There is a very limited set of circumstances where one is required.

I'm willing to bet your MSI adds a folder to the SYSTEM path? This is normally why MSIs 'require' a reboot. The simple expedient of changing the path addition to the USER path obviates that requirement.
Answered 10/20/2008 by: VBScab
Red Belt

Please log in to comment
0
REBOOT=F does not work, it still prompts the user.
We have an interactive installer (IE7) and we want it to reboot at the end.

Like I have for years I used shutdown.exe but I wanted to know if there was a cleaner way of doing it with just the MSI native tools.
Answered 10/20/2008 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
0
If you don't want any user involvement, why are you using /qb!. Use "/qb!- REBOOT=Force REBOOTPROMPT=Suppress"
Answered 10/20/2008 by: kiptek
Second Degree Green Belt

Please log in to comment
0
msiexec.exe /i "%MSINAME%" TRANSFORMS="%MSTNAME%" REBOOT=Force /qb-!

does work for me

Cheers,
Ram
Answered 10/20/2008 by: Ram
Senior Purple Belt

Please log in to comment
0
ORIGINAL: kiptek

If you don't want any user involvement, why are you using /qb!. Use "/qb!- REBOOT=Force REBOOTPROMPT=Suppress"


Or even better: "/qn REBOOT=Force REBOOTPROMPT=ReallySuppress".
Answered 10/22/2008 by: mehappy
Orange Belt

Please log in to comment
0
ORIGINAL: mehappy
Or even better: "/qn REBOOT=Force REBOOTPROMPT=ReallySuppress".

ORIGINAL: mhsl808
We need our users to see the installer happen but have no interaction
as you can see, a /qn would not be in order for the requirements.
Answered 10/22/2008 by: kiptek
Second Degree Green Belt

Please log in to comment