anchor.diff:  REM At this point - we should have the version number.
   REM We can build the url like so: "https://www.python.org/ftp/python/[version]/python-[version]-amd64.exe"
   set "url=https://www.python.org/ftp/python/!release!/python-!release!-amd64.exe"
  +set "pytype=exe"
  +if "!targetpy!" == "2" (
  +    set "url=https://www.python.org/ftp/python/!release!/python-!release!.amd64.msi"
  +    set "pytype=msi"
  +)
   REM Now we download it with our slick powershell command
  -powershell -command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-object System.Net.WebClient).DownloadFile('!url!','%TEMP%\pyinstall.exe')"
  +powershell -command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-object System.Net.WebClient).DownloadFile('!url!','%TEMP%\pyinstall.!pytype!')"
   REM If it doesn't exist - we bail
  -if not exist "%TEMP%\pyinstall.exe" (
  +if not exist "%TEMP%\pyinstall.!pytype!" (
       goto checkpy
   )
   REM It should exist at this point - let's run it to install silently
   echo Installing...
  -echo pyinstall.exe /quiet PrependPath=1 Include_test=0 Shortcuts=0 Include_launcher=0
   pushd "%TEMP%"
  -pyinstall.exe /quiet PrependPath=1 Include_test=0 Shortcuts=0 Include_launcher=0
  +if /i "!pytype!" == "exe" (
  +    echo pyinstall.exe /quiet PrependPath=1 Include_test=0 Shortcuts=0 Include_launcher=0
  +    pyinstall.exe /quiet PrependPath=1 Include_test=0 Shortcuts=0 Include_launcher=0
  +) else (
  +    set "foldername=!release:.=!"
  +    echo msiexec /i pyinstall.msi /qb ADDLOCAL=ALL TARGETDIR="%LocalAppData%\Programs\Python\Python!foldername:~0,2!"
  +    msiexec /i pyinstall.msi /qb ADDLOCAL=ALL TARGETDIR="%LocalAppData%\Programs\Python\Python!foldername:~0,2!"
  +)
   popd
  -echo Installer finsihed with %ERRORLEVEL% status.
  +echo Installer finished with %ERRORLEVEL% status.
   REM Now we should be able to delete the installer and check for py again
  -del "%TEMP%\pyinstall.exe"
  +del "%TEMP%\pyinstall.!pytype!"
   REM If it worked, then we should have python in our PATH
   REM this does not get updated right away though - let's try
   REM manually updating the local PATH var
   set "spath="
   set "upath="
  -for /f "tokens=2* delims= " %%i in ('reg.exe query "HKCU\Environment" /v "Path" 2^> nul') do (
  -    if NOT "%%j"=="" (
  -		set "upath=%%j"
  -	)
  -)
  -for /f "tokens=2* delims= " %%i in ('reg.exe query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "Path" 2^> nul') do (
  -    if NOT "%%j"=="" (
  -		set "spath=%%j"
  -	)
  -)
  +for /f "tokens=2* delims= " %%i in ('reg.exe query "HKCU\Environment" /v "Path" 2^> nul') do ( if not "%%j" == "" set "upath=%%j" )
  +for /f "tokens=2* delims= " %%i in ('reg.exe query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v "Path" 2^> nul') do ( if not "%%j" == "" set "spath=%%j" )
   if not "!spath!" == "" (
       REM We got something in the system path
       set "PATH=!spath!"
  
positive.code: echo  # Python Not Found #
  echo ###              ###
  echo.
  echo Python was not found on the system or in the PATH var.
  echo.
  set /p "menu=Would you like to install it now? [y/n]: "
  if /i "!menu!"=="y" (
  
negative.code:         echo   ###     ###
          echo  # Warning #
          echo ###     ###
          echo.
          REM Couldn't install for whatever reason - give the error message
          echo Python is not installed or not found in your PATH var.
          echo Please install it from https://www.python.org/downloads/windows/
  