anchor.diff:  :: INSTALLATION ::
   ::::::::::::::::::
   :: Kill Firefox first
  +echo %CUR_DATE% %TIME% Killing any running Firefox instances, please wait...
  +echo %CUR_DATE% %TIME% Killing any running Firefox instances, please wait...>> "%LOGPATH%\%LOGFILE%" 2>NUL
   %SystemDrive%\windows\system32\taskkill.exe /F /IM firefox.exe /T 2>NUL
   wmic process where name="firefox.exe" call terminate 2>NUL
  +echo %CUR_DATE% %TIME% Done.
  +echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
  +
   
   :: 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
   IF EXIST "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" "%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" /S
   IF EXIST "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" "%ProgramFiles(x86)%\Mozilla Firefox\uninstall\helper.exe" /S
   wmic product where "name like 'Mozille Firefox%%'" call uninstall /nointeractive
  +echo %CUR_DATE% %TIME% Done.
  +echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
  +
   
   :: 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
   "%BINARY%" %FLAGS%
  +echo %CUR_DATE% %TIME% Done.
  +echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
  +
   
   :: Install customizations, built with CCK2
  +echo %CUR_DATE% %TIME% Finishing configuration and cleaning up...
  +echo %CUR_DATE% %TIME% Finishing configuration and cleaning up...>> "%LOGPATH%\%LOGFILE%" 2>NUL
   if exist "%ProgramFiles(x86)%\Mozilla Firefox\" xcopy /s /e /y "autoconfig\*" "%ProgramFiles(x86)%\Mozilla Firefox"
   if exist "%ProgramFiles%\Mozilla Firefox\" xcopy /s /e /y "autoconfig\*" "%ProgramFiles%\Mozilla Firefox"
   
  
positive.code: :: Prep :: -- Don't change anything in this section
  ::::::::::
  ::@echo off
  set SCRIPT_VERSION=1.0.2
  set SCRIPT_UPDATED=2019-05-14
  :: Get the date into ISO 8601 standard date 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: :: Lets just amp this up and catch ANYWHERE it might drop a shortcut 
  del /f /s "%SystemDrive%\Users\*Firefox.lnk" 2>nul
  
  echo %CUR_DATE% %TIME% Done.
  echo %CUR_DATE% %TIME% Done.>> "%LOGPATH%\%LOGFILE%" 2>NUL
  
  :: Pop back to original directory. This isn't necessary in stand-alone runs of the script, but is needed when being called from another script
  popd
  
  :: Return exit code to SCCM/PDQ Deploy/etc
  exit /B %EXIT_CODE%
  