Reboot issue in SAS 9.3
I am packaging the SAS 9.3 BASE. I created a response file and i am trying to install the application silently using with following parameters.
setup.exe -wait -quiet -noreboot -nomsupdate -loglevel 2 -provision -responsefile <responsefile path>
setup.exe -quiet -NOREBOOT -responsefile <responsefile path>
it reboot's the machine in the middle of the installation.
(even we get reboot prompt when we install the application in UI mode.we can cancel the reboot and proceed with installation.)
Please suggest me on this issue.
Thanks in advance,
The deployment tips section on this site for SAS details about suppressing that reboot - http://www.itninja.com/software/sas-institute/sas/9-412
The below script may help, but it isn't a nice way of doing it at all - I would avoid if at all possible and go with the vendor supported method of suppressing it.
Hope that helps,
aboveMerriam-Webster: above definition: in the sky. →
Try this vbscript:
' Remove values to avoid setup.exe rebooting installation before it is finished
Set oShell = CreateObject("WScript.Shell")
oShell.RegDelete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations"
oShell.RegDelete "HKLM\SYSTEM\CurrentControlSet\ControlSet001\Session Manager\PendingFileRenameOperations"
oShell.RegDelete "HKLM\SYSTEM\CurrentControlSet\ControlSet002\Session Manager\PendingFileRenameOperations"