anchor.diff:  	if not "%SAFE_MODE%"=="" reg add "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\%SAFEBOOT_OPTION%\MSIServer" /ve /t reg_sz /d Service /f >nul 2>&1
   	net start msiserver >nul 2>&1
   	)
  -	
  +
   :: Check for skip patches (-sp) flag or variable and skip if used
   if /i %SKIP_PATCHES%==yes (
   	call :log "%CUR_DATE% %TIME% ! SKIP_PATCHES (-sp) set. Skipping app patches."
   	goto skip_patches
   	)
  -	
  +
   
   :: JOB: 7-Zip
   title TRON v%SCRIPT_VERSION% [stage_5_patch] [Update 7-Zip]
  
positive.code: :: Where to save raw unprocessed logs from the various sub-tools
  set RAW_LOGS=%LOGPATH%\raw_logs
  
  :: Where to save the summary logs if the -gsl flag is used
  set SUMMARY_LOGS=%LOGPATH%\summary_logs
  
  
  
negative.code: ::                      -sd  Skip defrag (force Tron to ALWAYS skip Stage 5 defrag)
  ::                      -se  Skip Event Log clearing
  ::                      -sfr Skip filesystem permissions reset (saves time if you're in a hurry)
  ::                      -sk  Skip Kaspersky Virus Rescue Tool (KVRT) scan
  ::                      -sm  Skip Malwarebytes Anti-Malware (MBAM) installation
  ::                      -sp  Skip patches (do not patch 7-Zip, Java Runtime, Adobe Flash or Reader)
  ::                      -spr Skip page file settings reset (don't set to "Let Windows manage the page file")
  ::                      -srr Skip registry permissions reset (saves time if you're in a hurry)
  ::                      -ss  Skip Sophos Anti-Virus (SAV) scan
  ::                      -str Skip Telemetry Removal (don't remove Windows user tracking, Win7 and up only)
  ::                      -sw  Skip Windows Updates (do not attempt to run Windows Update)
  ::                      -v   Verbose. Show as much output as possible. NOTE: Significantly slower!
  ::                      -x   Self-destruct. Tron deletes itself after running and leaves logs intact
  ::
  ::                If you don't like the defaults and don't want to use the command-line, edit the variables below to change the script defaults.
  ::
  ::                "Do not withold good from those who deserve it, when it is in your power to act." -p3:27
  SETLOCAL
  @echo off
  :: Get the date into ISO 8601 standard date format (yyyy-mm-dd) so we can use it
  call :set_cur_date
  
  
  