home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
genealog
/
pede1.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-01-08
|
5KB
|
98 lines
echo off
IF "%0"=="a:install" GOTO should
IF "%0"=="A:INSTALL" GOTO should
IF "%0"=="b:install" GOTO should
IF "%0"=="B:INSTALL" GOTO should
goto bad
:should
CLS
ECHO ╔═══════════════════════════════╗
ECHO ║ Pedigree Pursuit Installation ║
ECHO ╚═══════════════════════════════╝
ECHO ─────────────────────────────────────────────────────────────────────────────
ECHO You should be in the directory in which you want to install Pedigree Pursuit.
ECHO Pedigree Pursuit will be installed to your hard disk directory, which is
cd
ECHO.
ECHO ┌───────────────────────────────────────────────────────────────────────────┐
ECHO │If this is not the directory where you want your Pedigree Pursuit files, │
ECHO │press Control-C to terminate the installation, change to your desired │
ECHO │directory, and restart the installation. │
ECHO │There should be write-protect tabs on the Pedigree Pursuit diskette to │
ECHO │protect against damaging it. │
ECHO │If this is not correct, then press control-C to terminate the installation.│
ECHO ├───────────────────────────────────────────────────────────────────────────┤
ECHO │Pedigree Pursuit is distributed in a compressed form. During the process │
ECHO │of installation, both the compressed and the uncompressed files are present│
ECHO │for a total of about 2.1 MB. After installation, Pedigree Pursuit will use│
ECHO │nearly 1.5 MB (million bytes) on your hard disk. │
ECHO │If you do not have this amount of unused space on your disk, press │
ECHO │Control-C (the control and C keys simultaneously) to terminate installing. │
ECHO └───────────────────────────────────────────────────────────────────────────┘
PAUSE
CLS
IF NOT EXIST PED.EXE GOTO install
ECHO ┌───────────────────────────────────────────────────────────────────┐
ECHO │PED was previously installed on this computer. We will first delete│
ECHO │the old Pedigree Pursuit program files. │
ECHO └───────────────────────────────────────────────────────────────────┘
IF NOT EXIST REPTITL2.DAT GOTO peddel
ECHO ┌───────────────────────────────────────────────────────────────────┐
ECHO │This directory also contains genealogy data files. They will NOT be│
ECHO │harmed as the old program files are deleted and replaced. │
ECHO └───────────────────────────────────────────────────────────────────┘
:peddel
DEL ped*.exe
DEL ped?.tem
DEL help.dat
DEL ped.doc
DEL ptest.doc
DEL order.frm
DEL brt70anr.exe
DEL alts.wpm
DEL instal2.bat
:install
CLS
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ Installing Pedigree Pursuit to the active disk directory │
ECHO └──────────────────────────────────────────────────────────┘
IF "%0"=="a:install" GOTO copya1
IF "%0"=="A:INSTALL" GOTO copya1
IF "%0"=="b:install" GOTO copyb1
IF "%0"=="B:INSTALL" GOTO copyb1
goto bad
:copya1
COPY A:pede?.exe
CLS
echo ┌──────────────────────────────────────────────────────────────────┐
ECHO │ Load Pedigree Pursuit diskette 2, then Press any key to continue │
echo └──────────────────────────────────────────────────────────────────┘
PAUSE >NUL
COPY a:pede?.exe
GOTO expand
:copyb1
COPY b:pede?.exe
CLS
echo ┌──────────────────────────────────────────────────────────────────┐
ECHO │ Load Pedigree Pursuit diskette 2, then Press any key to continue │
echo └──────────────────────────────────────────────────────────────────┘
PAUSE >NUL
COPY b:pede?.exe
:expand
CLS
ECHO ┌──────────────────────────────────────────────────────────────────┐
ECHO │ The Pedigree Pursuit program files will now be expanded from the │
ECHO │ compressed form in which they are written on the distribution │
ECHO │ floppy diskettes. │
ECHO └──────────────────────────────────────────────────────────────────┘
pede1
instal2
:bad
CLS
ECHO ┌───────────────────────────────────────────────────────────────┐
ECHO │Installation cannot proceed. The installation command must be │
ECHO │A:INSTALL if the installation floppy is in the A drive, or │
ECHO │B:INSTALL if the installation floppy is in the B drive. │
ECHO │These commands must be all in UPPER CASE with no spaces. │
ECHO └───────────────────────────────────────────────────────────────┘