How to determine if a reboot is required
hi folks,
i am writing an application that installs msi's using command lines. if any of the msi's installed require a reboot how can i determine this?
is there a registry key that the msi writes so i can find out what msi requires the reboot?
any help here would be great.
i am writing an application that installs msi's using command lines. if any of the msi's installed require a reboot how can i determine this?
is there a registry key that the msi writes so i can find out what msi requires the reboot?
any help here would be great.
0 Comments
[ + ] Show comments
Answers (13)
Please log in to answer
Posted by:
turbokitty
14 years ago
Posted by:
mekaywe
14 years ago
Posted by:
revizor
14 years ago
You may find this utility useful to find out why you need to reboot:
http://exodusdev.com/products/whyreboot
http://exodusdev.com/products/whyreboot
Posted by:
MSIPackager
14 years ago
Posted by:
anonymous_9363
14 years ago
Posted by:
cygan
14 years ago
Posted by:
darkfang
14 years ago
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"PendingFileRenameOperations"=hex(7):(value in hex)
This key will contains information what file(s) needs to be copied at the next reboot. After the reboot, the key is deleted.
There's also this when you install a Microsoft Patch :
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"SetupExecute"=hex(7):(value in hex)
The value indicated what command to execute at shutdown/reboot. Also, the file C:\Windows\winsxs\pending.xml is created.
After the reboot, the value of "SetupExecute" and pending.xml is deleted.
If you want to nag the user who reboot once a month, google search : GracefuLReboot.vbs
"PendingFileRenameOperations"=hex(7):(value in hex)
This key will contains information what file(s) needs to be copied at the next reboot. After the reboot, the key is deleted.
There's also this when you install a Microsoft Patch :
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"SetupExecute"=hex(7):(value in hex)
The value indicated what command to execute at shutdown/reboot. Also, the file C:\Windows\winsxs\pending.xml is created.
After the reboot, the value of "SetupExecute" and pending.xml is deleted.
If you want to nag the user who reboot once a month, google search : GracefuLReboot.vbs
Posted by:
AngelD
14 years ago
Posted by:
michaelnowell
14 years ago
Posted by:
AngelD
14 years ago
Posted by:
michaelnowell
14 years ago
Posted by:
AngelD
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.