home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 1 / Mecomp-CD.iso / amiga / tools / boot / infoboot / install < prev    next >
Text File  |  1997-02-21  |  2KB  |  86 lines

  1. ; InfoBoot Installation Script v1.07
  2. ; Written By Edward Farrow (Part Of The InfoBoot v1.24 Package)
  3. (complete 0)
  4. (user 3)
  5. (onerror
  6. (IF (> @ioerr 0)
  7. (Message ("\n\nThe Follow Dos Error Has Occured: %ld" @ioerr)
  8.  "\n\n\nPlease Consult Your Workbench Manual For Details\n"
  9.  "Or Type \"Fault <number>\" In Shell/CLI For Information"))
  10. )
  11. (Message "\n\nInfoBoot v1.24\n\n\n"
  12.          "Display System Information At Startup\n\n\n"
  13.          "InfoBoot Copyright ©1996/7 Edward Farrow\n"
  14.          "All Rights Reserved."
  15. )
  16.  
  17. (complete 25)
  18. (set exedest
  19.    (askdir
  20.       (prompt "Where do you wish to install InfoBoot?")
  21.    (help @askdir-help)
  22.       (default "SYS:Utilities/")
  23.    )
  24. )
  25. (copyfiles
  26.    (prompt "Copying InfoBoot...")
  27.    (source "InfoBoot")
  28.    (dest exedest)
  29. )
  30.  
  31. (set #askoptions-help
  32.    "You may select as many of the options as you wish to install."
  33. )
  34. (complete 50)
  35. (set docdest
  36.    (askdir
  37.       (prompt "Where do you wish to install the documentation?")
  38.       (help @askdir-help)
  39.       (default "SYS:")
  40.    )
  41. )
  42.  
  43. (complete 75)
  44. (set installdoc
  45.    (askoptions
  46.       (prompt "Which documentation would you like to install?")
  47.       (help #askoptions-help)
  48.       (choices
  49.          " AmigaGuide®  (English)"
  50.          "Standard Text (English)"
  51.        )
  52.    )
  53. )
  54.  
  55. (if (in installdoc 0)
  56.    (copyfiles
  57.       (prompt "Copying Documentation...")
  58.       (source "Docs/English/InfoBoot.guide")
  59.       (infos)
  60.       (dest docdest)
  61.    ))
  62. (if (in installdoc 1)
  63.    (copyfiles
  64.       (prompt "Copying Documentation...")
  65.       (source "Docs/English/InfoBoot.doc")
  66.       (infos)
  67.       (dest docdest)
  68.    ))
  69.  
  70. (complete 90)
  71.  
  72. (message "\n\nI shall now create the directory\n"
  73.          " `S:InfoBoot/' and install `DATA' to it..")
  74.  
  75. (complete 95)
  76.    (makedir "S:InfoBoot")
  77.    (copyfiles
  78.       (prompt "Copying DATA Module...")
  79.          (source "IB/DATA")
  80.          (dest "S:InfoBoot/")
  81.    )
  82. (complete 100)
  83. (message "\n\nInfoBoot is now installed!"
  84.          "\n\nRead the documentation for further details!")
  85.  
  86.