home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / genealog / pede1.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-01-08  |  5KB  |  98 lines

  1. echo off
  2. IF "%0"=="a:install" GOTO should
  3. IF "%0"=="A:INSTALL" GOTO should
  4. IF "%0"=="b:install" GOTO should
  5. IF "%0"=="B:INSTALL" GOTO should
  6. goto bad
  7. :should
  8. CLS
  9. ECHO                    ╔═══════════════════════════════╗
  10. ECHO                    ║ Pedigree Pursuit Installation ║
  11. ECHO                    ╚═══════════════════════════════╝
  12. ECHO ─────────────────────────────────────────────────────────────────────────────
  13. ECHO You should be in the directory in which you want to install Pedigree Pursuit.
  14. ECHO Pedigree Pursuit will be installed to your hard disk directory, which is
  15. cd
  16. ECHO.
  17. ECHO  ┌───────────────────────────────────────────────────────────────────────────┐
  18. ECHO  │If this is not the directory where you want your Pedigree Pursuit files,   │
  19. ECHO  │press Control-C to terminate the installation, change to your desired      │
  20. ECHO  │directory, and restart the installation.                                   │
  21. ECHO  │There should be write-protect tabs on the Pedigree Pursuit diskette to     │
  22. ECHO  │protect against damaging it.                                               │
  23. ECHO  │If this is not correct, then press control-C to terminate the installation.│
  24. ECHO  ├───────────────────────────────────────────────────────────────────────────┤
  25. ECHO  │Pedigree Pursuit is distributed in a compressed form. During the process   │
  26. ECHO  │of installation, both the compressed and the uncompressed files are present│
  27. ECHO  │for a total of about 2.1 MB.  After installation, Pedigree Pursuit will use│
  28. ECHO  │nearly 1.5 MB (million bytes) on your hard disk.                           │
  29. ECHO  │If you do not have this amount of unused space on your disk, press         │
  30. ECHO  │Control-C (the control and C keys simultaneously) to terminate installing. │
  31. ECHO  └───────────────────────────────────────────────────────────────────────────┘
  32. PAUSE
  33. CLS
  34. IF NOT EXIST PED.EXE GOTO install
  35. ECHO      ┌───────────────────────────────────────────────────────────────────┐
  36. ECHO      │PED was previously installed on this computer. We will first delete│
  37. ECHO      │the old Pedigree Pursuit program files.                            │
  38. ECHO      └───────────────────────────────────────────────────────────────────┘
  39. IF NOT EXIST REPTITL2.DAT GOTO peddel
  40. ECHO      ┌───────────────────────────────────────────────────────────────────┐
  41. ECHO      │This directory also contains genealogy data files. They will NOT be│
  42. ECHO      │harmed as the old program files are deleted and replaced.          │
  43. ECHO      └───────────────────────────────────────────────────────────────────┘
  44. :peddel
  45. DEL ped*.exe
  46. DEL ped?.tem
  47. DEL help.dat
  48. DEL ped.doc
  49. DEL ptest.doc
  50. DEL order.frm
  51. DEL brt70anr.exe
  52. DEL alts.wpm
  53. DEL instal2.bat
  54. :install
  55. CLS
  56. ECHO        ┌──────────────────────────────────────────────────────────┐
  57. ECHO        │ Installing Pedigree Pursuit to the active disk directory │
  58. ECHO        └──────────────────────────────────────────────────────────┘
  59. IF "%0"=="a:install" GOTO copya1
  60. IF "%0"=="A:INSTALL" GOTO copya1
  61. IF "%0"=="b:install" GOTO copyb1
  62. IF "%0"=="B:INSTALL" GOTO copyb1
  63. goto bad
  64. :copya1
  65. COPY A:pede?.exe
  66. CLS
  67. echo     ┌──────────────────────────────────────────────────────────────────┐
  68. ECHO     │ Load Pedigree Pursuit diskette 2, then Press any key to continue │
  69. echo     └──────────────────────────────────────────────────────────────────┘
  70. PAUSE >NUL
  71. COPY a:pede?.exe
  72. GOTO expand
  73. :copyb1
  74. COPY b:pede?.exe
  75. CLS
  76. echo     ┌──────────────────────────────────────────────────────────────────┐
  77. ECHO     │ Load Pedigree Pursuit diskette 2, then Press any key to continue │
  78. echo     └──────────────────────────────────────────────────────────────────┘
  79. PAUSE >NUL
  80. COPY b:pede?.exe
  81. :expand
  82. CLS
  83. ECHO     ┌──────────────────────────────────────────────────────────────────┐
  84. ECHO     │ The Pedigree Pursuit program files will now be expanded from the │
  85. ECHO     │ compressed form in which they are written on the distribution    │
  86. ECHO     │ floppy diskettes.                                                │
  87. ECHO     └──────────────────────────────────────────────────────────────────┘
  88. pede1
  89. instal2
  90. :bad
  91. CLS
  92. ECHO     ┌───────────────────────────────────────────────────────────────┐
  93. ECHO     │Installation cannot proceed. The installation command must be  │
  94. ECHO     │A:INSTALL  if the installation floppy is in the A drive, or    │
  95. ECHO     │B:INSTALL  if the installation floppy is in the B drive.       │
  96. ECHO     │These commands must be all in UPPER CASE with no spaces.       │
  97. ECHO     └───────────────────────────────────────────────────────────────┘
  98.