This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to reboot the machine after uninstallation during Major Upgrade?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 18, 2008
05:55 PM
How to reboot the machine after uninstallation during Major Upgrade?
Hello,
Is there an way to reboot the machine during the Major Upgrade? during the major upgrade process, installer uninstall the existing application and install the new application and then reboot the server, but the application includes some .net and NT services which in use during the un-install process and they were not deleted and when the installation process tried to install these services it generates the error and abort the installation. I am looking to reboot the machine after the uninstall process during the Major Upgrade and after reboot it start the installation process and again reboot the machine once it done with the installation.
I appreciate any type of help on this.
Thanks in advance.
-Moin
Is there an way to reboot the machine during the Major Upgrade? during the major upgrade process, installer uninstall the existing application and install the new application and then reboot the server, but the application includes some .net and NT services which in use during the un-install process and they were not deleted and when the installation process tried to install these services it generates the error and abort the installation. I am looking to reboot the machine after the uninstall process during the Major Upgrade and after reboot it start the installation process and again reboot the machine once it done with the installation.
I appreciate any type of help on this.
Thanks in advance.
-Moin
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 18, 2008
06:20 PM
I haven't tried it, but the RemoveExistingProducts action is what uninstalls the older product version, and there's a ForceReboot action that can reboot the system in the middle of installation and then restart it (with the help of the AFTERREBOOT property); perhaps some combination like that?
Or could the services be stopped before RemoveExistingProducts runs?
Or could the services be stopped before RemoveExistingProducts runs?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2008
05:28 PM
RobertDickau wrote:
I haven't tried it, but the RemoveExistingProducts action is what uninstalls the older product version, and there's a ForceReboot action that can reboot the system in the middle of installation and then restart it (with the help of the AFTERREBOOT property); perhaps some combination like that?
Or could the services be stopped before RemoveExistingProducts runs?
Thanks Robert for your help, I appreciate it.
Here is how I use your tip to make it work:
I added the AFTERREBOOT property in Property Manager and set the value to 0, then I added the ForceReboot CA after RemoveExistingProducts and InstallInitialize CA's with condition AFTERREBOOT<>1 And IS_MAJOR_UPGRADE="Yes" this seems to be working.
-Moin
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2011
01:21 AM
Very useful!! Thank you moinkhan and RobertDickau.
It helps me a lot.
It helps me a lot.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)