isbuild.bat 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. if "%2"=="" goto Usage
  2. set ISBUILDLOG=%LOGDIR%\isbuild.log
  3. title Running InstallShield for build %1
  4. call %SCRIPTDIR%\isbuild\isinit.bat
  5. rem
  6. rem Delete the old temp files.
  7. rem
  8. delnode /q "%ISMEDIADISK%"
  9. if exist %ISTEMP% delnode /q %ISTEMP%
  10. mkdir %ISTEMP%
  11. mkdir %ISTEMP%\help
  12. rem
  13. rem Some files are copied from the build tree. Since slm makes these
  14. rem files read only, we have to copy them somewhere else so they don't
  15. rem get installed as read only files.
  16. rem
  17. copy %FEDROOT%\src\bin\oblivwiz.exe %ISTEMP%
  18. copy %FEDROOT%\src\bin\tahomabd.ttf %ISTEMP%
  19. copy %FEDROOT%\src\bin\tahoma.ttf %ISTEMP%
  20. copy %FEDROOT%\src\bin\fsmon.exe %ISTEMP%
  21. copy %FEDROOT%\src\setup\msvcrt.dll %ISTEMP%
  22. copy %FEDROOT%\src\setup\msvcrtd.dll %ISTEMP%
  23. copy %FEDROOT%\src\setup\zticketc.dll %ISTEMP%
  24. copy %FEDROOT%\src\setup\zticketc.pdb %ISTEMP%
  25. xcopy /E /I %FEDROOT%\src\artwork\help\* %ISTEMP%\help
  26. rem
  27. rem Run the InstallShield build process.
  28. rem
  29. run /b /ttc %ISBUILDLOG% isbuild.exe -p"%ISROOT%" -mDefault -b"%ISMEDIAROOT%"
  30. rem
  31. rem Copy the InstallShield build to the file share location.
  32. rem
  33. if not exist %PROPDIR%\%1 mkdir %PROPDIR%\%1
  34. run /b /ttca %ISBUILDLOG% xcopy /I /S "%ISMEDIADISK%\*.*" %PROPDIR%\%1
  35. run /b /ttca %ISBUILDLOG% xcopy /I /S %2 %PROPDIR%\%1
  36. set ISBUILDLOG=
  37. call %SCRIPTDIR%\isbuild\isterm.bat
  38. goto End
  39. :Usage
  40. echo Usage: isbuild.bat [build number] [directx file location]
  41. set BUILDERROR=1
  42. goto End
  43. :End