I am trying to create a script (or task sequence) to install SAP GUI version 7.4. I have found that if the system is in areboot pending state the SAP installation will fail with this error:
The application cannot be run in Win32 mode
If I reboot the PC and rerun the package it installs fine... I have tried using a "Run command line" task with 64 bit file redirection disabled, it did not help.
I would like to create a script or task sequence to check and see if the system is in a reboot-pending state, then either reboot the PC (if necessary) or continue on with the SAP installation. Is there a way for me to detect reboot pending? Either as a condition for a task, batch file, or any other means?
Thanks!
FP