home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / sms-1.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-06-04  |  10KB  |  253 lines

  1. ECHO OFF
  2. CLS
  3. ECHO   $hareware Marketing $ystem Installation program 
  4. ECHO   ---------------------------------------------------------------
  5. echo   Note: Installation diskette should now be in A: floppy drive.
  6. echo   Installation does NOT adjust CONFIG.SYS or AUTOEXEC.BAT.
  7. ECHO   ---------------------------------------------------------------
  8. echo   Part A or diskette A contains the menu driven information part 
  9. echo   of this package. It is installed first and occupies about 500K 
  10. echo   and will NOT fit on a standard 360K low density floppy but 
  11. echo   will fit on these floppies: 1.2M, 1.44M, 720K or a hard drive 
  12. echo   which is the preferred installation method.
  13. ECHO   ---------------------------------------------------------------
  14. echo   Part B contains a highly compressed mailing list which will 
  15. echo   unpack to produce a LARGE 1.5 MEG mailing list and is usually 
  16. echo   manually copied to a hard drive later and expanded to full 
  17. echo   1.5 Meg size. Its use is discussed in a tutorial you should 
  18. echo   read which is contained in Part A we will unpack shortly.
  19. ECHO   ---------------------------------------------------------------
  20. ECHO   Press  A  if installing to a floppy drive larger than 360K
  21. ECHO   Press  B  if installing to a hard drive
  22. ECHO   Press  Q  to quit or abort process
  23. ECHO   ---------------------------------------------------------------
  24. inkey A65,a65,B66,b66,Q81,q81
  25. IF ERRORLEVEL 81 GOTO abort
  26. IF ERRORLEVEL 66 GOTO LABELB
  27. IF ERRORLEVEL 65 GOTO LABELA
  28. :LABELB
  29. CLS
  30. REM  Hard Drive setup
  31. ECHO ---------------------------------------------------------------
  32. ECHO Hard drive installation will prepare a directory named \SMS on 
  33. echo your hard drive and install files to that area. Installation 
  34. echo program assumes drive A: contains SMS part A and is the SOURCE 
  35. echo DRIVE. Hard drive will be the TARGET drive to which files will 
  36. echo be unpacked. If you have an old copy of SMS data on your hard 
  37. echo drive which is important to you, you may wish to quit/abort
  38. echo and backup that older copy of SMS for archival purposes first.
  39. ECHO ---------------------------------------------------------------
  40. echo What hard drive letter will you install TO as your target?
  41. ECHO ---------------------------------------------------------------
  42. echo press  C  for  Hard drive C:
  43. echo press  D  for  Hard drive D:
  44. echo press  E  for  Hard drive E:
  45. echo press  F  for  Hard drive F:
  46. echo press  G  for  Hard drive G:
  47. echo press  Q  to quit
  48. inkey Q81,q81,G71,g71,F70,f70,E69,e69,D68,d68,C67,c67
  49. IF ERRORLEVEL 81 GOTO abort
  50. IF ERRORLEVEL 71 goto HDG
  51. IF ERRORLEVEL 70 GOTO HDF
  52. IF ERRORLEVEL 69 GOTO HDE
  53. IF ERRORLEVEL 68 GOTO HDD
  54. IF ERRORLEVEL 67 GOTO HDC
  55. :HDC
  56. cls
  57. C:
  58. CD\
  59. MD SMS
  60. ECHO If a previous version of the SMS package is already
  61. ECHO installed, answer yes to all prompts to overwrite old files 
  62. ECHO with the newer SMS data files.
  63. A:
  64. SMSDATA C:\sms\
  65. CLS
  66. ECHO Installation of part A is now complete. Part B contains 
  67. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  68. echo about using this mailing list database BEFORE you use it 
  69. echo This tutorial is contained in newly unpacked part A. 
  70. echo ------------------------------------------------------------
  71. echo Press  Q  to quit. Installation complete.
  72. echo To run SMS: change to your hard drive subdirectory C:\SMS 
  73. echo then type   SMS      to start
  74. echo ----------------------------------------------------------
  75. inkey q81,Q81
  76. if errorlevel 81 goto quit
  77. GOTO QUIT
  78. :HDD
  79. cls
  80. D:
  81. CD\
  82. MD SMS
  83. ECHO If a previous version of the SMS package is already
  84. ECHO installed, answer yes to all prompts to overwrite old files 
  85. ECHO with the newer SMS data files.
  86. A:
  87. smsdata D:\sms\
  88. CLS
  89. ECHO Installation of part A is now complete. Part B contains 
  90. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  91. echo about using this mailing list database BEFORE you use it 
  92. echo This tutorial is contained in newly unpacked part A. 
  93. echo ------------------------------------------------------------
  94. echo Press  Q  to quit. Installation complete.
  95. echo To run SMS: change to your hard drive subdirectory D:\SMS 
  96. echo then type   SMS      to start
  97. echo ----------------------------------------------------------
  98. inkey q81,Q81
  99. if errorlevel 81 goto quit
  100. GOTO QUIT
  101. :HDE
  102. cls
  103. E:
  104. CD\
  105. MD SMS
  106. ECHO If a previous version of the SMS package is already
  107. ECHO installed, answer yes to all prompts to overwrite old files 
  108. ECHO with the newer SMS data files.
  109. A:
  110. smsdata E:\sms\
  111. CLS
  112. ECHO Installation of part A is now complete. Part B contains 
  113. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  114. echo about using this mailing list database BEFORE you use it 
  115. echo This tutorial is contained in newly unpacked part A. 
  116. echo ------------------------------------------------------------
  117. echo Press  Q  to quit. Installation complete.
  118. echo To run SMS: change to your hard drive subdirectory E:\SMS 
  119. echo then type   SMS      to start
  120. echo ----------------------------------------------------------
  121. inkey q81,Q81
  122. if errorlevel 81 goto quit
  123. GOTO QUIT
  124. :HDF
  125. cls
  126. F:
  127. CD\
  128. MD SMS
  129. ECHO If a previous version of the SMS package is already
  130. ECHO installed, answer yes to all prompts to overwrite old files 
  131. ECHO with the newer SMS data files.
  132. A:
  133. smsdata F:\sms\
  134. CLS
  135. ECHO Installation of part A is now complete. Part B contains 
  136. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  137. echo about using this mailing list database BEFORE you use it 
  138. echo This tutorial is contained in newly unpacked part A. 
  139. echo ------------------------------------------------------------
  140. echo Press  Q  to quit. Installation complete.
  141. echo To run SMS: change to your hard drive subdirectory F:\SMS 
  142. echo then type   SMS      to start
  143. echo ----------------------------------------------------------
  144. inkey q81,Q81
  145. if errorlevel 81 goto quit
  146. GOTO QUIT
  147. :HDG
  148. cls
  149. G:
  150. CD\
  151. MD SMS
  152. ECHO If a previous version of the SMS package is already
  153. ECHO installed, answer yes to all prompts to overwrite old files 
  154. ECHO with the newer SMS data files.
  155. A:
  156. smsdata G:\sms\
  157. CLS
  158. ECHO Installation of part A is now complete. Part B contains 
  159. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  160. echo about using this mailing list database BEFORE you use it 
  161. echo This tutorial is contained in newly unpacked part A. 
  162. echo ------------------------------------------------------------
  163. echo Press  Q  to quit. Installation complete.
  164. echo To run SMS: change to your hard drive subdirectory G:\SMS 
  165. echo then type   SMS      to start
  166. echo ----------------------------------------------------------
  167. inkey q81,Q81
  168. if errorlevel 81 goto quit
  169. GOTO QUIT
  170. :LABELA
  171. CLS
  172. echo ------------------------------------------------------------
  173. ECHO Installation will produce one floppy diskette on TARGET
  174. echo drive B:, D: or E: which MUST be one of following the 
  175. echo size(s): 720K, 1.44M, 1.2M. It will NOT be possible to unpack 
  176. echo the large SMS program files onto a low density 360K drive! 
  177. echo Contact author for custom 360K version which is available.
  178. echo Next step assumes SOURCE drive A: contains files to be 
  179. echo unpacked and TARGET drive B:, D: or E: contains a blank 
  180. echo formatted diskette LARGER than 360K.
  181. echo ------------------------------------------------------------
  182. echo press  B  for  Floppy drive B:
  183. echo press  D  for  Floppy drive D:
  184. echo press  E  for  Floppy drive E:
  185. echo press  Q  to quit
  186. echo ------------------------------------------------------------
  187. INKEY B66,b66,d68,D68,e69,E69,q81,Q81
  188. IF ERRORLEVEL 81 GOTO abort
  189. IF ERRORLEVEL 69 GOTO fe
  190. IF ERRORLEVEL 68 GOTO fd
  191. IF ERRORLEVEL 66 GOTO fb
  192. :fb
  193. cls
  194. smsdata b:\
  195. CLS
  196. echo --------------------------------------------------------------
  197. ECHO Remove diskette from B: drive, label it:
  198. echo "SMS Main program, start with:   SMS     at DOS prompt"
  199. echo The second diskette or part B contains a large mailing
  200. echo list over 1.5 meg in size in the self-unpacking file
  201. echo DATABASE.EXE and CANNOT be unpacked to floppies. Contact
  202. echo the author of this package for the special "floppies only"
  203. echo version of the mailing list which is a custom product.
  204. echo You may RUN the newly installed floppy with the unpacked SMS
  205. echo program using the command    SMS   at the DOS prompt.
  206. echo --------------------------------------------------------------
  207. pause
  208. goto quit
  209. :fd
  210. cls
  211. smsdata d:\
  212. CLS
  213. echo --------------------------------------------------------------
  214. ECHO Remove diskette from D: drive, label it:
  215. echo "SMS Main program, start with:   SMS     at DOS prompt"
  216. echo The second diskette or part B contains a large mailing
  217. echo list over 1.5 meg in size in the self-unpacking file
  218. echo DATABASE.EXE and CANNOT be unpacked to floppies. Contact
  219. echo the author of this package for the special floppies only
  220. echo version of the mailing list which is a custom product.
  221. echo You may RUN the newly installed floppy with the unpacked SMS
  222. echo program using the command    SMS   at the DOS prompt.
  223. echo --------------------------------------------------------------
  224. pause
  225. goto quit
  226. :fe
  227. cls
  228. smsdata e:\ 
  229. CLS
  230. echo --------------------------------------------------------------
  231. ECHO Remove diskette from E: drive, label it:
  232. echo "SMS Main program, start with:   SMS     at DOS prompt"
  233. echo The second diskette or part B contains a large mailing
  234. echo list over 1.5 meg in size in the self-unpacking file
  235. echo DATABASE.EXE and CANNOT be unpacked to floppies. Contact
  236. echo the author of this package for the special floppies only
  237. echo version of the mailing list which is a custom product.
  238. echo You may RUN the newly installed floppy with the unpacked SMS
  239. echo program using the command    SMS   at the DOS prompt.
  240. echo --------------------------------------------------------------
  241. pause
  242. goto quit
  243. :QUIT
  244. CLS
  245. ECHO            Installation of SMS program now complete.
  246. ECHO   Be sure to register or subscribe - support the shareware concept!
  247. ECHO    See the file REGISTER.TXT within the main program for details.
  248. GOTO END
  249. :ABORT
  250. cls
  251. ECHO  Installation process aborted
  252. :END
  253.