anchor.diff:  
   :pause
   @if PACKER_PAUSE leq 0 goto :eof
  -@set _TEMPNAME=%TEMP%\%~nx0-%RANDOM%.tmp
  +@set "_TEMPNAME=%TEMP%\%~nx0-%RANDOM%.tmp"
   @for /L %%i in (1,1,%PACKER_PAUSE%) do @call :pause1 %%i
   @del "%_TEMPNAME%"
   @goto :eof
  
positive.code: set VBOX_SETUP_PATH=
  set VBOX_SETUP_DIR=
  
  @for %%i in (%PACKER_SEARCH_PATHS%) do @if not defined VBOX_SETUP_PATH @if exist "%%~i\%VBOX_SETUP_EXE%" (set VBOX_SETUP_PATH=%%~i\%VBOX_SETUP_EXE% & set VBOX_SETUP_DIR=%%~i)
  if defined VBOX_SETUP_PATH goto install_vbox_guest_additions
  
  :: if VBoxGuestAdditions.iso is zero bytes, then download it
  set _VBOX_ISO_SIZE=0
  @for %%i in (%PACKER_SEARCH_PATHS%) do @if exist "%%~i\%VBOX_ISO%" set VBOX_ISO_PATH=%%~i\%VBOX_ISO%
  if exist "%VBOX_ISO_PATH%" for %%i in (%VBOX_ISO_PATH%) do set _VBOX_ISO_SIZE=%%~zi
  if %_VBOX_ISO_SIZE% GTR 0 goto install_vbox_guest_additions_from_iso
  
  call "%SystemRoot%\_download.cmd" "%VBOX_ISO_URL%" "%VBOX_ISO_PATH%"
  
negative.code: )
  
  if not defined PACKER_SEARCH_PATHS set PACKER_SEARCH_PATHS="%USERPROFILE%" a: b: c: d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x: y: z:
  if not defined SEVENZIP_32_URL set "SEVENZIP_32_URL=http://7-zip.org/a/7z1604.msi"
  if not defined SEVENZIP_64_URL set "SEVENZIP_64_URL=http://7-zip.org/a/7z1604-x64.msi"
  if not defined VBOX_ISO_URL set "VBOX_ISO_URL=http://download.virtualbox.org/virtualbox/5.1.30/VBoxGuestAdditions_5.1.30.iso"
  if not defined VMWARE_TOOLS_OLD_BASEURL set "VMWARE_TOOLS_OLD_BASEURL=https://packages.vmware.com/tools/releases/10.2.5/windows"
  if not defined VMWARE_TOOLS_OLD_BASENAME set "VMWARE_TOOLS_OLD_BASENAME=VMware-tools-windows-10.2.5-8068406"
  if not defined VMWARE_TOOLS_LATEST_BASEURL set "VMWARE_TOOLS_LATEST_BASEURL=https://packages.vmware.com/tools/releases/11.1.0/windows"
  if not defined VMWARE_TOOLS_LATEST_BASENAME set "VMWARE_TOOLS_LATEST_BASENAME=VMware-tools-windows-11.1.0-16036546"
  goto main
  
  ::::::::::::
  :install_sevenzip
  ::::::::::::
  if "%PROCESSOR_ARCHITECTURE%" == "x86" (
    set "SEVENZIP_URL=%SEVENZIP_32_URL%"
  ) else (
    set "SEVENZIP_URL=%SEVENZIP_64_URL%"
  )
  pushd .
  set SEVENZIP_EXE=
  set SEVENZIP_DLL=
  for %%i in (7z.exe) do set "SEVENZIP_EXE=%%~$PATH:i"
  if defined SEVENZIP_EXE goto return0
  @for %%i in (%PACKER_SEARCH_PATHS%) do @if not defined SEVENZIP_EXE @if exist "%%~i\7z.exe" set "SEVENZIP_EXE=%%~i\7z.exe"
  if not defined SEVENZIP_EXE goto get_sevenzip
  @for %%i in (%PACKER_SEARCH_PATHS%) do @if not defined SEVENZIP_DLL @if exist "%%~i\7z.dll" set "SEVENZIP_DLL=%%~i\7z.dll"
  if not defined SEVENZIP_DLL goto get_sevenzip
  ver >nul
  call :copy_sevenzip
  if not errorlevel 1 goto return0
  
  :get_sevenzip
  for %%i in ("%SEVENZIP_URL%") do set "SEVENZIP_MSI=%%~nxi"
  set "SEVENZIP_DIR=%TEMP%\sevenzip"
  set "SEVENZIP_PATH=%SEVENZIP_DIR%\%SEVENZIP_MSI%"
  echo ==^> Creating "%SEVENZIP_DIR%"
  