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 detect whether a system requires a reboot or not??
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Aug 19, 2010
04:06 AM
How to detect whether a system requires a reboot or not??
Hi,
I have question like whether the system can determine that it requires a reboot or not.
More details: I'm installing Roles and Features(IIS,MSMQ) from my application. after installing I would like to know whether the system needs a reboot or not.
Here I dont want to take the decision, I would like the System to take the decision whether to reboot the machine or not.
My question is Can we find out from Registry or some where else does the system requires a reboot or not?
Any help is appreciated
Thanks in Advance
Seshu
I have question like whether the system can determine that it requires a reboot or not.
More details: I'm installing Roles and Features(IIS,MSMQ) from my application. after installing I would like to know whether the system needs a reboot or not.
Here I dont want to take the decision, I would like the System to take the decision whether to reboot the machine or not.
My question is Can we find out from Registry or some where else does the system requires a reboot or not?
Any help is appreciated
Thanks in Advance
Seshu
(4) Replies
‎Aug 19, 2010
04:35 AM
I needed the same function some moth ago. In my case (I don't know if this is a sufficient condition in general) I checked this via the registry value:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations.
When an installation is unable to replace/delete some file, it often uses this value to let windows change this at the next startup. The software I had to install always wanted a reboot when this value was set.
Hth, Jo
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations.
When an installation is unable to replace/delete some file, it often uses this value to let windows change this at the next startup. The software I had to install always wanted a reboot when this value was set.
Hth, Jo
‎Aug 20, 2010
12:28 AM
Hi,
Thanks for your quick response.
And Here I'm working with Win 2008 server. and i dont find that this Kay is existing in the registry.
Please let me know if we have any other alternate key for this.
Thanks & Regards
Seshu
Thanks for your quick response.
And Here I'm working with Win 2008 server. and i dont find that this Kay is existing in the registry.
Please let me know if we have any other alternate key for this.
Thanks & Regards
Seshu
‎Sep 01, 2010
02:55 AM
Hi,
sorry for this late response!
I'm not aware of any other way to check this. But note, that the registry value I mentioned exists only if a reboot is needed.
Greetings
Johannes
sorry for this late response!
I'm not aware of any other way to check this. But note, that the registry value I mentioned exists only if a reboot is needed.
Greetings
Johannes