home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 58 / af058sub.adf / swazinfo10.lha / SwazInfo / Install next >
Text File  |  1993-12-16  |  664b  |  51 lines

  1. (complete 0)
  2.  
  3. (set #bad-kick
  4. (cat "You must be using Kickstart 2.0 (V37) to install SwazInfo"
  5. ))
  6.  
  7. (set #which-disk
  8. (cat "\nSelect directory to install to"
  9. ))
  10.  
  11. (if (< (/ (getversion) 65536) 39)
  12. (
  13.     (abort #bad-kick)
  14. ))
  15.  
  16.  
  17. (complete 10)
  18.  
  19. (set target (askdir (prompt #which-disk)
  20.         (help @set)
  21.         (default "SYS:WBStartup")
  22.     )
  23. )
  24. (set @default-dest target)
  25.  
  26.  
  27. (complete 20)
  28.  
  29. (copylib
  30.     (prompt "Installing matrix.library")
  31.     (help @copylib-help)
  32.     (source "matrix.library")
  33.     (dest "LIBS:")
  34.     (confirm)
  35. )
  36.  
  37. (complete 50)
  38.  
  39. (copyfiles
  40.     (prompt "Copying to " #target )
  41.     (help @copyfiles-help)
  42.     (source "")
  43.     (dest (cat target) )
  44.     (choices "SwazInfo")
  45.     (infos)
  46. )
  47.  
  48.  
  49. (complete 100)
  50.  
  51.