home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / comm1 / swaits-3.lzh / INSTALL.BAT < prev    next >
DOS Batch File  |  1990-09-27  |  12KB  |  294 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. echo    ┌───────────────────────────────────────────────────────────────────┐
  22. echo    │           The SPORT Wide Area Information Transfer System         │
  23. echo    │                        Installation Utility                       │
  24. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  25. echo    └───────────────────────────────────────────────────────────────────┘
  26. echo.   
  27. echo     Sorry,  but you have not specified  a drive on which SPORT should be
  28. echo     installed.  SPORT needs to reside on your Hard Disk Drive C: - J:.
  29. echo.   
  30. echo     For example, to install SPORT on drive C, use "INSTALL C:".  Use the
  31. echo     drive letter followed by a colon to designate the drive.  You should
  32. echo     use this method if you are installing SPORT from one or more distri-
  33. echo     bution diskettes.
  34. echo.   
  35. echo     If you are *NOT* installing from drive A:, but from files already on
  36. echo     your hard disk, use "INSTALL d: H", where "d:" is the drive on which
  37. echo     you will be installing SPORT.   If you received SPORT electronically
  38. echo     in one or more compressed files you should use this method.  Be sure
  39. echo     to use the "H" argument when you run INSTALL.
  40. echo.   
  41. echo     Please try again.
  42. echo.   
  43. GOTO finis
  44.  
  45. :READY
  46. cls
  47. echo. 
  48. echo    ┌───────────────────────────────────────────────────────────────────┐
  49. echo    │           The SPORT Wide Area Information Transfer System         │
  50. echo    │                        Installation Utility                       │
  51. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  52. echo    └───────────────────────────────────────────────────────────────────┘
  53. echo. 
  54. echo     Installation will now begin.
  55.  
  56. echo     Please be sure you have all of the distribution disks ready to go.
  57. echo     The installation process is quite short and simple.
  58. echo. 
  59. %1
  60. cd \
  61. echo     Creating \SPORT subdirectory - for SPORT files and utilities.
  62. md sport > nul
  63. echo     Creating \SPORT\INCOMING subdirectory - for incoming mail.
  64. cd \sport
  65. md incoming > nul
  66. echo     Creating \SPORT\DOCS - for SPORT documentation and system notes.
  67. md docs > nul
  68. cd \sport
  69. echo. 
  70.  
  71. If "%2" == "h" GOTO hd1
  72. If "%2" == "H" GOTO hd1
  73. GOTO LOAD1
  74.  
  75. :hd1
  76. if exist *.doc copy *.doc \sport\docs > NUL
  77. if exist *.txt copy *.txt \sport\docs > NUL
  78. if exist *.doc del *.doc > NUL
  79. if exist *.txt del *.txt > NUL
  80. if exist disk1 del disk1 > NUL
  81. if exist disk2 del disk2 > NUL
  82. if exist disk3 del disk3 > NUL
  83. goto hd2
  84.  
  85. :LOAD1
  86. echo. 
  87. IF exist a:DISK1 GOTO d1
  88. echo Please place DISK 1 in Drive A:
  89. pause
  90. IF exist a:DISK1 GOTO d1
  91. goto load1
  92. :D1
  93. echo. 
  94. echo Please wait while files are copied...
  95. if exist a:*.exe copy a:*.exe \sport > NUL
  96. if exist a:*.ovr copy a:*.ovr \sport > NUL
  97. if exist a:*.bat copy a:*.bat \sport > NUL
  98. if exist a:*.raw copy a:*.raw \sport > NUL
  99. if exist a:*.ban copy a:*.ban \sport > NUL
  100. if exist a:*.hlp copy a:*.hlp \sport > NUL
  101. if exist a:*.ctl copy a:*.ctl \sport > NUL
  102. if exist a:*.doc copy a:*.doc \sport\docs > NUL
  103. if exist a:DISK2 GOTO already2
  104. GOTO load2
  105. :already2
  106. if exist a:DISK3 GOTO hd2
  107.  
  108. :LOAD2
  109. cls
  110. echo. 
  111. echo    ┌───────────────────────────────────────────────────────────────────┐
  112. echo    │           The SPORT Wide Area Information Transfer System         │
  113. echo    │                        Installation Utility                       │
  114. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  115. echo    └───────────────────────────────────────────────────────────────────┘
  116. echo. 
  117. echo Please place DISK 2 in Drive A:
  118. pause
  119. IF exist a:DISK2 GOTO d2
  120. goto load2
  121. :D2
  122. echo. 
  123. echo Please wait while files are copied...
  124. if exist a:*.exe copy a:*.exe \sport > NUL
  125. if exist a:*.ovr copy a:*.ovr \sport > NUL
  126. if exist a:*.bat copy a:*.bat \sport > NUL
  127. if exist a:*.raw copy a:*.raw \sport > NUL
  128. if exist a:*.ban copy a:*.ban \sport > NUL
  129. if exist a:*.hlp copy a:*.hlp \sport > NUL
  130. if exist a:*.ctl copy a:*.ctl \sport > NUL
  131. if exist a:*.lst copy a:*.lst \sport > NUL
  132. if exist a:*.doc copy a:*.doc \sport\docs > NUL
  133.  
  134. :LOAD3
  135. cls
  136. echo. 
  137. echo    ┌───────────────────────────────────────────────────────────────────┐
  138. echo    │           The SPORT Wide Area Information Transfer System         │
  139. echo    │                        Installation Utility                       │
  140. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  141. echo    └───────────────────────────────────────────────────────────────────┘
  142. echo. 
  143. echo Please place DISK 3 in Drive A:
  144. pause
  145. IF exist a:DISK3 GOTO d3
  146. goto load3
  147. :D3
  148. echo. 
  149. echo Please wait while files are copied...
  150. if exist a:*.exe copy a:*.exe \sport > NUL
  151. if exist a:*.ovr copy a:*.ovr \sport > NUL
  152. if exist a:*.bat copy a:*.bat \sport > NUL
  153. if exist a:*.raw copy a:*.raw \sport > NUL
  154. if exist a:*.ban copy a:*.ban \sport > NUL
  155. if exist a:*.hlp copy a:*.hlp \sport > NUL
  156. if exist a:*.ctl copy a:*.ctl \sport > NUL
  157. if exist a:*.cmd copy a:*.cmd \sport > NUL
  158. if exist a:*.cfg copy a:*.cfg \sport > NUL
  159. if exist a:*.doc copy a:*.doc \sport\docs > NUL
  160.  
  161. :hd2
  162. cls
  163. echo. 
  164. echo    ┌───────────────────────────────────────────────────────────────────┐
  165. echo    │           The SPORT Wide Area Information Transfer System         │
  166. echo    │                        Installation Utility                       │
  167. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  168. echo    └───────────────────────────────────────────────────────────────────┘
  169. echo. 
  170. echo     You are now ready to configure SPORT for your own system.   Several
  171. echo     questions will be presented to help you customize your installation.
  172. echo. 
  173. echo     Please  note that  the questions have default responses.   You will
  174. echo     only need to press [RETURN] on your keyboard  to accept the default
  175. echo     response.  Several of these questions will be confusing if you have
  176. echo     not yet read the documentation for SPORT. Don't let this worry you.
  177. echo     If you are  unsure about how to answer a given question, just press
  178. echo     [RETURN] on  your keyboard.   You can run the  Installation Utility
  179. echo     (SPORTI) again as often as you wish.
  180. echo. 
  181. echo     After the  installation  is complete you will find  SPORTI  in your
  182. echo     default  SPORT  subdirectory.   The SPORT documentation covers many
  183. echo     more advanced features which you may wish to explore.
  184. echo. 
  185. pause
  186. cls
  187. echo. 
  188. echo    ┌───────────────────────────────────────────────────────────────────┐
  189. echo    │           The SPORT Wide Area Information Transfer System         │
  190. echo    │                        Installation Utility                       │
  191. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  192. echo    └───────────────────────────────────────────────────────────────────┘
  193. echo. 
  194. echo    If you have a color monitor answer Y (for YES) to the next question,
  195. echo    otherwise answer N (for NO) and press RETURN.
  196. echo. 
  197. if "%1" == "C:" SPORTI 3
  198. if "%1" == "c:" SPORTI 3
  199. if "%1" == "D:" SPORTI 4
  200. if "%1" == "d:" SPORTI 4
  201. if "%1" == "E:" SPORTI 5
  202. if "%1" == "e:" SPORTI 5
  203. if "%1" == "F:" SPORTI 6
  204. if "%1" == "f:" SPORTI 6
  205. if "%1" == "G:" SPORTI 7
  206. if "%1" == "g:" SPORTI 7
  207. if "%1" == "H:" SPORTI 8
  208. if "%1" == "h:" SPORTI 8
  209. if "%1" == "I:" SPORTI 9
  210. if "%1" == "i:" SPORTI 9
  211. if "%1" == "J:" SPORTI 10
  212. if "%1" == "j:" SPORTI 10
  213. pause
  214. cls
  215. echo. 
  216. echo    ┌───────────────────────────────────────────────────────────────────┐
  217. echo    │           The SPORT Wide Area Information Transfer System         │
  218. echo    │                        Installation Utility                       │
  219. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  220. echo    └───────────────────────────────────────────────────────────────────┘
  221. echo. 
  222. echo    You will now have a chance to edit the SPORT.RAW file - the telephone
  223. echo    book for SPORT.  You will be able to enter numbers of other users you
  224. echo    would like to contact.
  225. echo. 
  226. echo    You will be using the SPORT message editor to review and make changes
  227. echo    to the file.  Feel free to move about in the file,  but before making
  228. echo    any changes be sure  to read  the comment  lines throughout the file.
  229. echo    Use your [PageUp] and [PageDown] keys to move through the file.
  230. echo. 
  231. echo    You may enter the  names and  telephone  numbers of other SPORT users
  232. echo    once you understand the format required by the SPORT.RAW file.   When
  233. echo    you are ready to leave the editor,  use the  [ALT+Q]  key combination
  234. echo    and answer "Y" to the "SAVE" prompt.   The new SPORT.RAW file will be
  235. echo    automatically prepared for use by SPORT.
  236. echo. 
  237. pause
  238. sportedt sport.raw
  239. sprep y
  240. cls
  241. echo. 
  242. echo    ┌───────────────────────────────────────────────────────────────────┐
  243. echo    │           The SPORT Wide Area Information Transfer System         │
  244. echo    │                        Installation Utility                       │
  245. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  246. echo    └───────────────────────────────────────────────────────────────────┘
  247. echo. 
  248. echo. 
  249. echo    As you were able to edit the SPORT.RAW telephone book, you will now
  250. echo    be able to edit two other files:
  251. echo. 
  252. echo      1.  SPORT.BAN - the banner file shown to human callers.
  253. echo      2.  SCHAT.BAN - the banner file shown to callers who want to chat.
  254. echo. 
  255. echo    Feel free to edit these to your liking, or just save them if you will
  256. echo    not be using them right away.
  257. echo. 
  258. echo. 
  259. pause
  260. sportedt sport.ban
  261. sportedt schat.ban
  262. if exist \sportexe.zip del \sportexe.zip
  263. if exist \read.me del \read.me
  264. sprep y
  265. smodem
  266. if not exist signup.exe goto hd3
  267. signup
  268. :hd3
  269. cls
  270. echo. 
  271. echo    ┌───────────────────────────────────────────────────────────────────┐
  272. echo    │           The SPORT Wide Area Information Transfer System         │
  273. echo    │                        Installation Utility                       │
  274. echo    │            Copyright(c) 1988, 1990 Satore Center Software         │
  275. echo    └───────────────────────────────────────────────────────────────────┘
  276. echo. 
  277. echo     Your SPORT system has now been installed.    A new batch file named
  278. echo     RUNSPORT.BAT has also been created. You may now run SPORT by typing
  279. echo     RUNSPORT from the default directory created during the installation
  280. echo     process.
  281. echo. 
  282. echo     Be sure to read the documentation which came with SPORT.   You will
  283. echo     find documentation and service notes in the subdirectory  \DOCS off
  284. echo     of your SPORT default directory.
  285. echo. 
  286. echo     If you would like to run SPORT in the Test Mode, enter this command:
  287. echo. 
  288. echo                                RUNSPORT X
  289. echo. 
  290. echo     By using SPORT in the  Test Mode  you will be able to get a feel for
  291. echo     the complete system without the need to send or receive mail.
  292. echo. 
  293. :FINIS
  294.