home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Between Heaven & Hell 2
/
BetweenHeavenHell.cdr
/
500
/
433
/
pyinst.bat
< prev
next >
Wrap
DOS Batch File
|
1986-10-19
|
4KB
|
109 lines
ECHO OFF
PINNACLE
ECHO ║
ECHO ║ ───── IS YOUR COMPUTER CONFIGURED APPROPRIATELY? ─────
ECHO ║ 1. You have two diskette drives (A and B) or a Hard Disk (C).
ECHO ║ 2. You have at least 128K.
ECHO ║
QUERY Is all this correct? @NY
IF ERRORLEVEL 2 GOTO OKAYCOMP
CLS
ECHO Sorry, your system must be expanded before you can run Pyroto.
ECHO ─────
ECHO One moment, please ...
GOTO ENDBAT
:OKAYCOMP
CLS
ECHO ║ ───── IS YOUR MODEM CONFIGURED APPROPRIATELY? ─────
ECHO ║ 1. Your modem issues status codes to indicate answering (with
ECHO ║ speed information if it's a 1200 or 2400 baud modem).
ECHO ║ 2A. Your modem can use the Data Terminal Ready signal to detect the
ECHO ║ readiness of the computer, and if your modem uses an "RS-232
ECHO ║ cable", Pin 20 is connected. OR ...
ECHO ║ 2B. Your modem can go into "local" mode when it detects an "Atten-
ECHO ║ tion" sequence. (On AT-command modems, this sequence is "+++".)
ECHO ║ 3. Your modem can answer the phone automatically with an "Answer" tone.
ECHO ║
QUERY Is all this correct? @NY
IF ERRORLEVEL 2 GOTO OKAYMODM
CLS
ECHO ║ Sorry, Pyroto may not be able to support your modem in its present
ECHO ║ configuration. It MAY support it, but you'll have to experiment.
ECHO ║
ECHO ║ However, you can still use Pyroto in "Local" mode (at your screen).
ECHO ║
QUERY Do you wish to continue? @YN
IF ERRORLEVEL 2 GOTO ENDBAT
:OKAYMODM
CLS
ECHO ║ ───── METHOD SELECTION ─────
ECHO ║ Are you installing on a hard-disk or "floppy" diskettes?
ECHO ║
QUERY Enter H or F @HF
IF ERRORLEVEL 2 GOTO FLOPIN
CLS
ECHO ║ ───── PRE-INSTALLATION CHECK ─────
ECHO ║ Since you are installing on a hard disk:
ECHO ║ You must be logged on to the hard disk.
ECHO ║ You must be in the same sub-directory as all the Pyroto files.
ECHO ║
QUERY Is all this correct? @NY
IF ERRORLEVEL 2 GOTO OKAYHARD
GOTO BADDISK
:FLOPIN
CLS
ECHO ║ ───── PRE-INSTALLATION CHECK ─────
ECHO ║ Since you are installing to diskettes:
ECHO ║ You must be logged on to the drive containing the Pyroto files.
ECHO ║ You must be in the sub-directory (if any) containing the files.
ECHO ║ You must have a freshly formatted diskette with DOS.
ECHO ║ You must have a freshly formatted diskette without DOS.
ECHO ║
QUERY Is all this correct? @NY
IF ERRORLEVEL 2 GOTO OKAYFLOP
:BADDISK
ECHO ─────
ECHO Please correct this situation so installation can proceed normally.
ECHO Then re-run PYINST from the beginning.
ECHO ─────
ECHO One moment, please ...
GOTO ENDBAT
:OKAYHARD
MD MESSAGES
GOTO CUSTOM
:OKAYFLOP
CLS
ECHO ║ Write up a diskette label: PYROTO DRIVE A.
ECHO ║ Stick this label on the diskette WITH DOS.
ECHO ║ Insert the diskette WITH DOS into Drive B.
ECHO ║
QUERY Press Y when you've done all this. @Y
COPY PY*.COM B:
COPY PY*.000 B:
COPY *.TXT B:
COPY *.DAT B:
CLS
ECHO ║ Write up a diskette label: PYROTO DRIVE B.
ECHO ║ Stick this label on the diskette WITHOUT DOS.
ECHO ║ Insert the diskette WITHOUT DOS into Drive B.
ECHO ║
QUERY Press Y when you've done all this. @Y
B:
CD \
MD MESSAGES
A:
:CUSTOM
CLS
ECHO ║ ───── CUSTOMIZATION PHASE ─────
ECHO ║ You must now use a text-editor (EDLIN or whatever) to modify the file
ECHO ║ named PYCONFIG.DAT in order to:
ECHO ║ 1. Specify appropriate commands for your modem.
ECHO ║ 2. Identify your modem's responses.
ECHO ║ 3. Specify the "first-level" password for the WizOp.
ECHO ║ 4. Other useful stuff like that.
ECHO ║
ECHO ║ If you're using diskettes, it's now time to:
ECHO ║ Place the diskette labelled "PYROTO DRIVE A" into Drive A.
ECHO ║ Place the diskette labelled "PYROTO DRIVE B" into Drive B.
ECHO ║
:ENDBAT