home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / objease3 / install.bat next >
Encoding:
DOS Batch File  |  1994-05-18  |  1.5 KB  |  59 lines

  1. @echo off
  2. if "%1"=="" goto error
  3. if "%2"=="" goto error
  4.  
  5. cls
  6. echo.
  7. echo.
  8. echo.
  9. echo *******************************************************************
  10. echo **                                                               **
  11. echo **              ObjectEase 3.0 Installation Utility              **
  12. echo **                                                               **
  13. echo **            (c)  Copyright 1994 - David S. Reinhart            **
  14. echo **                                                               **
  15. echo *******************************************************************
  16. echo.
  17. echo. 
  18. echo    This installation utility will create a directory on your hard
  19. echo drive called OBJEAS30 along with the necessary sub-directories.
  20. echo The enclosed archive will then be unpacked into this new directory
  21. echo tree. Installation requires 2.5 MB of free disk space on the
  22. echo destination drive. 
  23. echo. 
  24. echo Press CTRL-C to abort installation or
  25. echo.
  26. pause
  27.  
  28. :work
  29. %2
  30. cd\
  31. md OBJEAS30
  32. cd OBJEAS30
  33. echo.
  34. echo Unpacking files...
  35. %1\objeas30.exe %2 -d > NUL
  36. goto success
  37.  
  38. :error
  39. echo.
  40. echo Syntax: INSTALL A: C:   where A: is the appropriate source drive
  41. echo                         and C: is the desired destination drive.   
  42. echo.
  43. goto end
  44.  
  45. :success
  46. echo.
  47. echo ObjectEase 3.0 has been successfully installed!
  48. echo.
  49. echo Be sure to check out the demos in the OBJEAS30\DEMOS directory.
  50. echo The executable demo files are TUIDEMO.EXE, GUIDEMO.EXE, and VIDDEMO.EXE.
  51. echo.
  52. echo Happy coding!
  53. echo.
  54. echo.
  55.  
  56. :end
  57.  
  58.  
  59.