/build/static/layout/Breadcrumb_cap_w.png

Software Question


How can I skip restart prompting when updating software?

04/18/2014 4260 views

Hello,

I'm new with Windows Installer and Instalshield and I can use some help. I need to uninstall one software and install newer version of it, all in one silent install. The problem is that older software, after uninstall, prompts for reboot before new version can be installed. How can I skip this prompt that the install of new program could be ended successfully and then reboot the machine?

I would be gratefull for any help.

0 Comments   [ + ] Show comments

Comments


All Answers

1

In most cases, with a Windows Installer package you can usually just add /noreboot or REBOOT=REALLYSUPPRESS to your installation command line.

If this is an InstallShield package that invokes Windows Installer (usually indicated by a setup.exe with a .msi package included) you will need to add /v"REBOOT=REALLYSUPPRESS" - the /v tells the setup.exe what parameters to pass to Windows Installer

Answered 04/21/2014 by: BHC-Austin
4th Degree Black Belt

1

Thank You all, I've already resolved my issue.
I was usung msiexec /x and any property added to this command didn't work but I noticed that after uninstalling previous software it creates new entry in registry which forces restart. I just simply use reg delete before installing new sotware and everything is ok now. And ofcourse reboot after install :)

Answered 04/22/2014 by: Loko
White Belt

  • But the restart is neccessary if the installer sets this flag. So you should ensure that all files etc are updated or removed if you delete this restart flag. Because during the restart Windows will do some actions that are not possible while Windows is running.
0

What is the software you're uninstalling? How are you uninstalling it?

Answered 04/21/2014 by: krisc4
Second Degree Blue Belt

 
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