anchor.diff:  
   call :DeleteIfExists "%BUNDLED_PYTHON_DIR%\Doc"
   call :DeleteIfExists "%BUNDLED_PYTHON_DIR%\tcl"
  +call :DeleteIfExists "%BUNDLED_PYTHON_DIR%\python-%PYTHON_VERSION%.msi"
   
   goto :EOF
   
  
positive.code: ::-------------------------------------------------------------------------
  :: Dependencies
  ::-------------------------------------------------------------------------
  set PORTABLE_PYTHON_VERSION=2.7.6.1
  set PORTABLE_PYTHON_URL=http://ftp.osuosl.org/pub/portablepython/v2.7/PortablePython_%PORTABLE_PYTHON_VERSION%.exe
  set PORTABLE_PYTHON_MD5=5b480c1bbbc06b779a7d150c26f2147d
  set PORTABLE_PYTHON_DEP=%DEPS_DIR%\PortablePython-%PORTABLE_PYTHON_VERSION%
  
  
  ::-------------------------------------------------------------------------
  :: Signing certificate
  ::-------------------------------------------------------------------------
  set CERT_THUMBPRINT=1d78bb47e6a8fc599ad61c639dc31048177b3800
  
  
  ::-------------------------------------------------------------------------
  :: Begin the installation process
  ::-------------------------------------------------------------------------
  if not exist "%DEPS_DIR%" mkdir "%DEPS_DIR%"
  
  call :InstallPortablePython || goto :Abort
  call :CreateBuildDirectory || goto :Abort
  call :InstallRBTools || goto :Abort
  call :RemoveUnwantedFiles || goto :Abort
  call :BuildInstaller || goto :Abort
  
negative.code: 
  
  ::-------------------------------------------------------------------------
  :: Installs Python
  ::-------------------------------------------------------------------------
  :InstallPython
  setlocal
  
  echo.
  echo == Installing Python ==
  
  set _PYTHON_INSTALLER=%TEMP%\python-%PYTHON_VERSION%.msi
  
  if not exist "%PYTHON_DEP%" (
      if not exist "%_PYTHON_INSTALLER%" (
          echo Downloading Python v%PYTHON_VERSION%...
          call :DownloadAndVerify %PYTHON_URL% ^
                                  "%_PYTHON_INSTALLER%" ^
                                  %PYTHON_MD5% || exit /B 1
  
          echo Downloaded to %_PYTHON_INSTALLER%
      )
  
      echo Running the installer...
      msiexec /quiet /a "%_PYTHON_INSTALLER%" TARGETDIR="%PYTHON_DEP%"
  
      del /F /Q "%_PYTHON_INSTALLER%"
  )
  
  goto :EOF
  