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.

87 lines
2.6 KiB

  1. @setlocal
  2. @set bldtools=%~dp0
  3. @path %bldtools%;%path%
  4. @set restart=
  5. @set basename=%0
  6. @if /i "%1"=="restart" shift & set restart=%2 & shift
  7. @if "%1" == "" goto usage
  8. @if "%2" == "" goto usage
  9. @if "%3" == "" goto usage
  10. @if "%4" == "" goto usage
  11. @if "%5" == "" goto usage
  12. @if "%6" == "" goto usage
  13. @if not "%7" == "" goto usage
  14. @if not "%restart%"=="" goto %restart%
  15. :hotflat
  16. call hotflat.bat %1 %2 %3 %4 %5 %6 test
  17. :hotver
  18. @echo on
  19. call hoturl.bat %1 %2 %3 %4 %5 %6 test
  20. @echo on
  21. call hotver.bat %1 %2 %3 %4 %5 %6 test
  22. :hotpat
  23. @echo on
  24. call hoturl.bat %1 %2 %3 %4 %5 %6 rtm
  25. @echo on
  26. call hotpat.bat %1 %2 %3 %4 %5 %6 rtm
  27. @echo on
  28. call hoturl.bat %1 %2 %3 %4 %5 %6 test
  29. @echo on
  30. call hotpat.bat %1 %2 %3 %4 %5 %6 test
  31. :hotpsf
  32. @echo on
  33. call hotpsf.bat %1 %2 %3 %4 %5 %6 test
  34. :hotprop
  35. @echo on
  36. call hotprop.bat %1 %2 %3 %4 %5 %6 test
  37. :hotroom
  38. rem @echo on
  39. rem call hotroom.bat %1 %2 %3 %4 %5 %6 test
  40. goto Done
  41. :usage
  42. @echo off
  43. echo.
  44. rem %0 (shifted) %1 %2 %3 %4 %5 %6 %7
  45. echo hotall [restart {phase}] {config} {Q######} {language} {platform} {SP#} {package} {symbolpath}
  46. echo.
  47. echo Ex: hotall hotbuild Q307401 en x86 sp1
  48. echo \\cprfixwa\fixes\Microsoft\winnt\WxP\sp1\21699\2600\free\ENU\i386\Q308928_WXP_SP1_x86_ENU.exe
  49. echo \\cprfixwa\fixes\Microsoft\winnt\WxP\sp1\21699\2600\free\ENU\i386\msonly\symbols
  50. echo Ex: hotall restart hotpsf hotbuild Q307401 en x86 \\cprfixwa\fixes\Microsoft\winnt\WxP\sp1\21699\2600\free\ENU\i386\Q308928_WXP_SP1_x86_ENU.exe \\cprfixwa\fixes\Microsoft\winnt\WxP\sp1\21699\2600\free\ENU\i386\msonly\symbols sp1
  51. echo.
  52. echo config base name of this configuration file (%basename%)
  53. echo Q###### Package's KB article ID, ie, "Q308928"
  54. echo language any language code from in %~dp0languages.lst, ie, "usa"
  55. echo platform i386/x86, ia64, nec98
  56. echo SP# package's pre-SP#, ie, "SP1"
  57. echo package full path to the packaged hotfix
  58. echo symbols full path to the hotfix's symbols
  59. echo.
  60. echo {buildtype}
  61. echo hotbuild typical daily build
  62. rem echo prebuild prebuild patches using BVT share (no prop)
  63. rem echo noprop Same as "build", but don't prop
  64. rem echo bvtbuild build using BVT share (prop for patch BVT)
  65. echo.
  66. echo restart {phase}
  67. echo hotflat same as full build
  68. echo hotver assume stage is all ready
  69. echo hotpat start at building patch EXEs
  70. echo hotpsf restart patch generation
  71. echo hotprop re-attempt propping finished build
  72. rem echo hotroom only scrub to free up disk space
  73. echo.
  74. :Done