home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
ic31_2.zip
/
INSTALL2.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-12-23
|
3KB
|
136 lines
ECHO OFF
IF %1==F GOTO FLOPINS
IF %1==H GOTO HARDINS1
CLS
GO2
:FLOPINS
ECHO OFF
CLS
IF %2==1 GOTO FLOPINS1
IF %2==2 GOTO FLOPINS2
CLS
ECHO This floppy installation requires that you enter either a '1' or a '2',
ECHO following your 'GO F' instruction.
GOTO END
:FLOPINS2
CLS
ECHO Enter disk 2, SALES-B, into drive A now.
ECHO [it should still be in Drive A]
PAUSE
A:
B:PKUNZIP -X B:SALE-C31.ZIP PROSPECT.OVL
B:PKUNZIP -X B:SALE-C31.ZIP *.FRM
CLS
ECHO Enter disk 3, SALESDOC, into drive A now.
PAUSE
A:
B:PKUNZIP -X B:SALE-D31.ZIP SALESDOC
GOTO FLOPDOC
:FLOPDOC
CLS
ECHO Finished !
ECHO Disk 3, the documentation and tutorial, is not used while the
ECHO program is running. It contains a 60 page tutorial
ECHO and can be printed out will this command:
ECHO COPY SALESDOC LPT1:
echo
ECHO To start the program,:
ECHO Enter SALES-A, disk one, into drive A.
ECHO Enter SALES-B, disk two, into drive B.
echo
ECHO Then restart the computer and execute GO {executed from B}
GOTO END
:FLOPINS1
ECHO Beginning with version 3.0 of this program, the executable files have
ECHO become so large that the low density option of 360KB is no longer supported.
GOTO END
:HARDINS1
CLS
echo
ECHO This procedure will finish installing all files onto
ECHO your hard disk, drive %2.
echo
%2:
CD \
CD PROSPECT
COPY A:PKUNZIP.EXE >TMP
COPY A:SALE-C31.ZIP >TMP
PKUNZIP -X SALE-C31.ZIP
DEL SALE-C31.ZIP
COPY A:SALE-D31.ZIP >TMP
PKUNZIP -X SALE-D31.ZIP
COPY GO-%2.BAT GO.BAT
DEL SALE-D31.ZIP
COPY A:YESNO.COM >TMP
COPY A:ECOH.COM >TMP
CLS
echo
ECOH ══════════ Tutorial for program ══════════
echo
ECHO SALESDOC is the 6 chapter, 60 page tutorial.
ECHO Would you like to print it out now?
echo
:YESNO
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YESNEXT
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YESPREF
GOTO YESNO
:YESNEXT
CLS
ECHO Please make sure your printer is now turned on and set
ECHO to the 'top of form'. Then press any key to continue.
echo
PAUSE
CLS
echo
echo
ECOH ══════════ Now printing 6 chapter tutorial ══════════
COPY SALESDOC LPT1:
CLS
GOTO YES1
:YESPREF
CLS
echo
ECOH ══════════ Preface to Tutorial ══════════
echo
ECHO Since you elected not to print SALESDOC,
ECHO Would you like to print the 3 page Preface to the Tutorials instead?
echo
:YES2
YESNO
CLS
IF ERRORLEVEL 89 IF NOT ERRORLEVEL 90 GOTO YES3
IF ERRORLEVEL 78 IF NOT ERRORLEVEL 79 GOTO YES1
GOTO YES2
:YES3
CLS
echo
echo
ECOH ══════════ Printing Preface to Tutorial ══════════
echo
COPY PREFACE.TXT LPT1: >TMP
GOTO YES1
:YES1
CLS
echo
echo
echo
ECOH ══════════ Free memory available for program ══════════
echo
ECHO The program must have 500 kb free memory. Observe the next
ECHO 'bytes are free.' message below. If below 500k, then
ECHO enter a 'CONTROL-C' now to stop and remove any memory resident
ECHO programs. Otherwise enter any other key to continue.
echo
echo
MEMORY
echo
echo
PAUSE
CLS
GO
GOTO END
:END
echo