Reboot Computer and Resume Setup fails to resume
Posted: Thu Mar 03, 2011 12:44 pm
On secured military Windows XP systems, the reboot Computer and resume setup command is not always resuming my setup after .NET Framework 4.0 requests a reboot. The reboot always works correctly, but in on many systems the resume does not happen. I have been able to confirm with logging that my installer is never started after the reboot. I am also installing MSI 4.5 and SQL Express and if they require a reboot my setup is properly started after the reboot. The.Net 4 framework is installed correctly.
I am using the Installaware 9 script setupnet4_x86, the following is the relevant code:
In our testing the systems that don’t resume are consistent in that they never resume. I have tried to determine why these systems require a reboot in the first place, but to no avail.
Has anyone seen anything like this?
Sincerely,
John LeBrun ([email protected])
I am using the Installaware 9 script setupnet4_x86, the following is the relevant code:
Code: Select all
Run Program $DOTNET40_FILEBAG_X86$\Setup /x86 /q (WAIT, get result into variable DOTNET40_RESULT_X86)
Set Variable PROGRESSMODE to
if Variable DOTNET40_RESULT_X86 Equals 3010
MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Once your computer restarts, login as “$USERNAME$” to resume setup.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$.$NEWLINE$
if Variable REBOOTNOW Equals OK
Reboot Computer and Resume Setup
else
Terminate Installation
end
endHas anyone seen anything like this?
Sincerely,
John LeBrun ([email protected])