Should I reboot as part of may package?
Should I reboot as part of may package?
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
jaybee96
11 years ago
Posted by:
bkelly
22 years ago
Sometimes before a restart, the system will set the workstation up for actions to take place upon reboot. You can reboot during the packaging process or you can have your package end with a reboot.
Testing is always required, especially as actions performed after the reboot could require more access to the system than your users may have. Watch for these things when determining if a reboot should be captured or not.
The install creates temporary files to be renamed after the reboot because it needs to replace a system file which is in use. Temporary files may be created (such as ~GLH0004.TMP) for renaming after startup due to files being in use during the installation:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
Check to see if the PendingFileRenameOperations value exists to know if this is an issue for your package.
There was a bug in SMS installer where it would not capture these pending file rename operations. Capturing a reboot will ensure you have everything, but without a good exclusion list, it may take some effort to clean up all the changes that take place on your system during the reboot that are not associated with the application being repackaged.
Testing is always required, especially as actions performed after the reboot could require more access to the system than your users may have. Watch for these things when determining if a reboot should be captured or not.
The install creates temporary files to be renamed after the reboot because it needs to replace a system file which is in use. Temporary files may be created (such as ~GLH0004.TMP) for renaming after startup due to files being in use during the installation:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations
Check to see if the PendingFileRenameOperations value exists to know if this is an issue for your package.
There was a bug in SMS installer where it would not capture these pending file rename operations. Capturing a reboot will ensure you have everything, but without a good exclusion list, it may take some effort to clean up all the changes that take place on your system during the reboot that are not associated with the application being repackaged.
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.