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.

111 lines
2.9 KiB

  1. @echo off
  2. if defined _echo echo on
  3. if defined verbose echo on
  4. setlocal ENABLEEXTENSIONS
  5. setlocal ENABLEDELAYEDEXPANSION
  6. if "%1" EQU "" (
  7. echo PROP: requires a destination directory of the form 4.17.2000
  8. goto :errend
  9. )
  10. mkdir \\dbg\privates\beta\%1
  11. mkdir \\dbg\privates\beta\%1\setup
  12. mkdir \\dbg\privates\beta\%1\symbols\%_BuildArch%
  13. mkdir \\dbg\privates\beta\%1\sdk\%_BuildArch%
  14. mkdir \\dbg\privates\beta\%1\web
  15. copy /y %_NTTREE%\dbg\sdk \\dbg\privates\beta\%1\sdk\%_BuildArch%
  16. copy /y %_NTTREE%\dbg\*.msi \\dbg\privates\beta\%1
  17. copy /y %_NTTREE%\dbg\web \\dbg\privates\beta\%1\web
  18. if /I "%_BuildArch%" EQU "ia64" (
  19. copy /y %_NTTREE%\dbg\setup_ia64.exe \\dbg\privates\beta\%1
  20. )
  21. if /I "%_BuildArch%" NEQ "x86" goto symbols
  22. copy /y %_NTTREE%\dbg\setup_x86.exe \\dbg\privates\beta\%1
  23. copy /y %_NTTREE%\dbg\dbginstall.cmd \\dbg\privates\beta\%1
  24. xcopy /S %_NTTREE%\dbg\setup \\dbg\privates\beta\%1\setup
  25. REM on X86, copy minidump.lib out there
  26. copy /y %_NTTREE%\dbg\files\minidump\minidump.lib \\dbg\privates\beta\%1\sdk\%_BuildArch%
  27. REM on X86, also copy the symbols for the check in NT4\w2k debugger extensions
  28. xcopy /S /D exts\i386\*.dbg \\dbg\privates\beta\%1\symbols\%_BuildArch%
  29. xcopy /S /D exts\i386\*.pdb \\dbg\privates\beta\%1\symbols\%_BuildArch%
  30. goto symbols
  31. :symbols
  32. xcopy /S %_NTTREE%\symbols.pri\dbg \\dbg\privates\beta\%1\symbols\%_BuildArch%
  33. REM Create a retail share
  34. set MyShare=\\dbg\privates\beta\%1.retail\cd
  35. set WebShare=\\dbg\privates\beta\%1.retail\web
  36. set OemShare=\\dbg\privates\beta\%1.retail\oem
  37. if not exist %MyShare% mkdir %MyShare%
  38. if not exist %WebShare% mkdir %WebShare%
  39. if not exist %OemShare% mkdir %OemShare%
  40. xcopy %_NTTREE%\dbg\web\*.exe %WebShare%
  41. if /i "%_BuildArch%" == "x86" (
  42. copy /y %_NTTREE%\dbg\sdk\dbg_x86.msi %MyShare%
  43. copy /y %_NTTREE%\dbg\sdk\dbg_oem.msi %OemShare%
  44. copy /y %_NTTREE%\dbg\setup_x86.exe %MyShare%
  45. if not exist %MyShare%\setup mkdir %MyShare%\setup
  46. xcopy /s %_NTTREE%\dbg\setup %MyShare%\setup
  47. rd /s /q %MyShare%\setup\winnt\alpha
  48. )
  49. if /i "%_BuildArch%" == "ia64" (
  50. copy /y %_NTTREE%\dbg\sdk\dbg_ia64.msi %MyShare%
  51. copy /y %_NTTREE%\dbg\setup_ia64.exe %MyShare%
  52. )
  53. REM Create an uncompressed share
  54. if /i "%_BuildArch%" == "x86" (
  55. set MyShare=\\dbg\privates\beta\%1\uncompressed\x86
  56. for %%a in ( nt4fre nt4chk w2kfre w2kchk ) do (
  57. if not exist !MyShare!\%%a md !MyShare!\%%a
  58. xcopy %_NTTREE%\dbg\files\bin\%%a !MyShare!\%%a
  59. )
  60. )
  61. if /i "%_BuildArch%" == "ia64" (
  62. set MyShare=\\dbg\privates\beta\%1\uncompressed\ia64
  63. )
  64. for %%a in ( triage winxp pri winext winext\manifest . ) do (
  65. if not exist !MyShare!\%%a md !MyShare!\%%a
  66. xcopy %_NTTREE%\dbg\files\bin\%%a !MyShare!\%%a
  67. )
  68. if not exist !MyShare!\sdk md !MyShare!\sdk
  69. xcopy /S %_NTTREE%\dbg\files\sdk !MyShare!\sdk
  70. copy %_NTTREE%\dbg\files\relnotes.txt !MyShare!
  71. copy %_NTTREE%\dbg\files\redist.txt !MyShare!
  72. echo Web site updated
  73. endlocal
  74. goto :EOF
  75. :errend
  76. endlocal
  77. goto :EOF