anchor.diff:  ::                2. Safe mode is strongly recommended (though not required)
   ::                3. Called from tron.bat. If you try to run this script directly it will error out
   :: Author:        vocatus on reddit.com/r/TronScript ( vocatus.gate at gmail ) // PGP key: 0x07d1490f82a211a2
  -:: Version:       1.1.1 - Remove internal log function and switch to Tron's external logging function. Thanks to github:nemchik
  +:: Version:       1.1.2 / Move Windows Vista/2008 Dism component cleanup from Stage 4 to Stage 5
  +::                1.1.1 - Remove internal log function and switch to Tron's external logging function. Thanks to github:nemchik
   ::                1.1.0 * Only patch each program if it already exists on the system. Thanks to /u/Tech604
   ::                1.0.0 + Initial write
   @echo off
  
positive.code: :::::::::::::::::::::
  :: PREP AND CHECKS ::
  :::::::::::::::::::::
  set STAGE_5_SCRIPT_VERSION=1.1.1
  set STAGE_5_SCRIPT_DATE=2015-12-09
  
  :: Quick check to see if we inherited the appropriate variables from Tron.bat
  if /i "%LOGFILE%"=="" (
  
negative.code: call functions\log.bat "%CUR_DATE% %TIME%    Launch job 'Install Windows updates'..."
  if /i %SKIP_WINDOWS_UPDATES%==no (
  	if /i %DRY_RUN%==no wuauclt /detectnow /updatenow
  	ping 127.0.0.1 -n 10 >nul
  	call functions\log.bat "%CUR_DATE% %TIME%    Done."
  ) else (
  	call functions\log.bat "%CUR_DATE% %TIME% !  SKIP_WINDOWS_UPDATES (-sw) set. Skipping Windows Updates."
  