home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 25 / amigaformatcd25.iso / websites / f1_gp / ftp / snapshotf1gp.lha / SnapshotF1GP / Install_SnapshotF1GP next >
Text File  |  1997-12-14  |  1KB  |  75 lines

  1. ; $VER: Install_SnapshotF1GP 1.0 (14.12.97)
  2. ;   by Oliver Roberts (oliver@poboxes.com)
  3.  
  4. (if (= (exists "Env:Language") 1)
  5.     (set @language (getenv "Language"))
  6. )
  7.  
  8. ;*****************
  9. ; English strings
  10. ;
  11. (set #str-kick2 "You must be running Kickstart 2.04 or higher to use this software")
  12. (set #str-update "Installing newer version of %s")
  13. (set #str-progwhere "Select where the SnapshotF1GP program should be installed\n(a separate drawer will not be created)")
  14. (set #str-docswhere "Select where the AmigaGuide documentation should be installed")
  15. (set #str-prog "SnapshotF1GP program")
  16. (set #str-installdoc "Installing AmigaGuide documentation")
  17.  
  18. ;*************
  19. ; Here we go!
  20. ;
  21. (if (< (/ (getversion) 65536) 37)
  22.     (abort #str-kick2)
  23. )
  24.  
  25. (set #destdir
  26.     (askdir
  27.         (prompt #str-progwhere)
  28.         (help @askdir-help)
  29.         (default @default-dest)
  30.     )
  31. )
  32. (set @default-dest #destdir)
  33. (set #docdir
  34.     (askdir
  35.         (prompt #str-docswhere)
  36.         (help @askdir-help)
  37.         (default @default-dest)
  38.     )
  39. )
  40.  
  41. (copylib
  42.     (prompt (#str-update "f1gp.library"))
  43.     (source "Libs/f1gp.library")
  44.     (dest "LIBS:")
  45.     (help @copylib-help)
  46.     (confirm)
  47. )
  48.  
  49. (copylib
  50.     (prompt (#str-update "iff.library"))
  51.     (source "Libs/iff.library")
  52.     (dest "LIBS:")
  53.     (help @copylib-help)
  54.     (confirm)
  55. )
  56.  
  57. (copylib
  58.     (prompt (#str-update #str-prog))
  59.     (source "SnapshotF1GP")
  60.     (dest @default-dest)
  61.     (help @copylib-help)
  62.     (infos)
  63.     (confirm)
  64. )
  65.  
  66. (copyfiles
  67.     (prompt #str-installdoc)
  68.     (source "SnapshotF1GP.guide")
  69.     (dest #docdir)
  70.     (help @copyfiles-help)
  71.     (infos)
  72. )
  73.  
  74. (exit)
  75.