home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / System / FBlit / Install < prev    next >
Text File  |  1998-06-25  |  1KB  |  49 lines

  1. ; v0.002 FBlit installer nonsense... 
  2.  
  3. (set destdir
  4.   (askdir 
  5.     (prompt "\nWhere do you want to install/update FBlit?"
  6.             "\n(no drawer will be created)"
  7.     )
  8.     (help   "\nChoose the directory where FBlit should be"
  9.             "\ninstalled or updated. 'C:' is recomended."
  10.     )
  11.     (default "C:")
  12.         
  13.   )
  14. )
  15.  
  16.  
  17. (copyfiles (prompt "Copying FBlit") (source "FBlit") (dest destdir) (infos))
  18.  
  19. (copyfiles (prompt "Copying FBlitGUI") (source "FBlitGUI") (dest destdir))
  20.  
  21. (if (exists "ENVARC:FBlit.cfg")   
  22.   ( (set killcfg
  23.       (askbool
  24.         (prompt "\nWould you like to install the default config?"
  25.                 "\n(Recomended)"
  26.         )
  27.         (help   "\nReplace your old configuration. Always a good"
  28.                 "\nidea, unless you have altered the previous cfg"
  29.                 "\nand don't want to loose your modifications."
  30.                 "\n\nAny new options will be set up regardless,"
  31.                 "\nbut previous settings and 'task lists' will not"
  32.                 "\nbe overwritten if you select 'No' here."
  33.         )
  34.         (choices "Yes" "No")
  35.       )
  36.     )
  37.     (if (= killcfg 1)
  38.       (delete "ENVARC:FBlit.cfg")
  39.     )
  40.   )
  41. )
  42.  
  43. (message "\nInstallation complete."
  44.          "\n\nPlease reboot your system before using"
  45.          "\nan updated version of FBlit."
  46. )
  47.  
  48. (exit (quiet))
  49.