/build/static/layout/Breadcrumb_cap_w.png

MSI Force Boot

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   [ + ] Show comments

Answers (7)

Posted by: Ram 16 years ago
Senior Purple Belt
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
Posted by: anonymous_9363 16 years ago
Red Belt
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.
Posted by: mhsl808 16 years ago
Fifth Degree Brown Belt
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.
Posted by: kiptek 16 years ago
Second Degree Green Belt
0
If you don't want any user involvement, why are you using /qb!. Use "/qb!- REBOOT=Force REBOOTPROMPT=Suppress"
Posted by: Ram 16 years ago
Senior Purple Belt
0
msiexec.exe /i "%MSINAME%" TRANSFORMS="%MSTNAME%" REBOOT=Force /qb-!

does work for me

Cheers,
Ram
Posted by: mehappy 16 years ago
Orange Belt
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".
Posted by: kiptek 16 years ago
Second Degree Green Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ