anchor.diff:  
   :: Sometimes the previous line doesn't work for whatever reason, so we run this line as well
   wmic product where "name like 'Java 8 Update ___'" uninstall /nointeractive
  +echo %CUR_DATE% %TIME% Done.
  +echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
  +
   
   :: Install the package from a local directory (if all files are in the same directory)
   :: Nothing below this line will log correctly, because MSI logs in a different format than the standard "echo >> %logfile%" commands. Haven't had time to find a workaround.
  +echo %CUR_DATE% %TIME% Installing package...
  +echo %CUR_DATE% %TIME% Installing package...>> "%LOGPATH%\%LOGFILE%" 2>NUL
   msiexec /i "%BINARY%" %FLAGS%
  +echo %CUR_DATE% %TIME% Done.
  +echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
  +
  +
  +
  +echo %CUR_DATE% %TIME% Disabling telemetry and cleaning up...
  +echo %CUR_DATE% %TIME% Disabling telemetry and cleaning up...>> "%LOGPATH%\%LOGFILE%" 2>NUL
   
   :: This line kills the Java Update scheduler if it's running
   %SystemRoot%\System32\taskkill.exe /f /im jusched.exe>>%LOGPATH%\%LOGFILE% 2>NUL
  
positive.code: :: INSTALLATION ::
  ::::::::::::::::::
  :: This removes previous versions of the JRE
  echo %CUR_DATE% %TIME%   Uninstalling all versions of JRE 8 x86 prior to installation of current version...>> "%LOGPATH%\%LOGFILE%"
  wmic product where "IdentifyingNumber like '{26A24AE4-039D-4CA4-87B4-2F832180__FF}'" call uninstall /nointeractive >> "%LOGPATH%\%LOGFILE%"
  :: Second version of the command is to catch JRE8 versions above 99 where they start using 3-digit identifiers instead of 2-digit
  
negative.code: :: Variables :: -- Set these to your desired values
  :::::::::::::::
  :: Log location and name. Do not use trailing slashes (\)
  set LOGPATH=%SystemDrive%\logs
  set LOGFILE=jre8_x86_install.log
  
  :: Package to install. Do not use trailing slashes (\)
  set BINARY=jre-8u231-windows-i586.msi
  set FLAGS=ALLUSERS=1 /qn /norestart /l %LOGPATH%\%LOGFILE% JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA_SECURITY_LEVEL=M
  
  :: Create the log directory if it doesn't exist
  