home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / SPORT131.ZIP / WAITS.EXE / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-05-15  |  8KB  |  192 lines

  1. echo off
  2. prompt $p $
  3. cls
  4. echo. 
  5. if "%1" == "C:" GOTO ready
  6. if "%1" == "c:" GOTO ready
  7. if "%1" == "D:" GOTO ready
  8. if "%1" == "d:" GOTO ready
  9. if "%1" == "E:" GOTO ready
  10. if "%1" == "e:" GOTO ready
  11. if "%1" == "F:" GOTO ready
  12. if "%1" == "f:" GOTO ready
  13. if "%1" == "G:" GOTO ready
  14. if "%1" == "g:" GOTO ready
  15. if "%1" == "H:" GOTO ready
  16. if "%1" == "h:" GOTO ready
  17. if "%1" == "I:" GOTO ready
  18. if "%1" == "i:" GOTO ready
  19. if "%1" == "J:" GOTO ready
  20. if "%1" == "j:" GOTO ready
  21. cls
  22. echo    ┌───────────────────────────────────────────────────────────────────┐
  23. echo    │           The SPORT Wide Area Information Transfer System         │
  24. echo    │                        Installation Utility                       │
  25. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  26. echo    └───────────────────────────────────────────────────────────────────┘
  27. echo.   
  28. echo     Sorry,  but you have not specified  a drive on which SPORT should be
  29. echo     installed.  SPORT needs to reside on your Hard Disk Drive C: - J:.
  30. echo.   
  31. echo     For example, to install SPORT on drive C, use "INSTALL C:".
  32. echo.   
  33. echo     Please try again.
  34. echo.   
  35. GOTO finis
  36.  
  37. :READY
  38. cls
  39. echo. 
  40. echo    ┌───────────────────────────────────────────────────────────────────┐
  41. echo    │           The SPORT Wide Area Information Transfer System         │
  42. echo    │                        Installation Utility                       │
  43. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  44. echo    └───────────────────────────────────────────────────────────────────┘
  45. echo. 
  46. echo     Installation will now begin.
  47. echo. 
  48. %1
  49. cd \
  50. cd \sport
  51. md incoming > nul
  52. md docs > nul
  53. cd \sport
  54. echo. 
  55.  
  56. :hd1
  57. if exist *.doc copy *.doc \sport\docs > NUL
  58. if exist *.txt copy *.txt \sport\docs > NUL
  59. if exist *.doc del *.doc > NUL
  60. if exist *.txt del *.txt > NUL
  61. if exist disk1 del disk1 > NUL
  62. if exist disk2 del disk2 > NUL
  63. if exist disk3 del disk3 > NUL
  64.  
  65. :hd2
  66. cls
  67. echo. 
  68. echo    ┌───────────────────────────────────────────────────────────────────┐
  69. echo    │           The SPORT Wide Area Information Transfer System         │
  70. echo    │                        Installation Utility                       │
  71. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  72. echo    └───────────────────────────────────────────────────────────────────┘
  73. echo. 
  74. echo     You are now ready to configure SPORT for your own system.   Several
  75. echo     questions will be presented to help you customize your installation.
  76. echo. 
  77. echo     Please  note that  the questions have default responses.   You will
  78. echo     only need to press [RETURN] on your keyboard  to accept the default
  79. echo     response.  Several of these questions will be confusing if you have
  80. echo     not yet read the documentation for SPORT. Don't let this worry you.
  81. echo     If you are  unsure about how to answer a given question, just press
  82. echo     [RETURN] on  your keyboard.   You can run the  Installation Utility
  83. echo     (SPORTI) again as often as you wish.
  84. echo. 
  85. echo     After the  installation  is complete you will find  SPORTI  in your
  86. echo     default  SPORT  subdirectory.   The SPORT documentation covers many
  87. echo     more advanced features which you may wish to explore.
  88. echo. 
  89. pause
  90. cls
  91. echo. 
  92. echo    ┌───────────────────────────────────────────────────────────────────┐
  93. echo    │           The SPORT Wide Area Information Transfer System         │
  94. echo    │                        Installation Utility                       │
  95. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  96. echo    └───────────────────────────────────────────────────────────────────┘
  97. echo. 
  98. echo    If you have a color monitor answer Y (for YES) to the next question,
  99. echo    otherwise answer N (for NO) and press RETURN.
  100. echo. 
  101. if "%1" == "C:" SPORTI 3
  102. if "%1" == "c:" SPORTI 3
  103. if "%1" == "D:" SPORTI 4
  104. if "%1" == "d:" SPORTI 4
  105. if "%1" == "E:" SPORTI 5
  106. if "%1" == "e:" SPORTI 5
  107. if "%1" == "F:" SPORTI 6
  108. if "%1" == "f:" SPORTI 6
  109. if "%1" == "G:" SPORTI 7
  110. if "%1" == "g:" SPORTI 7
  111. if "%1" == "H:" SPORTI 8
  112. if "%1" == "h:" SPORTI 8
  113. if "%1" == "I:" SPORTI 9
  114. if "%1" == "i:" SPORTI 9
  115. if "%1" == "J:" SPORTI 10
  116. if "%1" == "j:" SPORTI 10
  117. if errorlevel 1 goto quitnow
  118. goto xcontinue
  119. :quitnow
  120. cls
  121. echo. 
  122. echo    ┌───────────────────────────────────────────────────────────────────┐
  123. echo    │           The SPORT Wide Area Information Transfer System         │
  124. echo    │                        Installation Utility                       │
  125. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  126. echo    └───────────────────────────────────────────────────────────────────┘
  127. echo. 
  128. echo      You have asked to abandon the SPORT installation process.
  129. echo. 
  130. echo      When you are ready to install the SPORT system run "INSTALL" from
  131. echo      the DOS prompt.
  132. echo. 
  133. goto finis
  134. :xcontinue
  135. pause
  136. cls
  137. if exist \sport130.exe del \sport130.exe > nul
  138. if exist \read.me del \read.me > nul
  139. if exist \waits.exe del \waits.exe > nul
  140. if exist sport130.exe del sport130.exe > nul
  141. if exist read.me del read.me > nul
  142. if exist waits.exe del waits.exe > nul
  143. :hd3
  144. cls
  145. echo. 
  146. echo    ┌───────────────────────────────────────────────────────────────────┐
  147. echo    │           The SPORT Wide Area Information Transfer System         │
  148. echo    │                        Installation Utility                       │
  149. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  150. echo    └───────────────────────────────────────────────────────────────────┘
  151. echo. 
  152. echo     Should you experience problems with your modem ...
  153. echo.
  154. echo     This  Installation Utility attempted to determine the correct modem
  155. echo     initialization string and proper speed at which to send commands to
  156. echo     your modem.   Most often this will be correct.  Sometimes, however,
  157. echo     you may find that your modem is not responding properly or that you
  158. echo     are experiencing problems in sending and/or receiving mail.   First
  159. echo     be sure to check your  SPORT.LOG for any diagnostic messages.  Then
  160. echo     review the SPORT documentation for how to determine the right modem
  161. echo     initialization string for your modem.  You may also want to run the
  162. echo     utility SMODEM.EXE to see if there is a modem initialization string
  163. echo     already established for your particular modem.
  164. echo.
  165. echo.
  166. pause.
  167. cls
  168. echo. 
  169. echo    ┌───────────────────────────────────────────────────────────────────┐
  170. echo    │           The SPORT Wide Area Information Transfer System         │
  171. echo    │                        Installation Utility                       │
  172. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  173. echo    └───────────────────────────────────────────────────────────────────┘
  174. echo. 
  175. echo     Your SPORT system has now been installed.    A new batch file named
  176. echo     RUNSPORT.BAT has also been created. You may now run SPORT by typing
  177. echo     RUNSPORT from the default directory created during the installation
  178. echo     process.
  179. echo. 
  180. echo     Be sure to read the documentation which came with SPORT.   You will
  181. echo     find documentation and service notes in the subdirectory  \DOCS off
  182. echo     of your SPORT default directory.
  183. echo. 
  184. echo     If you would like to run SPORT in the Test Mode, enter this command:
  185. echo. 
  186. echo                                RUNSPORT X
  187. echo. 
  188. echo     By using SPORT in the  Test Mode  you will be able to get a feel for
  189. echo     the complete system without the need to send or receive mail.
  190. echo. 
  191. :FINIS
  192.