Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

  1. @if "%_echo%"=="" echo off
  2. setlocal
  3. set URTINSTALL_LOGFILE=%TEMP%\urtinstall.log
  4. set COMPLUS_MAJORVERSION=v1.0
  5. set URT_VERSION=3705
  6. set COMPLUS_VERSION=%COMPLUS_MAJORVERSION%.%URT_VERSION%
  7. set MSCOREE_DEST=%systemroot%\system32
  8. set URTBASE=%RazzleToolPath%\%PROCESSOR_ARCHITECTURE%\managed
  9. set URTINSTALL=%URTBASE%\urtinstall
  10. set URTTARGET=%URTBASE%\urt\%COMPLUS_VERSION%
  11. set COMPLUS_InstallRoot=%URTBASE%\urt
  12. set URTSDKTARGET=%URTBASE%\sdk
  13. if "%_FORCE_URT_INSTALL%" == "1" goto DoInstall
  14. perl %URTINSTALL%\chkurt.pl %URTBASE%\urt\ %URT_VERSION%
  15. if errorlevel 2 goto EOF
  16. if errorlevel 1 goto DoUninstallMessage
  17. if errorlevel 0 goto DoInstall
  18. goto EOF
  19. :DoInstall
  20. echo Razzle will now install version %URT_VERSION% of the URT.
  21. echo Please be patient during this time (and don't open another
  22. echo razzle window 'til it's done!).
  23. REM TODO
  24. path=%BUILD_PATH%
  25. copy /y %URTINSTALL%\mscoree.dll %MSCOREE_DEST% >nul 2>&1
  26. call %URTINSTALL%\regurt.cmd
  27. call %URTINSTALL%\prejit.cmd
  28. goto EOF
  29. REM TODO
  30. REM SXS hasn't really been tested, so be paranoid for now.
  31. REM Just quietly exit ...
  32. REM
  33. :DoUninstallMessage
  34. :EOF
  35. endlocal