anchor.diff:  	echo    REPO_URL:               %REPO_URL%
   	echo    REPO_SCRIPT_VERSION:    %REPO_SCRIPT_VERSION%
   	echo    REPO_SCRIPT_DATE:       %REPO_SCRIPT_DATE%
  +	echo    RESUME_DETECTED:        %RESUME_DETECTED%
  +	echo    RESUME_STAGE:           %RESUME_STAGE%
   	echo    SCRIPT_VERSION:         %SCRIPT_VERSION%
   	echo    SCRIPT_DATE:            %SCRIPT_DATE%
  -	:: We need this setlocal/endlocal pair because on Vista the OS name has "(TM)" in it, which breaks the script. Sigh
  +	:: We need this set/endlocal pair because on Vista the OS name has "(TM)" in it, which breaks the script. Sigh
   	SETLOCAL ENABLEDELAYEDEXPANSION
   	echo    WIN_VER:                !WIN_VER!
   	ENDLOCAL DISABLEDELAYEDEXPANSION
  
positive.code: :: JRE 7
  echo %CUR_DATE% %TIME%    JRE 7...>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    JRE 7...
  %WMIC% product where "IdentifyingNumber like '{26A24AE4-039D-4CA4-87B4-2F___170__FF}'" call uninstall /nointeractive >> "%LOGPATH%\%LOGFILE%"
  
  :: JRE 6
  echo %CUR_DATE% %TIME%    JRE 6...>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    JRE 6...
  :: 1st line is for updates 23-xx, after 64-bit runtimes were introduced.
  :: 2nd line is for updates 1-22, before Oracle released 64-bit JRE 6 runtimes
  %WMIC% product where "IdentifyingNumber like '{26A24AE4-039D-4CA4-87B4-2F8__160__FF}'" call uninstall /nointeractive>> "%LOGPATH%\%LOGFILE%"
  %WMIC% product where "IdentifyingNumber like '{3248F0A8-6813-11D6-A77B-00B0D0160__0}'" call uninstall /nointeractive>> "%LOGPATH%\%LOGFILE%"
  
  :: JRE 5
  echo %CUR_DATE% %TIME%    JRE 5...>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    JRE 5...
  %WMIC% product where "IdentifyingNumber like '{3248F0A8-6813-11D6-A77B-00B0D0150__0}'" call uninstall /nointeractive>> "%LOGPATH%\%LOGFILE%"
  
  :: JRE 4
  echo %CUR_DATE% %TIME%    JRE 4...>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    JRE 4...
  %WMIC% product where "IdentifyingNumber like '{7148F0A8-6813-11D6-A77B-00B0D0142__0}'" call uninstall /nointeractive>> "%LOGPATH%\%LOGFILE%"
  
  echo %CUR_DATE% %TIME%    Done.>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%    Done.
  
negative.code: :: STAGE 4: Patches ::
  ::::::::::::::::::::::
  :stage_4_patch
  :: Stamp current stage so we can resume if we get interrupted by a reboot
  echo stage_4_patch>tron_stage.txt
  title TRON v%SCRIPT_VERSION% [stage_4_patch]
  echo %CUR_DATE% %TIME%   stage_4_patch jobs begin...>> "%LOGPATH%\%LOGFILE%"
  echo %CUR_DATE% %TIME%   stage_4_patch jobs begin...
  