home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1994 November / SOFM_Nov1994.bin / pc / gi / audlib / install.fil < prev    next >
Text File  |  1994-09-11  |  5KB  |  184 lines

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