home *** CD-ROM | disk | FTP | other *** search
/ The Epic Interactive Encyclopedia 1997 / The_Epic_Interactive_Encyclopedia_97.iso / install-encyclopedia < prev    next >
Text File  |  1992-09-02  |  6KB  |  229 lines

  1. ; Epic Encyclopedia Installer Script V1.5 (Major bloody changes!)
  2. ; (New 97 Version - 19 Dec 1996)
  3.  
  4. (complete 0)
  5. (Welcome)
  6.  
  7. (message "** IMPORTANT INFORMATION **\n\nThank you for purchasing the EPIC Interactive Encyclopedia '97, please take note of the following information.\n\nThis product requires at least 2MB of harddrive space on the target drive and 1/2 MB on the System drive.  You will also require the AGA chipset or better and at least 4MB of RAM.\nPlease note: Some film-clips require 6MB of RAM.")
  8. (message "** IMPORTANT INFORMATION **\n\nWe recommend that you use the ASIM CDFS or AmiCDFS CD-ROM filesystems, if you are using an older filesystem please hit abort and install AmiCDFS.\n\nThank you.")
  9. (message "** IMPORTANT INFORMATION **\n\nIf you currently have a previous version of the Epic Encyclopedia installed,\nit is recommended that you first un-install it.")
  10.  
  11.  
  12. (Complete 1)
  13.  
  14. (set install_dir
  15.    (askdir
  16.       (prompt "Select a path to install to, a directory \"Epic\" will be created.")
  17.       (help "Here you choose where you wish to put the main Encyclopedia files.  You can select any harddrive partition or any directory within a partition, a directory Epic will be created there.  Installation requires less than half a megabyte of disk space.")
  18.       (default "Work:")
  19.    )
  20. )
  21.  
  22. (set @default-dest install_dir)
  23.  
  24. (complete 10)
  25.  
  26. (set install_path (tackon install_dir "Epic"))
  27. (makedir install_path (infos))
  28. (copyfiles 
  29.     (prompt "Creating directory")
  30.     (help "")
  31.     (source "Epic_Encyclopedia:Menufiles/Bin.info")
  32.     (dest install_dir)
  33.     (newname "Epic.info")
  34. )
  35.  
  36. (makeassign "EpicInstallPath" install_path)
  37. (makeassign "EpicData" install_path)
  38.  
  39. (complete 12)
  40.  
  41. (makedir "EpicInstallPath:0")
  42. (makedir "EpicInstallPath:A")
  43. (makedir "EpicInstallPath:B")
  44. (makedir "EpicInstallPath:C")
  45. (makedir "EpicInstallPath:D")
  46. (makedir "EpicInstallPath:E")
  47. (makedir "EpicInstallPath:F")
  48. (makedir "EpicInstallPath:G")
  49. (makedir "EpicInstallPath:H")
  50. (makedir "EpicInstallPath:I")
  51. (makedir "EpicInstallPath:J")
  52. (makedir "EpicInstallPath:K")
  53. (makedir "EpicInstallPath:L")
  54. (makedir "EpicInstallPath:M")
  55. (makedir "EpicInstallPath:N")
  56. (makedir "EpicInstallPath:O")
  57. (makedir "EpicInstallPath:P")
  58. (makedir "EpicInstallPath:Q")
  59. (makedir "EpicInstallPath:R")
  60. (makedir "EpicInstallPath:S")
  61. (makedir "EpicInstallPath:T")
  62. (makedir "EpicInstallPath:U")
  63. (makedir "EpicInstallPath:V")
  64. (makedir "EpicInstallPath:W")
  65. (makedir "EpicInstallPath:X")
  66. (makedir "EpicInstallPath:Y")
  67. (makedir "EpicInstallPath:Z")
  68. (makedir "EpicInstallPath:Hotlists")
  69. (makedir "EpicInstallPath:Indexfiles")
  70. (makedir "EpicInstallPath:Saved"(infos))
  71. (makedir "EpicInstallPath:Temp")
  72. (makedir "EpicInstallPath:Tools")
  73. (makedir "EpicInstallPath:Userfiles")
  74.  
  75. ;Copy files into relevent pigeon holes in HDD infa structure...
  76.  
  77. (complete 17)
  78.  
  79. (copyfiles
  80.    (prompt "Copying nessecary files...\n")
  81.    (source "Epic_Encyclopedia:Menufiles/Tools")
  82.    (dest "EpicInstallPath:Tools/")
  83.    (pattern "#?")
  84.    (files)
  85. )
  86.  
  87. ;do the speach pack install
  88.  
  89. ;Devs:
  90. (copyfiles
  91.    (prompt "Copying Speech pack files...")
  92.    (source "Epic_Encyclopedia:Menufiles/Speech/narrator.device")
  93.    (dest "Devs:")
  94.    (files)
  95. )
  96. ;l
  97. (copyfiles
  98.    (prompt "Copying Speech pack files...")
  99.    (source "Epic_Encyclopedia:Menufiles/Speech/speak-handler")
  100.    (dest "l:")
  101.    (files)
  102. )
  103. (copylib
  104.    (prompt "Copying Speech pack files...")
  105.    (source "Epic_Encyclopedia:Menufiles/Speech/translator.library")
  106.    (dest "Libs:")
  107. )
  108.  
  109. (complete 20)
  110.  
  111. (startup "Epic Encyclopedia"
  112.         (prompt "Installer is now about to update your user-startup file, hit proceed to continue or the help button for more information.")
  113.         (help "Some lines need to be added to your startup files inorder for the encyclopedia to function correctly, nothing else will be altered.  Please hit Proceed.")
  114.    (command "IF EXISTS "install_path"\n\tAssign EpicData: "install_path"\n\tPATH EpicData:Tools ADD\nENDIF")
  115. )
  116.  
  117. (complete 23)
  118.  
  119. (copyfiles
  120.    (prompt "Copying system fonts...")
  121.    (source "Epic_Encyclopedia:Fonts")
  122.    (dest "FONTS:")
  123.         (all)
  124.    (fonts)
  125. )
  126.  
  127. (complete 38)
  128. (copylib
  129.    (prompt "Copying libraries...")
  130.    (help "")
  131.    (source "Epic_Encyclopedia:Libs/Cando.library")
  132.    (dest "Libs:")
  133.    (confirm)
  134. )
  135. (complete 43)
  136. (copylib
  137.    (prompt "Copying libraries...")
  138.    (help "")
  139.    (source "Epic_Encyclopedia:Libs/Candogfx.library")
  140.    (dest "Libs:")
  141.    (confirm)
  142. )
  143. (complete 48)
  144. (copylib
  145.    (prompt "Copying libraries...")
  146.    (help "")
  147.    (source "Epic_Encyclopedia:Libs/inovamusic.library")
  148.    (dest "Libs:")
  149.    (confirm)
  150. )
  151. (complete 51)
  152. (copylib
  153.    (prompt "Copying libraries...")
  154.    (help "")
  155.    (source "Epic_Encyclopedia:Libs/req.library")
  156.    (dest "Libs:")
  157.    (confirm)
  158. )
  159. (complete 52)
  160. (copylib
  161.    (prompt "Copying libraries...")
  162.    (help "")
  163.    (source "Epic_Encyclopedia:Libs/reqtools.library")
  164.    (dest "Libs:")
  165.    (confirm)
  166. )
  167. (complete 53)
  168. (copylib
  169.    (prompt "Copying libraries...")
  170.    (help "")
  171.    (source "Epic_Encyclopedia:Libs/rexxreqtools.library")
  172.    (dest "Libs:")
  173.    (confirm)
  174. )
  175. (complete 55)
  176. (copylib
  177.    (prompt "Copying libraries...")
  178.    (help "")
  179.    (source "Epic_Encyclopedia:Libs/rexxsupport.library")
  180.    (dest "Libs:")
  181.    (confirm)
  182. )
  183. (complete 60)
  184. (copylib
  185.    (prompt "Copying libraries...")
  186.    (help "")
  187.    (source "Epic_Encyclopedia:Libs/rexxsyslib.library")
  188.    (dest "Libs:")
  189.    (confirm)
  190. )
  191.  
  192. (complete 68)
  193.  
  194. (set @messy "** IMPORTANT **\n\nFast access files are about to be created for your machine configuration.\nThis process may take several minutes.\n\nPlease be patient.")
  195. (Message @messy)
  196.  
  197. (copyfiles
  198.    (prompt "Copying main program files...")
  199.    (help "")
  200.    (source "Epic_Encyclopedia:Menufiles/Bin/")
  201.    (Dest "EpicInstallPath:")
  202.    (all)
  203.    (infos)
  204. )
  205.  
  206. (complete 75)
  207.  
  208. (execute "Epic_Encyclopedia:Menufiles/Scripts/Install1.script"
  209.     (prompt "")
  210.     (help "")
  211. )
  212.  
  213. (complete 85)
  214.  
  215. (execute "Epic_Encyclopedia:Menufiles/Scripts/Install2.script"
  216.     (prompt "")
  217.     (help "")
  218. )
  219.  
  220. (complete 99)
  221.  
  222. (run "epic_encyclopedia:menufiles/tools/FAKEKEY 0 esc")
  223.  
  224. (run "epic_encyclopedia:menufiles/tools/M nc hide nb epic_encyclopedia:menufiles/pictures/reset.iff")
  225.  
  226. (run "Epic_Encyclopedia:Menufiles/Installfiles/SavReset"
  227.    (prompt "We will now have to reboot your computer, before pressing Proceed please make sure that you have no unsaved files and that all drive lights are out.")
  228. )
  229.