home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 124 / af124b.adf / af124b.lzx / MiniArcanoid / MiniArcanoid.install < prev    next >
Text File  |  1997-05-12  |  1KB  |  66 lines

  1. ; MiniArcanoid Installer script
  2.  
  3. (welcome)
  4.  
  5. (set destdir
  6.     (askdir
  7.         (prompt "Select where MiniArcanoid drawer should be created")
  8.         (help @askdir-help)
  9.         (default @default-dest)
  10.     )
  11. )
  12.  
  13. (set @default-dest (tackon destdir "MiniArcanoid"))
  14. (if (NOT (exists @default-dest))
  15.     (makedir @default-dest (infos))
  16. )
  17.  
  18. (copyfiles
  19.     (source "MiniArcanoid")
  20.     (dest @default-dest)
  21.     (help @copyfiles-help)
  22.     (infos)
  23. )
  24.  
  25. (set opts
  26.     (askoptions
  27.         (prompt "Please confirm if you'd like to install these")
  28.         (help @askoptions-help)
  29.         (choices "Documentation" "Sound samples" "Installer script")
  30.         (default 3)
  31.     )
  32. )
  33.  
  34. (if (IN opts 0)
  35.     (copyfiles
  36.         (prompt "Copying documentation")
  37.         (source "MiniArcanoid.guide")
  38.         (dest @default-dest)
  39.         (help @copyfiles-help)
  40.         (infos)
  41.     )
  42. )
  43.  
  44. (if (IN opts 1)
  45.     (copyfiles
  46.         (prompt "Copying samples")
  47.                 (source "")
  48.         (pattern "#?.snd")
  49.         (dest @default-dest)
  50.         (help @copyfiles-help)
  51.         (infos)
  52.     )
  53. )
  54.  
  55. (if (IN opts 2)
  56.     (copyfiles
  57.         (prompt "Copying installer script")
  58.         (source "MiniArcanoid.install")
  59.         (dest @default-dest)
  60.         (help @copyfiles-help)
  61.         (infos)
  62.     )
  63. )
  64.  
  65. (exit)
  66.