home *** CD-ROM | disk | FTP | other *** search
/ Game Fest 1993 / gamefest1993stgcomputerslimited1993.iso / soft / more8 / pro23 / install.fil < prev    next >
Text File  |  1993-01-16  |  5KB  |  189 lines

  1. BACKGROUND 112
  2. LANGUAGE ENGLISH
  3. BORDER 2
  4. TELESCOPE ON
  5. SHADOW ON
  6.  
  7. WINOPEN 0 2 31
  8. "                 SILICON CITY INSTALLATION PROGRAM                 "
  9. ""
  10. "     SILICON CITY COPYRIGHT (C) 1993 BY LYRIC SOFTWARE COMPANY     "
  11. "                25 WOODY LANE - NORTHPORT, NY 11768              "
  12. "                       ALL RIGHTS RESERVED                         "
  13.  
  14. BORDER 1
  15. WINOPEN 0 12 111
  16.  
  17. ""
  18. "              Welcome to Silicon City              "
  19. ""
  20. "This installation program will install Silicon City"
  21. "  on your computer.  Just follow the instructions  "
  22. ""
  23. " You can exit the installation program at any time "
  24. "             by pressing the Escape key            "
  25. ""
  26. "          To continue, press [Enter], now          "
  27. ""
  28.  
  29. WAIT +32 +10
  30. WINCLOSE
  31.  
  32. SPACE 512
  33.  
  34. DRIVE C 0 12 111 15 32 14 79
  35. PATH \SILCITY 0 12 111 15 32 14 79
  36.  
  37. COPY ~0\*.* ~1~2\ 0 12 111
  38. JUMP.FAIL INSTALL_FAILURE
  39.  
  40. WINOPEN 0 12 111
  41.  
  42. ""
  43. "   Silicon City has been installed    " 
  44. "    successfully on your computer!    "
  45. ""
  46. "  Next, we will display the READ.ME   "
  47. "file, which contains any late-breaking"
  48. "    changes to the documentation.     "
  49. ""
  50. "   To continue, press [Enter], now    "
  51. ""
  52. WAIT +25 +9
  53. WINCLOSE
  54.  
  55. VIEW ~1~2\READ.ME 79 31
  56.  
  57. :PRINT_READ.ME
  58. WINOPEN 0 12 111
  59. ""
  60. "Would you like to print the READ.ME file?"
  61. ""
  62. ""
  63.  
  64. WINUPDATE +31 +3 110
  65. "(Y or N)"
  66.  
  67. ASK +39 +3                    ' one method of providing a "conditional" jump
  68.  
  69. WINCLOSE                      ' close the above window
  70. JUMP.NO EXIT
  71.  
  72. WINOPEN 0 0 31                ' printing large file takes a while ...
  73. ""
  74. "  Printing...  "
  75. ""
  76. PRINT ~1~2\READ.ME
  77. WINCLOSE                      ' close the above window
  78. JUMP.FAIL PRINTER_ERROR       ' jump on fatal error
  79. JUMP EXIT                     ' print successful, skip next
  80.  
  81. :PRINTER_ERROR                ' label for error condition
  82. WINOPEN 0 12 79                ' open the following window
  83. "Your printer is not responding.  Possible problems:"
  84. "   -- Printer is not turned on"
  85. "   -- Printer is out of paper"
  86. "   -- Printer is not attached to LPT1 (parallel port 1)"
  87. ""
  88. "Do you want to try to print again  (Y or N)?"
  89. ASK 57 18                     ' prompt for Y or N key  (fixed cursor position)
  90. WINCLOSE                      ' close this window
  91. JUMP.YES PRINT_READ.ME        ' y key pressed, print
  92. :EXIT
  93.  
  94. ' ----------------------
  95. ' DISPLAY ORDER FORM WIN
  96. ' ----------------------
  97. :PRINT_ORDER.FRM
  98. WINOPEN 0 12 111
  99. ""
  100. "Would you like to print the Order Form?"
  101. ""
  102. ""
  103.  
  104. WINUPDATE +31 +3 110
  105. "(Y or N)"
  106.  
  107. ASK +39 +3                    ' one method of providing a "conditional" jump
  108.  
  109. WINCLOSE                      ' close the above window
  110. JUMP.NO ORDER_EXIT
  111.  
  112. WINOPEN 0 0 31                ' printing large file takes a while ...
  113. ""
  114. "  Printing...  "
  115. ""
  116. PRINT ~1~2\ORDER.FRM
  117. WINCLOSE                      ' close the above window
  118. JUMP.FAIL PRINTER_ERROR2      ' jump on fatal error
  119. JUMP ORDER_EXIT               ' print successful, skip next
  120.  
  121. :PRINTER_ERROR2               ' label for error condition
  122. WINOPEN 0 12 79                ' open the following window
  123. "Your printer is not responding.  Possible problems:"
  124. "   -- Printer is not turned on"
  125. "   -- Printer is out of paper"
  126. "   -- Printer is not attached to LPT1 (parallel port 1)"
  127. ""
  128. "Do you want to try to print again  (Y or N)?"
  129. ASK 57 18                     ' prompt for Y or N key  (fixed cursor position)
  130. WINCLOSE                      ' close this window
  131. JUMP.YES PRINT_ORDER.FRM        ' y key pressed, print
  132. :ORDER_EXIT
  133.  
  134. ' ----------------------
  135. ' display closing window
  136. ' ----------------------
  137. WINOPEN 0 12 111
  138.  
  139. ""
  140. "     Thanks for buying our game.  We're sure you'll have lots of     "
  141. "fun with it.  Be sure to fill out your registration and comment card."
  142. ""
  143. "      Registering will ensure you receive notice of any updates,"
  144. "        and information about new games that you might enjoy."
  145. ""
  146. "We're also very interested in your comments.  Let us know what you think"
  147. "          about this game.  We value all your suggestions."
  148. ""
  149. "        To complete the installation program, press [Enter]."
  150. ""
  151. WAIT +63 +11
  152.  
  153.  
  154. ' ------------------------
  155. ' exit the system normally
  156. ' ------------------------
  157. END
  158.  
  159. ' ---------------------------------------------------
  160. ' Installation Failure. It is a good idea to add a
  161. ' similar routine to the bottom of all script files.
  162. ' ---------------------------------------------------
  163. :INSTALL_FAILURE
  164.  
  165. WINOPEN 0 12 79
  166. "THE INSTALLATION PROGRAM FAILED PRIOR TO COMPLETION"
  167. ""
  168. "Possible reasons:"
  169. "   -- The floppy disk was removed prior to completion."
  170. "   -- The floppy disk was damaged during shipping."
  171. "   -- Your disk drive is out of alignment."
  172. ""
  173. "Press [Enter] to remove incomplete program files."
  174. WAIT 62 20
  175.  
  176. ' delete all partial files using internal variables
  177. '   ~1 = the drive the user installed to (C: was the default)
  178. '   ~2 = the path the user installed to (\SAMPLE was the default)
  179. DELETE ~1~2\*.* 0 0 31
  180.  
  181. ' now remove the directory
  182. RD ~1~2
  183. WINCLOSE
  184. WINOPEN 0 12 31
  185. "Partially Installed Files are Now Deleted."
  186. ""
  187. "      Press [Enter] to Quit."
  188. WAIT 111 15
  189.