home *** CD-ROM | disk | FTP | other *** search
/ תקליטור אוסף פנטזיה / fantasia-CD_LINE.iso / cards / cc / install.old < prev    next >
Encoding:
Text File  |  1992-08-24  |  3.9 KB  |  209 lines

  1. ' CHINESE CHECKERS Installation Script
  2. ' Copyright 1992, Midlands Publishing Company.
  3. ' August 17,1992
  4.  
  5. BACKGROUND 63
  6. TELESCOPE OFF
  7.  
  8. WINOPEN 0 2 79
  9.  
  10. "            Fat Cat Software      "
  11. "No other Software Company does it better!"
  12. ""
  13. ""
  14. ""
  15. "        Auto Installation Program"
  16. ""
  17.  
  18. WINUPDATE +14 +1 78
  19. "FAT CAT SOFTWARE"
  20. WINUPDATE +14 +4 78
  21. "CHINESE CHECKERS"
  22.  
  23. TELESCOPE ON
  24. SHADOW ON
  25. SPACE 275                            
  26.  
  27. WINOPEN 0 35 95
  28. "Fat Cat's Auto Installation program is brought to you by" 
  29. "ImagiSOFT, Inc., P.O. Box 13208, Albuquerque, NM  87192"
  30.  
  31. :PROMPT
  32. DRIVE C 0 13 31 15 32 14 79
  33. WINCLOSE
  34. PATH \CHECKERS 0 13 31 15 32 14 79
  35.  
  36. VIDEO EGA
  37. JUMP.NO NO_EGA
  38.  
  39. EXIST ~1~2\*.*                       
  40. JUMP.NO UNPACK
  41.  
  42. EXIST ~1~2\1.FIL                     
  43. JUMP.YES UNPACK
  44.  
  45. WINOPEN 0 11 79
  46. "The directory ~1~2 already exists and contains files!"
  47. ""
  48. "   Installing CHINESE CHECKERS in this directory will"
  49. "                DELETE ALL THE FILES"
  50. "       in this directory prior to installing."
  51. ""
  52. ""
  53. WINUPDATE +2 +7 78
  54. "Are you SURE you want to install it here   Y or N?"
  55. ASK +52 +7
  56. WINCLOSE
  57. JUMP.NO PROMPT
  58.  
  59. :UNPACK
  60. PROMPT OFF                            
  61. DELETE ~1~2\*.* 1 24 51               
  62. PROMPT ON                             
  63.  
  64.  
  65. TELESCOPE OFF
  66. COPY ~0\CHINESE.EXE ~1~2\ 0 13 31
  67. JUMP.FAIL INSTALL_FAILURE
  68. COPY ~0\CHINESE.ICO ~1~2\ 0 12 31
  69. COPY ~0\CHINESE.TXT ~1~2\ 0 12 31
  70. COPY ~0\CC_ORDER.TXT ~1~2\ 0 12 31
  71. COPY ~0\CHINESE.WL ~1~2\ 0 12 31
  72. COPY ~0\READ.ME ~1~2\ 0 12 31
  73. COPY ~0\CC_I_1.WL ~1~2\ 0 12 31
  74. COPY ~0\CC_I_2.WL ~1~2\ 0 12 31
  75. COPY ~0\CC_I_3.WL ~1~2\ 0 12 31
  76. COPY ~0\CC_I_4.WL ~1~2\ 0 12 31
  77. COPY ~0\CC_I_5.WL ~1~2\ 0 12 31
  78. COPY ~0\CC_I_6.WL ~1~2\ 0 12 31
  79. TELESCOPE ON
  80.  
  81. EXIST ~1\CHINESE.BAT
  82. JUMP.NO DOS_PROMPT
  83. PROMPT OFF
  84. DELETE ~1\CHINESE.BAT 1 24 51
  85. PROMPT ON
  86.  
  87. :DOS_PROMPT
  88.  
  89. :FILES_TEST
  90. SET.FILES 25                         
  91.  
  92. DOS 3.0                              
  93. JUMP.NO OLD_DOS                      
  94.  
  95. FILE ~1\CHINESE.BAT                   
  96. "@~1"
  97. "@cd ~2"
  98. "@CHINESE"
  99. "@cd \"
  100. JUMP DONE
  101.  
  102. :OLD_DOS
  103. FILE ~1\CHINESE.BAT
  104. "~1"
  105. "cd ~2"
  106. "CHINESE"
  107. "cd \"
  108.  
  109. :DONE
  110.  
  111. SHADOW ON
  112. WINOPEN 0 11 31
  113. "CHINESE CHECKERS has been successfully installed."
  114. ""
  115. "     To run it, enter the command"
  116. "     from the root directory of drive ~1\"
  117. ""
  118. ""
  119. ""
  120. ""
  121. "Press the [Enter] key to continue."
  122. WINUPDATE +36 +3 30
  123. "CHINESE"
  124. WINUPDATE +7 +6 27
  125. "THANK YOU FOR CHOOSING FAT CAT SOFTWARE!"
  126. WAIT +36 +9
  127. WINCLOSE
  128.  
  129. :PRINT
  130. WINOPEN 0 11 30
  131. "Would you like to PRINT the Documentation   Y or N?"
  132. ASK +53 +1
  133. WINCLOSE
  134. JUMP.NO RUN
  135.  
  136. WINOPEN 0 12 79
  137. ""
  138. "   Printing . . .  "
  139. ""
  140. PRINT ~1~2\CHINESE.TXT
  141. PRINT ~1~2\READ.ME
  142. JUMP.FAIL PRINTER_ERROR
  143. WINCLOSE
  144. JUMP RUN
  145.  
  146. :PRINTER_ERROR
  147. WINOPEN 0 12 79
  148. "Your Printer is not responding.  Possible problems:"
  149. ""
  150. "  -- Printer is not turned on"
  151. "  -- Printer is out of paper"
  152. "  -- Printer is not attached to LPT1 (parallel port 1)"
  153. ""
  154. ""
  155. WINUPDATE +2 +7 78
  156. "Do you want to try to print again  Y or N?"
  157. ASK +44 +7
  158. WINCLOSE
  159. JUMP.YES PRINT
  160.  
  161. :RUN
  162. WINOPEN 0 11 30
  163. "Would you like to run CHINESE CHECKERS right now   Y or N?"
  164. ASK +57 +1
  165. JUMP.NO EXIT
  166. RUN ~1\CHINESE.BAT
  167.  
  168. :EXIT
  169.  
  170. END
  171.  
  172. :INSTALL_FAILURE
  173.  
  174. WINOPEN 0 12 79
  175.  
  176. "CHINESE CHECKERS INSTALLATION FAILED BEFORE IT FINISHED!!"
  177. ""
  178. "Possible reasons:"
  179. "   -- The floppy disk was damaged during shipping."
  180. "   -- Your disk drive is out of alignment."
  181. "   -- The floppy disk was removed prior to completion."
  182. ""
  183. "Press [Enter] to remove incomplete program files."
  184.  
  185. WAIT +51 +8
  186.  
  187. PROMPT OFF
  188. DELETE ~1~2\*.* 0 0 31
  189. RD ~1~2
  190. DELETE ~1\$.BAT 0 0 31
  191. PROMPT ON
  192.  
  193. WINCLOSE
  194.  
  195. WINOPEN 0 11 31
  196.  
  197. "Partially Installed Files are Now Deleted."
  198. ""
  199. WAIT +30 +8
  200.  
  201. :NO_EGA
  202. WINCLOSE
  203. WINOPEN 0 11 79
  204. "CHINESE CHECKERS requires an EGA or better monitor to run"
  205. "Sorry, but it won't run on this computer" 
  206. "          press ENTER to quit"
  207.  
  208. WAIT +30 +4
  209.