home *** CD-ROM | disk | FTP | other *** search
/ Between Heaven & Hell 2 / BetweenHeavenHell.cdr / 500 / 433 / pyinst.bat < prev    next >
DOS Batch File  |  1986-10-19  |  4KB  |  109 lines

  1. ECHO OFF
  2. PINNACLE
  3. ECHO ║
  4. ECHO ║   ───── IS YOUR COMPUTER CONFIGURED APPROPRIATELY? ─────
  5. ECHO ║   1.  You have two diskette drives (A and B)  or  a Hard Disk (C).
  6. ECHO ║   2.  You have at least 128K.
  7. ECHO ║
  8. QUERY Is all this correct?  @NY
  9. IF ERRORLEVEL 2 GOTO OKAYCOMP
  10. CLS
  11. ECHO Sorry, your system must be expanded before you can run Pyroto.
  12. ECHO ─────
  13. ECHO One moment, please ...
  14. GOTO ENDBAT
  15. :OKAYCOMP
  16. CLS
  17. ECHO ║   ───── IS YOUR MODEM CONFIGURED APPROPRIATELY? ─────
  18. ECHO ║   1.  Your modem issues status codes to indicate answering (with
  19. ECHO ║       speed information if it's a 1200 or 2400 baud modem).
  20. ECHO ║   2A. Your modem can use the Data Terminal Ready signal to detect the
  21. ECHO ║       readiness of the computer, and if your modem uses an "RS-232
  22. ECHO ║       cable", Pin 20 is connected.  OR ...
  23. ECHO ║   2B. Your modem can go into "local" mode when it detects an "Atten-
  24. ECHO ║       tion" sequence.  (On AT-command modems, this sequence is "+++".)
  25. ECHO ║   3.  Your modem can answer the phone automatically with an "Answer" tone.
  26. ECHO ║
  27. QUERY Is all this correct?  @NY
  28. IF ERRORLEVEL 2 GOTO OKAYMODM
  29. CLS
  30. ECHO ║   Sorry, Pyroto may not be able to support your modem in its present
  31. ECHO ║   configuration.  It MAY support it, but you'll have to experiment.
  32. ECHO ║
  33. ECHO ║   However, you can still use Pyroto in "Local" mode (at your screen).
  34. ECHO ║
  35. QUERY Do you wish to continue?  @YN
  36. IF ERRORLEVEL 2 GOTO ENDBAT
  37. :OKAYMODM
  38. CLS
  39. ECHO ║   ───── METHOD SELECTION ─────
  40. ECHO ║   Are you installing on a hard-disk or "floppy" diskettes?
  41. ECHO ║
  42. QUERY Enter H or F  @HF
  43. IF ERRORLEVEL 2 GOTO FLOPIN
  44. CLS
  45. ECHO ║   ───── PRE-INSTALLATION CHECK ─────
  46. ECHO ║   Since you are installing on a hard disk:
  47. ECHO ║     You must be logged on to the hard disk.
  48. ECHO ║     You must be in the same sub-directory as all the Pyroto files.
  49. ECHO ║
  50. QUERY Is all this correct?  @NY
  51. IF ERRORLEVEL 2 GOTO OKAYHARD
  52. GOTO BADDISK
  53. :FLOPIN
  54. CLS
  55. ECHO ║   ───── PRE-INSTALLATION CHECK ─────
  56. ECHO ║   Since you are installing to diskettes:
  57. ECHO ║     You must be logged on to the drive containing the Pyroto files.
  58. ECHO ║     You must be in the sub-directory (if any) containing the files.
  59. ECHO ║     You must have a freshly formatted diskette  with   DOS.
  60. ECHO ║     You must have a freshly formatted diskette without DOS.
  61. ECHO ║
  62. QUERY Is all this correct?  @NY
  63. IF ERRORLEVEL 2 GOTO OKAYFLOP
  64. :BADDISK
  65. ECHO ─────
  66. ECHO Please correct this situation so installation can proceed normally.
  67. ECHO Then re-run PYINST from the beginning.
  68. ECHO ─────
  69. ECHO One moment, please ...
  70. GOTO ENDBAT
  71. :OKAYHARD
  72. MD MESSAGES
  73. GOTO CUSTOM
  74. :OKAYFLOP
  75. CLS
  76. ECHO ║   Write up a diskette label:  PYROTO DRIVE A.
  77. ECHO ║   Stick this label on the diskette WITH DOS.
  78. ECHO ║   Insert the diskette WITH DOS into Drive B.
  79. ECHO ║
  80. QUERY Press  Y  when you've done all this.  @Y
  81. COPY PY*.COM B:
  82. COPY PY*.000 B:
  83. COPY *.TXT B:
  84. COPY *.DAT B:
  85. CLS
  86. ECHO ║   Write up a diskette label:  PYROTO DRIVE B.
  87. ECHO ║   Stick this label on the diskette WITHOUT DOS.
  88. ECHO ║   Insert the diskette WITHOUT DOS into Drive B.
  89. ECHO ║
  90. QUERY Press  Y  when you've done all this.  @Y
  91. B:
  92. CD \
  93. MD MESSAGES
  94. A:
  95. :CUSTOM
  96. CLS
  97. ECHO ║   ───── CUSTOMIZATION PHASE ─────
  98. ECHO ║   You must now use a text-editor (EDLIN or whatever) to modify the file
  99. ECHO ║   named  PYCONFIG.DAT  in order to:
  100. ECHO ║   1.  Specify appropriate commands for your modem.
  101. ECHO ║   2.  Identify your modem's responses.
  102. ECHO ║   3.  Specify the "first-level" password for the WizOp.
  103. ECHO ║   4.  Other useful stuff like that.
  104. ECHO ║
  105. ECHO ║   If you're using diskettes, it's now time to:
  106. ECHO ║   Place the diskette labelled "PYROTO DRIVE A" into Drive A.
  107. ECHO ║   Place the diskette labelled "PYROTO DRIVE B" into Drive B.
  108. ECHO ║
  109. :ENDBAT