home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Jeux / Arcade / Wingnuts.lha / Wingnuts / Install < prev    next >
Text File  |  1998-04-19  |  1KB  |  55 lines

  1. ;$VER: Wingnuts Install Script 4.0
  2. ;by P.D.Glover, 19.04.1998
  3.  
  4. (complete 0)
  5.  
  6. (set chosen_dir "")
  7. (while (= chosen_dir "")
  8.   (set chosen_dir
  9.     (askdir
  10.       (prompt "Where would you like to install Wingnuts?\n"
  11.               "(A directory called 'Wingnuts' will be created for the game)\n")
  12.       (help @askdir-help)
  13.       (default @default-dest)
  14.     )
  15.   )
  16. )
  17.  
  18. (set install_dir (tackon chosen_dir "Wingnuts"))
  19. (makedir install_dir)
  20.  
  21. (copyfiles
  22.   (source "/")
  23.   (pattern "Wingnuts.info")
  24.   (dest chosen_dir)
  25. )
  26.  
  27. (copyfiles
  28.   (source "")
  29.   (pattern "~(fonts)")
  30.   (dest install_dir)
  31.   (infos)
  32. )
  33.  
  34. (copyfiles
  35.   (source ("fonts"))
  36.   (all)
  37.   (dest "Fonts:")
  38. )
  39.  
  40. (complete 100)
  41.  
  42. (message "\n\n\nI have updated your system's FONTS:\n"
  43.          "drawer by adding the font files\n"
  44.          "which 'Wingnuts' requires.\n\n"
  45.          "If you run a font-caching program\n"
  46.          "such as MCP or CacheFont, remember\n"
  47.          "to update your cache data before running\n"
  48.          "'Wingnuts'")
  49.  
  50. (set @default-dest install_dir)
  51. (exit "\n\n\nFinished installing Wingnuts to your hard-drive.\n\n"
  52.       "Double click the Wingnuts icon in " install_dir " to run."
  53.       (quiet)
  54. )
  55.