anchor.diff:  wmic product where "IdentifyingNumber like '{26A24AE4-039D-4CA4-87B4-2F8__1_0__F_}'" call uninstall /nointeractive>> "%RAW_LOGS%\%LOGFILE%" 2>NUL
   wmic product where "IdentifyingNumber like '{26A24AE4-039D-4CA4-87B4-2F__1_0___F_}'" call uninstall /nointeractive>> "%RAW_LOGS%\%LOGFILE%" 2>NUL
   :: Sometimes the previous lines don't work for whatever reason, so we run this as well
  -wmic product where "name like 'Java%%Update%%'" uninstall /nointeractive 2>NUL
  +wmic product where "name like 'Java 8 Update ___'" uninstall /nointeractive 2>NUL
   
   
   :: Nothing below this line logs correctly because msiexec logs in a different format than the standard "echo >> %logfile%" commands. Haven't had time to find a workaround.
  
positive.code: :: Prep :: -- Don't change anything in this section
  ::::::::::
  @echo off
  set SCRIPT_VERSION=1.6.4-TRON
  set SCRIPT_UPDATED=2017-05-04
  :: Get the date into ISO 8601 standard format (yyyy-mm-dd) so we can use it
  FOR /f %%a in ('WMIC OS GET LocalDateTime ^| find "."') DO set DTS=%%a
  set CUR_DATE=%DTS:~0,4%-%DTS:~4,2%-%DTS:~6,2%
  
negative.code: set LOGFILE=tron_jre8_update.log
  
  :: Package to install
  set BINARY_VERSION=8u144
  set FLAGS=ALLUSERS=1 /qn /norestart /l %RAW_LOGS%\%LOGFILE% JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA_SECURITY_LEVEL=M
  
  
  