anchor.diff:  :parallels
   ::::::::::::
   set PARALLELS_INSTALL=PTAgent.exe
  +echo ==^> Detected virtualization platform: Parallels
   
   set PARALLELS_DIR=%TEMP%\parallels
   set PARALLELS_PATH=%PARALLELS_DIR%\%PARALLELS_INSTALL%
   set PARALLELS_ISO=prl-tools-win.iso
  +echo ==^> Installing the Parallels Tools with directory %PARALLELS_DIR%
  +
   mkdir "%PARALLELS_DIR%"
   pushd "%PARALLELS_DIR%"
   set PARALLELS_ISO_PATH=
  +
   @for %%i in (%PACKER_SEARCH_PATHS%) do @if not defined PARALLELS_ISO_PATH @if exist "%%~i\%PARALLELS_ISO%" set PARALLELS_ISO_PATH=%%~i\%PARALLELS_ISO%
   REM parallels tools don't have a download :(
   call :install_sevenzip
   if errorlevel 1 goto exit1
  +
   echo ==^> Extracting the Parallels Tools installer
   echo ==^>   to %PARALLELS_DIR%\*
   7z x -o"%PARALLELS_DIR%" "%PARALLELS_ISO_PATH%"
   ping 127.0.0.1
  -echo ==^> Installing Parallels Tools
  -echo ==^>   from %PARALLELS_PATH%
  +
  +echo ==^> Installing Parallels Tools from %PARALLELS_PATH%
   "%PARALLELS_PATH%" /install_silent
  +
   REM parallels tools installer tends to exit while the install agent
   REM is still running, need to sleep while it's running so we don't
   REM delete the tools.
   @if errorlevel 1 echo=^> WARNING: Error %ERRORLEVEL% was returned by: "%PARALLELS_PATH%" /install_silent
   ver>nul
  +
   echo ==^> Cleaning up Parallels Tools install
   del /F /S /Q "%PARALLELS_DIR"
  +
   echo ==^> Removing "%PARALLELS_ISO_PATH"
   del /F "%PARALLELS_ISO_PATH"
   goto :exit0
  
positive.code: :install_vbox_guest_additions_from_iso
  call :install_sevenzip
  if errorlevel 1 goto exit1
  echo ==^> Extracting the VirtualBox Guest Additions installer
  7z x -o"%VBOX_ISO_DIR%" "%VBOX_ISO_PATH%" "%VBOX_SETUP_EXE%" cert
  @if errorlevel 1 echo ==^> WARNING: Error %ERRORLEVEL% was returned by: 7z e -o"%VBOX_ISO_DIR%" "%VBOX_ISO_PATH%" "%VBOX_SETUP_EXE%"
  
negative.code: 	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_ISO=
  if not exist "%VMWARE_TOOLS_PROGRAM_FILES_DIR%" echo ==^> ERROR: Directory not found: "%VMWARE_TOOLS_PROGRAM_FILES_DIR%" & goto exit1
  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 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
  