anchor.diff:  	set VMWARE_TOOLS_ISO_PATH=%VMWARE_TOOLS_DIR%\%VMWARE_TOOLS_ISO%
   )
   if defined VMWARE_TOOLS_ISO_PATH goto install_vmware_tools_from_iso
  +
   @if errorlevel 1 echo ==^> WARNING: Error %ERRORLEVEL% was returned by: 7z e "%VMWARE_TOOLS_TAR_PATH%"
   ver>nul
   set VMWARE_TOOLS_INSTALLER_PATH=
   for %%i in ("%VMWARE_TOOLS_DIR%\tools-windows-*.exe") do set VMWARE_TOOLS_INSTALLER_PATH=%%~i
   if not exist "%VMWARE_TOOLS_INSTALLER_PATH%" echo ==^> ERROR: Failed to unzip "%VMWARE_TOOLS_TAR_PATH%" & goto exit1
  +
  +echo ==^> Installing VMware tools with %VMWARE_TOOLS_INSTALLER_PATH%
   "%VMWARE_TOOLS_INSTALLER_PATH%" /s
  -set VMWARE_TOOLS_PROGRAM_FILES_DIR=%ProgramFiles%\VMware
  -if defined ProgramFiles(x86) set VMWARE_TOOLS_PROGRAM_FILES_DIR=%ProgramFiles(x86)%\VMware
  +
  +set VMWARE_TOOLS_PROGRAM_FILES_ISO=
   if not exist "%VMWARE_TOOLS_PROGRAM_FILES_DIR%" echo ==^> ERROR: Directory not found: "%VMWARE_TOOLS_PROGRAM_FILES_DIR%" & goto exit1
  -set VMWARE_TOOLS_PROGRAM_FILES_ISO=
   for /r "%VMWARE_TOOLS_PROGRAM_FILES_DIR%" %%i in (%VMWARE_TOOLS_ISO%) do if exist "%%~i" set VMWARE_TOOLS_PROGRAM_FILES_ISO=%%~i
   if not exist "%VMWARE_TOOLS_PROGRAM_FILES_ISO%" echo ==^> ERROR: File not found: "%VMWARE_TOOLS_ISO%" in "%VMWARE_TOOLS_PROGRAM_FILES_DIR%" & goto exit1
  +
   set VMWARE_TOOLS_ISO_PATH="%VMWARE_TOOLS_DIR%\%VMWARE_TOOLS_ISO%"
   copy /y "%VMWARE_TOOLS_PROGRAM_FILES_ISO%" "%VMWARE_TOOLS_ISO_PATH%"
   if not exist "%VMWARE_TOOLS_ISO_PATH%" echo ==^> ERROR: File not found: "%VMWARE_TOOLS_ISO_PATH%" & goto exit1
  +
   rmdir /q /s "%VMWARE_TOOLS_PROGRAM_FILES_DIR%\tools-windows" || ver>nul
   rmdir "%VMWARE_TOOLS_PROGRAM_FILES_DIR%" || ver>nul
   
   :install_vmware_tools_from_iso
   call :install_sevenzip
   if errorlevel 1 goto exit1
  -echo ==^> Extracting the VMWare Tools installer
  +
  +echo ==^> Extracting the VMware Tools installer to %VMWARE_TOOLS_DIR% from %VMWARE_TOOLS_ISO_PATH%
   7z e -o"%VMWARE_TOOLS_DIR%" "%VMWARE_TOOLS_ISO_PATH%" "%VMWARE_TOOLS_SETUP_EXE%"
   @if errorlevel 1 echo ==^> WARNING: Error %ERRORLEVEL% was returned by: 7z e -o"%VMWARE_TOOLS_DIR%" "%VMWARE_TOOLS_ISO_PATH%" "%VMWARE_TOOLS_SETUP_EXE%"
   ver>nul
  
positive.code: msiexec /qb /i "%SEVENZIP_PATH%"
  @if errorlevel 1 echo ==^> WARNING: Error %ERRORLEVEL% was returned by: msiexec /qb /i "%SEVENZIP_PATH%"
  ver>nul
  set SEVENZIP_INSTALL_DIR=
  for %%i in ("%ProgramFiles%" "%ProgramW6432%" "%ProgramFiles(x86)%") do if exist "%%~i\7-Zip" set SEVENZIP_INSTALL_DIR=%%~i\7-Zip
  if exist "%SEVENZIP_INSTALL_DIR%" cd /D "%SEVENZIP_INSTALL_DIR%" & goto find_sevenzip
  
negative.code: ::::::::::::
  :install_sevenzip
  ::::::::::::
  if "%PROCESSOR_ARCHITECTURE%" == "x86" (
    set SEVENZIP_URL=%SEVENZIP_32_URL%
  ) else (
    set SEVENZIP_URL=%SEVENZIP_64_URL%
  )
  pushd .
  set SEVENZIP_EXE=
  