home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0430 - 0439 / ibm0430-0439 / ibm0438.tar / ibm0438 / SQL42116.ZIP / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-07-16  |  1.1 KB  |  52 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo.
  5. echo     You should have unzipped all the zip files to the root of this
  6. echo     hard drive.   If you haven't done this then cancel the install
  7. echo     and do so.  Do not try and install then from floppy or accross
  8. echo     a network. Just place the files in the root directory and they
  9. echo     will create their own directory upon installation.....
  10. echo.
  11. echo.
  12. choice /c:YN /t:N,10 /n  "    Install This Software Now (Y or N):
  13. if ERRORLEVEL 2 goto 2
  14. if ERRORLEVEL 1 goto 1
  15. goto EXIT
  16.  
  17. :2
  18. cls
  19. echo.
  20. echo.
  21. Echo Installation aborted By User...
  22. echo.
  23. echo.
  24. Echo Please place the proper files in the root directory and retry!
  25. goto EXIT
  26.  
  27. :1
  28. cls
  29. echo.
  30. Echo Installation in progress.....
  31. echo.
  32. unrip x -y -v *.001
  33. if ERRORLEVEL 1 goto L2
  34. if ERRORLEVEL 0 goto L1
  35.  
  36. :L2
  37. cls
  38. ECHO.
  39. echo There was an error! Either the archive files from the zip files could
  40. echo not be found or there was a corrupt archive file.  Be sure the files
  41. echo from the zip are in the root directoy and try again!
  42. goto EXIT
  43.  
  44. :L1
  45. echo.
  46. ECHO Installation Was Successful!
  47. echo.
  48. goto EXIT
  49.  
  50. :EXIT
  51. echo.
  52.