home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 13 / amigaformatcd13.iso / -seriously_amiga- / shareware / misc / infoboot1.08 / install < prev    next >
Text File  |  1997-03-07  |  2KB  |  83 lines

  1. ; InfoBoot Installation Script v1.00
  2. ; Written By Edward Farrow (Part Of The InfoBoot v1.02 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.02\n\n\n"
  12.          "Display System Information At Startup\n\n\n"
  13.          "InfoBoot Copyright ©1996 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® "
  50.          "HTML Document"
  51.          "Standard Text"
  52.        )
  53.    )
  54. )
  55.  
  56. (if (in installdoc 0)
  57.    (copyfiles
  58.       (prompt "Copying Documentation...")
  59.       (source "Docs/InfoBoot.guide")
  60.       (infos)
  61.       (dest docdest)
  62.    ))
  63. (if (in installdoc 1)
  64.    (copyfiles
  65.       (prompt "Copying Documentation...")
  66.       (source "Docs/InfoBoot.html")
  67.       (infos)
  68.       (dest docdest)
  69.    ))
  70. (if (in installdoc 2)
  71.    (copyfiles
  72.       (prompt "Copying Documentation...")
  73.       (source "Docs/InfoBoot.doc")
  74.       (infos)
  75.       (dest docdest)
  76.    ))
  77.  
  78. (complete 100)
  79. (set @default-dest exedest)
  80. (message "\n\nInfoBoot is now installed!"
  81.          "\n\nRead the documentation for further details!")
  82.  
  83.