anchor.diff:  :: Remove old version first
   echo %CUR_DATE% %TIME% Removing previous versions, please wait...
   echo %CUR_DATE% %TIME% Removing previous versions, please wait...>> "%LOGPATH%\%LOGFILE%" 2>NUL
  -wmic product where "name like 'LibreOffice%%'" call uninstall /nointeractive
  +wmic product where "name like 'LibreOffice%%'" call uninstall /nointeractive >> "%LOGPATH%\%LOGFILE%" 2>NUL
   echo %CUR_DATE% %TIME% Done.
   echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
   
  
positive.code: :: Install the package from the local folder (if all files are in the same directory)
  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
  
  
negative.code: :: Kill running instances first
  echo %CUR_DATE% %TIME% Killing any running LibreOffice instances, please wait...
  echo %CUR_DATE% %TIME% Killing any running LibreOffice instances, please wait...>> "%LOGPATH%\%LOGFILE%" 2>NUL
  %SystemDrive%\windows\system32\taskkill.exe /F /IM soffice.bin /T >> "%LOGPATH%\%LOGFILE%" 2>NUL
  wmic process where name="soffice.bin" call terminate >> "%LOGPATH%\%LOGFILE%" 2>NUL
  echo %CUR_DATE% %TIME% Done.
  echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
  
  