home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / TART150.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-08-28  |  3KB  |  55 lines

  1. ECHO OFF
  2. :CHECKSUB
  3. If -%1 == - GOTO ERROR1
  4.  
  5. :INSTALL
  6. CLS
  7. ECHO     ┌────────────────────────────────────────────────────────────────────┐
  8. ECHO     └ This install file will install Tombstone Artist 1.5 to:            ┘
  9. ECHO       %1
  10. ECHO     ┌ If this directory does not exist, then it will be created.         ┐
  11. ECHO     │ This install file requires that PKUNZIP either be in your current  │
  12. ECHO     │ directory, or in your path.  If it isn't, please abort this file   │
  13. ECHO     │ now and install Tombstone Artist 1.5 Manually.                     │
  14. ECHO     │                                                                    │
  15. ECHO     │ To install Tombstone Artist 1.5 manually, create the directory     │
  16. ECHO     │ that you wish to stick Tombstone Artist 1.5 in.  Change to that    │
  17. ECHO     │ directory, and unzip the TOMBART.ZIP archive with the -D parameter.│
  18. ECHO     │                                                                    │
  19. ECHO     │ If you do not wish to continue the installation, then press        │
  20. ECHO     │ CTRL-C, otherwise, press any key to continue.                      │
  21. ECHO     └────────────────────────────────────────────────────────────────────┘
  22. PAUSE >NUL
  23. If EXIST %1 goto Unzip
  24. MD %1
  25.  
  26. :UNZIP
  27. PKUNZIP -D TOMBART.ZIP %1
  28. IF ERRORLEVEL 1 GOTO ERROR2
  29. CD %1
  30. ECHO     ┌────────────────────────────────────────────────────────────────────┐
  31. ECHO     │ Tombstone Artist should now be installed.  To run, type:           │
  32. ECHO     │ TOMBART [ENTER]                                                    │
  33. ECHO     │                                                                    │
  34. ECHO     │ Please press any key to continue.                                  │
  35. ECHO     └────────────────────────────────────────────────────────────────────┘
  36. Pause >NUL
  37. VIEWRIP DEMO1
  38. GOTO END
  39.  
  40. :ERROR1
  41. ECHO     ┌────────────────────────────────────────────────────────────────────┐
  42. ECHO     │ Please supply a path to install Tombstone Artist 1.5 to, IE:       │
  43. ECHO     │ INSTALL C:\TOMBART [ENTER]                                         │
  44. ECHO     └────────────────────────────────────────────────────────────────────┘
  45. GOTO END
  46.  
  47. :ERROR2
  48. ECHO     ┌────────────────────────────────────────────────────────────────────┐
  49. ECHO     │ PKUNZIP was not able to unarchive some or all of the files.        │
  50. ECHO     │ Please make sure you gave a valid drive and path.                  │
  51. ECHO     └────────────────────────────────────────────────────────────────────┘
  52. GOTO END
  53.  
  54. :END
  55.