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