home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / dbase / snd202.zip / INSTALL.FIL < prev    next >
Text File  |  1992-08-13  |  5KB  |  168 lines

  1.  
  2. BACKGROUND 63
  3. TELESCOPE OFF
  4. SHADOW ON
  5. WINOPEN 18 2 95
  6.  
  7. "   TurboSystemsCo"
  8. "Installation Program"
  9. "        For"
  10. "   SoundMasterDb"
  11. DOS 3.1
  12. JUMP.NO NO_DOS
  13. MEMORY 512
  14. JUMP.NO  NO_MEM
  15. :PROMPT
  16. SPACE 300
  17. DRIVE C 28 10 31 15 32 14 79
  18. PATH \SOUNDM 12 10 31 15 32 14 79
  19. EXIST ~1~2\*.*
  20. JUMP.NO UNPACK
  21. WINOPEN 0 10 31
  22. "The directory ~1~2 already exists and contains files!"
  23. "Are you sure you want to risk overwriting files in this directory Y or N?"
  24. ASK 77 12
  25. WINCLOSE
  26. JUMP.NO PROMPT
  27. :UNPACK
  28. UNPACK SOUND.PAK 24 10 31 32 14 79
  29. JUMP.FAIL INSTALL_FAILURE
  30. COPY ~0\README.DOC  ~1~2\README.DOC 24 10 31
  31. WINOPEN 0 10 31
  32. "SoundMasterDb requires that you have the statements FILES=40 and"
  33. "BUFFERS=20 or greater in your CONFIG.SYS file."
  34. "Do you want the program to check/modify your CONFIG.SYS file if required"
  35. "                         Y)es or N)o"
  36. ASK  45 14
  37. WINCLOSE
  38. JUMP.NO SKIPGO
  39. :COMMAND_TEST
  40. EXIST ~3\COMMAND.COM
  41. JUMP.YES DOS_PROMPT
  42. WINOPEN 0 10 15
  43. "Please insert your boot floppy disk in drive ~3"
  44. ""
  45. "Press the [Enter] key to continue."
  46. WAIT 47 13
  47. WINCLOSE
  48. JUMP COMMAND_TEST
  49. :DOS_PROMPT
  50. SHADOW OFF
  51. EXIST ~3\CONFIG.SYS
  52. JUMP.NO MAKE_CONFIG
  53. COPY ~3\CONFIG.SYS ~3\CONFIG.LDT 24 10 51
  54. SET.FILES 40
  55. JUMP.FAIL INSTALL_FAILURE
  56. SET.BUFFERS 20
  57. JUMP.FAIL INSTALL_FAILURE
  58. SHADOW ON
  59. JUMP SKIPGO
  60. :MAKE_CONFIG
  61. FILE ~3\CONFIG.SYS
  62. JUMP.FAIL INSTALL_FAILURE
  63. "FILES=40"
  64. "BUFFERS=20"
  65. JUMP THERE
  66. :SKIPGO
  67. SHADOW OFF
  68. WINOPEN 0 12 31
  69. "Would you like to read the README.DOC file?"
  70. "                             (Y or N)"
  71.  
  72. ASK 45 14                     ' one method of providing a "conditional" jump
  73. WINCLOSE                      ' close the above window
  74. JUMP.NO PRINT_INSTALL.TXT
  75. VIEW ~1~2\README.DOC 79 31
  76. :PRINT_INSTALL.TXT
  77. WINOPEN 0 12 31
  78. "Would you like to PRINT the README.DOC file?"
  79. "                             (Y or N)"
  80.  
  81. ASK 45 14                     ' one method of providing a "conditional" jump
  82. WINCLOSE                      ' close the above window
  83. JUMP.NO THERE
  84.  
  85. WINOPEN 0 0 31                ' printing large file takes a while ...
  86. "Printing ..."
  87. PRINT ~1~2\README.DOC
  88. WINCLOSE                      ' close the above window
  89. JUMP.FAIL PRINTER_ERROR       ' jump on fatal error
  90. JUMP THERE                     ' print successful, skip next
  91.  
  92. :PRINTER_ERROR                ' label for error condition
  93. WINOPEN 0 12 31                ' open the following window
  94. "Your printer is not responding.  Possible problems:"
  95. "   -- Printer is not turned on"
  96. "   -- Printer is out of paper"
  97. "   -- Printer is not attached to LPT1 (parallel port 1)"
  98. ""
  99. "Do you want to try to print again  (Y or N)?"
  100. ASK 57 18                     ' prompt for Y or N key
  101. WINCLOSE                      ' close this window
  102. JUMP.YES PRINT_INSTALL.TXT    ' y key pressed, print
  103.  
  104. :THERE
  105. DOS 3.3
  106. JUMP.NO OLD_DOS
  107. FILE ~3\SM.BAT
  108. "@~1"
  109. "@cd ~2"
  110. "@SOUNDM/K"
  111. "@cd \"
  112. JUMP DONE
  113. :OLD_DOS
  114. FILE ~3\SM.BAT
  115. "~1"
  116. "cd ~2"
  117. "SOUNDM/K"
  118. "cd \"
  119. :DONE
  120. WINCLOSE
  121. WINOPEN 0 0 95
  122. "SoundMasterDb v2.01s has been successfully installed. "
  123. "If you let the program check/modify your CONFIG.SYS file,"
  124. "you should re-boot your computer prior to running"
  125. "SoundMasterDb to allow the modifications to take effect."
  126. "Also the program made a backup copy of your old CONFIG.SYS"
  127. "called CONFIG.LDT prior to making any changes."
  128. ""
  129. "     To run the program type SM and press the ENTER "
  130. "     key from the root directory of drive ~3."
  131. ""
  132. " Press [Enter] key to exit this installation program"
  133. WAIT 67 17
  134. WINCLOSE
  135. :EXIT
  136. END
  137. :NO_DOS
  138. WINOPEN 0 10 31
  139. "      This program requires DOS version 3.1 or greater to run!      "
  140. "               The installation is terminated"
  141. "Contact TurboSystemsCo at 404-516-8575 if your DOS is 3.1 or greater"
  142. "               Press the [Enter] key to exit"
  143. WAIT 47 17
  144. WINCLOSE
  145. JUMP EXIT
  146.  
  147. :NO_MEM
  148. WINOPEN 0 10 31
  149. "Your system does not have at least 512K memory required to run the program"
  150. "                      The installation is terminated!"
  151. "   If your system has 512K or more contact TurboSystemCo at 404-516-8575"
  152. "                       Press the [Enter] key to exit"
  153. WAIT 47 13
  154. WINCLOSE
  155. JUMP EXIT
  156.  
  157. :INSTALL_FAILURE
  158. WINOPEN 0 11 79
  159. "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
  160. ""
  161. "Possible reasons:"
  162. "--The floppy disk was removed prior to completion."
  163. "--The floppy disk was damaged during shipping."
  164. "--Your disk drive is out of alignment."
  165. ""
  166. "Press [Enter] to exit"
  167. WAIT 62 19
  168. JUMP EXIT