home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 4: Phase Four / 17Bit_Phase_Four.iso / files / 2985.dms / 2985.adf / Install_Quiz < prev    next >
Encoding:
Text File  |  1993-11-10  |  5.7 KB  |  230 lines

  1. ;
  2. ;THE ULTIMATE QUIZ Installer V1.0
  3. ;Wriiten by Andy Gibson of AGAS Inc. Nov. 1993
  4. ;Uses the Official Commodore Installer.
  5. ;
  6. ;
  7.  
  8.  
  9.  
  10. ;Display welcome text (doesn't seem to work under Kickstart 1.3 !)
  11.  
  12. (message
  13.     ; prompt
  14. "\n\n"
  15. "AGAS Inc. presents THE ULTIMATE QUIZ Vol.1 \n\n"
  16. ; #intro-text
  17. "This Installer can be used to copy all the files\n"
  18. "to your HD or to another Disk !\n"
  19. "\n\n"
  20. "Assign commands will be needed after Install !\n\n"
  21. "Please select HELP (below) for more deatails.\n"
  22.  
  23. (Help
  24. "\n"
  25. "Instructions ...\n\n"
  26. "If you have Booted your Amiga from the Disk\n"
  27. "or HD that the game is to be installed onto\n"
  28. "then the Assigns will be added to your Startup\n"
  29. "for you. (As long as the User-Startup file is\n"
  30. "in the S directory of the Disk or HD.)\n"
  31. "\n\n"
  32. "You should continue this Install now ...\n"
  33.  
  34. "Please click on MORE (below)\n\n"
  35.  
  36. "If you have Booted from the ORIGINAL Game\n"
  37. "Floppy then the Assign Command won't work ! \n"
  38. "You could add it manually to your Startup.\n\n"
  39. "Assign The_Quiz: 'Wherever You Installed the game To'\n\n"
  40. "eg. If you Installed the game to  Work:Games  then\n"
  41. "you would enter  Assign The_Quiz: Work:Games.\n\n"
  42. "into either your Startup-Sequence or in your\n"
  43. "User-Startup scripts."
  44. "\n\n"
  45. "                             Click on  MORE  (below)\n"
  46.  
  47. "This Installer can be used to Install this game onto\n"
  48. "Floppy.\n\n"
  49. "This means that all you Game Compilers out there can\n"
  50. "copy this game to your compilation disk without\n"
  51. "having to use OPUS etc.\n\n"
  52. "The only limitation being that you will have to add\n"
  53. "the Assigns in by hand via any Text Editor only\n"
  54. "if you did not Boot from Floppy that you wish this\n"
  55. "Game to be copied onto.\n\n"
  56. "                             Click on  MORE  (below)\n"
  57.  
  58. "\n\n"
  59. "When this game needs its Data Files it looks for\n"
  60. "them in  DF0:  DF1:  or  The_Quiz:  devices.\n\n"
  61. "So if your disk is called  Mycomp:  then you don't\n"
  62. "have to Assign anything as long as the Data Files\n"
  63. "are in your Parent/Root dir.\n\n"
  64. "The game would then scan DF0: or DF1: to load\n"
  65. "its Data Files.\n\n"
  66. "                             Click on  MORE  (below)\n"
  67.  
  68. "\n"
  69. "If your disk is called  The_Quiz:  then all the\n"
  70. "Data Files should also be in the Parent/Root\n"
  71. "dir.  (not inside any drawers).\n\n"
  72. "Although most people will want to call their\n"
  73. "disk something else.\n\n"
  74. "Unless you want to have the Data Files in\n"
  75. "a dir. eg Assign The_quiz: The_Quiz:YourDir\n"
  76. "\n\n"
  77. "                             Click on  MORE  (below)\n"
  78.  
  79. "\n"
  80. "Basic Rules ...\n\n"
  81. "Your disk can be called anything you like.\n\n"
  82. "If the Data Files are in the Parent/Root dir then\n"
  83. "you won't have to use any Assigns.\n\n"
  84. "If you want your disk to be called The_Quiz:\n"
  85. "and don't want to use Assigns, then make sure\n"
  86. "the Data Files are in the Parent/Root dir.\n"
  87. "\n"
  88. "                             Click on  MORE  (below)\n"
  89.  
  90. "If you want to have the Data Files inside a dir.\n"
  91. "then you will have to use Assigns.\n\n"
  92. "The Assign must always start  Assign The_Quiz:\n\n"
  93. "as my source code checks that device name for\n"
  94. "the Data Files.\n\n"
  95. "The Data Files must NOT be crunched with any\n"
  96. "crunchers eg. PowerPack etc.\n"
  97. "All other files can be if you want.\n"
  98. "\n"
  99. "                             Click on  MORE  (below)\n"
  100.  
  101. "If you want this game to run 100% from your HD\n"
  102. "then Boot from HD and then run this Installer.\n\n"
  103. "The Assigns will be added to your Startup\n"
  104. "file on your HD for you.\n\n"
  105. "The same goes for those who wish to install\n"
  106. "this game to Floppy.\n"
  107. "The User-Startup file Must be present in your\n"
  108. "S Dir first though.\n"
  109. "\n\n"
  110. "                             Click on  MORE  (below)\n"
  111.  
  112. "\n\n"
  113. "For more info. View the INSTALL.Doc !\n\n\n"
  114. "Andy Gibson nov. 1993\n"
  115.  )
  116. )
  117.  
  118. (welcome)
  119.  
  120. (complete 0)
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128. (set TQ_dest
  129.    (askdir
  130.    (prompt "In which disk or drawer do you want the game\n "
  131.            "and its files to be installed in ?")
  132.      (help "This installation will create a drawer named\n"
  133.            "The_Quiz in your choice of directory.\n"
  134.            "All of the files needed to run The Game\n"
  135.            "will be placed inside that directory. \n\n"
  136. )
  137.     (default @default-dest)
  138. )
  139. )
  140.  
  141.  
  142. ; get the program disk
  143. (askdisk
  144.       (prompt "Please insert the disk labeled \"The_Quiz\"" )
  145.       (help "All files will be copied from that disk "
  146.                   "on to your system." )
  147.       (dest "The_Quiz" )
  148. )
  149.  
  150. ; Make dest directory with icon
  151. (makedir (tackon TQ_dest "The_Quiz") (infos))
  152. (complete 10)
  153.  
  154. ; now, we want everything to be copied into this sub-dir
  155.  
  156. (set TQ_dest (tackon TQ_dest "The_Quiz"))
  157. (set @default-dest TQ_dest)
  158.  
  159.  
  160.  
  161.  
  162.  
  163. ;copy the files over now ...
  164. ;**********
  165. (copyfiles
  166.      (source "The_Quiz:Quiz"
  167. (Optional "force") 
  168.     (dest TQ_dest) (infos)
  169. )
  170. )
  171. (complete 40)
  172. ;**********
  173. (copyfiles
  174. (source "The_Quiz:Quiz.Data"
  175. (Optional "force")
  176. (Dest TQ_Dest) (Infos)
  177. )
  178. )
  179. (Complete 60)
  180. ;**********
  181. (copyfiles
  182.      (source "The_Quiz:Quiz_ReadMe"
  183. (Optional "force") 
  184.     (dest TQ_dest) (infos)
  185. )
  186. )
  187. (complete 70)
  188. ;**********
  189. (copyfiles
  190.      (source "The_Quiz:Install.doc"
  191. (Optional "force") 
  192.     (dest TQ_dest) (infos)
  193. )
  194. )
  195. (complete 80)
  196. ;**********
  197. (copyfiles
  198.      (source "The_Quiz:PPMore"
  199. (Optional "force") 
  200.     (dest TQ_dest) (infos)
  201. )
  202. )
  203. (complete 90)
  204.  
  205.  
  206. ; Install "The_Quiz:" to the user's startup
  207.  
  208. (makeassign "The_Quiz" @default-dest)
  209.          (if (exists "S:User-Startup")
  210. (
  211.          (startup "The_Quiz"
  212.          
  213.          (prompt "You must click on PROCEED below to add \n"
  214.                   "an Assign Command to your User-Startup.\n\n"
  215.                   "You must also Reset your Amiga when \n"
  216.                   "completed so the system can read the \n"
  217.                   "Assigns. \n")
  218.         
  219.          (help @Startup-help)
  220.  
  221.          (command "Assign The_Quiz: \"" @default-dest "\"")
  222. )
  223. )
  224. )
  225.  
  226. (complete 100)
  227.  
  228.  
  229. (exit "See Ya All Soon")
  230.