'' return code is alwyas "CONTINUE" unless dialog box
'' alloed an "EXIT" button
''
if sz$ <> "CONTINUE" then
dputs("--- User chose not to restart Windows")
CloseLogFile
boolLog% = 0
end '' END SCRIPT!
endif
dputs("--- Attempting to restart Windows")
CloseLogFile
boolLog% = 0
if RebootSystem = 0 then
if RestartListEmpty = 1 then
i% = DoMsgBox("Shanghai Great Moments may not run correctly until you restart Windows.", "Unable to Restart Windows", MB_ICONEXCLAMATION+MB_OK+MB_TASKMODAL)
else
i% = DoMsgBox("Fatal install failure. Please reinstall Shanghai Great Moments.", "Unable to Restart Windows", MB_ICONEXCLAMATION+MB_OK+MB_TASKMODAL)