/build/static/layout/Breadcrumb_cap_w.png

How can I skip restart prompting when updating software?

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

Answers (3)

Posted by: BHC-Austin 10 years ago
4th Degree Black Belt
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

Posted by: Loko 9 years ago
White 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 :)


Comments:
  • 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. - Utnapishtim 9 years ago
Posted by: krisc4 10 years ago
Second Degree Blue Belt
0

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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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