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.

68 lines
2.5 KiB

  1. @echo off
  2. setlocal enableextensions
  3. if "%1"=="" goto Usage
  4. set DESTDIR=\\Mcsvss\Beta\DMA\DMA6.1\Build%1
  5. set ROOTDIR=E:\EaBuild.DMA
  6. set LOG=%ROOTDIR%\PostBuild.log
  7. set stars=********************************************************************************
  8. echo %stars% > %LOG% 2>&1
  9. echo Post Build Process started at: >> %LOG% 2>&1
  10. date /t >> %LOG% 2>&1
  11. time /t >> %LOG% 2>&1
  12. echo %stars% >> %LOG% 2>&1
  13. echo Changing drive to E: >> %LOG% 2>&1
  14. E: >> %LOG% 2>&1
  15. echo Changing directory to \BuildTools >> %LOG% 2>&1
  16. cd \BuildTools >> %LOG% 2>&1
  17. echo %stars% >> %LOG% 2>&1
  18. echo Creating %DESTDIR%...
  19. echo Creating %DESTDIR%... >> %LOG% 2>&1
  20. if not exist %DESTDIR% md %DESTDIR% >> %LOG% 2>&1
  21. echo %stars% >> %LOG% 2>&1
  22. echo Copying %ROOTDIR%\Dev\DMA\Setup\Wise\MainMenu.exe to %DESTDIR%\Setup.exe...
  23. echo Copying %ROOTDIR%\Dev\DMA\Setup\Wise\MainMenu.exe to %DESTDIR%\Setup.exe... >> %LOG% 2>&1
  24. copy %ROOTDIR%\Dev\DMA\Setup\Wise\MainMenu.exe %DESTDIR%\Setup.exe >> %LOG% 2>&1
  25. echo %stars% >> %LOG% 2>&1
  26. echo Copying %ROOTDIR%\Dev\DMA\Setup\Wise\NWMigrSetup.exe to %DESTDIR%\NWMigrSetup.exe...
  27. echo Copying %ROOTDIR%\Dev\DMA\Setup\Wise\NWMigrSetup.exe to %DESTDIR%\NWMigrSetup.exe... >> %LOG% 2>&1
  28. copy %ROOTDIR%\Dev\DMA\Setup\Wise\NWMigrSetup.exe %DESTDIR%\NWMigrSetup.exe >> %LOG% 2>&1
  29. echo %stars% >> %LOG% 2>&1
  30. echo Copying %ROOTDIR%\Dev\DMA\Setup\Wise\OUPopSetup.exe to %DESTDIR%\OUPopSetup.exe...
  31. echo Copying %ROOTDIR%\Dev\DMA\Setup\Wise\OUPopSetup.exe to %DESTDIR%\OUPopSetup.exe... >> %LOG% 2>&1
  32. copy %ROOTDIR%\Dev\DMA\Setup\Wise\OUPopSetup.exe %DESTDIR%\OUPopSetup.exe >> %LOG% 2>&1
  33. echo %stars% >> %LOG% 2>&1
  34. echo Copying license file to %DESTDIR%\License1.lic...
  35. echo Copying license file to %DESTDIR%\License1.lic... >> %LOG% 2>&1
  36. copy %ROOTDIR%\Dev\DMA\LicInstall\test.lic %DESTDIR%\License1.lic >> %LOG% 2>&1
  37. echo %stars% >> %LOG% 2>&1
  38. echo Copying %ROOTDIR%\Bin\IntelRelease\DMA.msi to %DESTDIR%...
  39. echo Copying %ROOTDIR%\Bin\IntelRelease\DMA.msi to %DESTDIR%... >> %LOG% 2>&1
  40. copy %ROOTDIR%\Bin\IntelRelease\DMA.msi %DESTDIR% >> %LOG% 2>&1
  41. echo Copying Installation Guide to %DESTDIR%...
  42. echo Copying Installation Guide to %DESTDIR%... >> %LOG% 2>&1
  43. copy "%ROOTDIR%\Dev\DMA\Documents\Installation Guide\Active Directory Migration Tool Installation Guide.doc" %DESTDIR% >> %LOG% 2>&1
  44. echo %stars% >> %LOG% 2>&1
  45. echo Post Build Process ended at: >> %LOG% 2>&1
  46. date /t >> %LOG% 2>&1
  47. time /t >> %LOG% 2>&1
  48. echo %stars% >> %LOG% 2>&1
  49. goto End
  50. :Usage
  51. echo Usage: "DmaPostBuild.cmd <Build Number>"
  52. :End
  53. endlocal