anchor.diff:  goto eof
   
   :DeleteConfigRegistry
  -reg delete HKCU\Software\Microsoft\VisualStudio\%VSVersion%_Config /f
  +reg delete HKCU\Software\Microsoft\VisualStudio\%VSVersion%_Config /f >nul 2>&1
   goto eof
   
   :CleanDebuggerDir
  
positive.code: goto eof
  
  :InstallFiles
  echo Installing Files
  set CopyError=
  for %%f in (%FilesToInstall%) do call :CopyFile "%~dp0%%f" "%MDDDebuggerDir%"
  
negative.code: net session >nul 2>&1
  if NOT "%ERRORLEVEL%"=="0" echo ERROR: Must be called from an elevated command prompt.& exit /b -1
  
  if NOT exist "%ProgramFiles%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" echo ERROR: Visual Studio 2015 is not installed, or is not installed to the default location.& exit /b -1
  
  set VSVersion=14.0
  set BackupDir=%LOCALAPPDATA%\Microsoft\VisualStudio\%VSVersion%\MDDDebuggerBackup\
  set MDDDebuggerDir=%ProgramFiles%\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\MDD\Debugger\
  
  set FilesToInstall=Microsoft.MICore.dll Microsoft.MIDebugEngine.dll Microsoft.MIDebugEngine.pkgdef Microsoft.MIDebugPackage.dll Microsoft.MIDebugPackage.pkgdef Microsoft.AndroidDebugLauncher.dll Microsoft.AndroidDebugLauncher.pkgdef Microsoft.IOSDebugLauncher.dll Microsoft.IOSDebugLauncher.pkgdef Microsoft.JDbg.dll
  
  