home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1997 #3 / amigamamagazinepolishissue03-1 / my_favourite / collector / install-collector < prev    next >
Text File  |  1997-02-05  |  1KB  |  61 lines

  1. ; This is test of many of the features of the Installer
  2. ; Prints out debugging info if run from CLI
  3.  
  4. (if (= @language "français")
  5.  
  6. (
  7. (set #where_install "Où voulez-vous installer\nle répertoire 'Collector2.5' ?")
  8. (set #copying "Copie de Collector vers %s...")
  9. (set #copying_lib "Copie des bibliothèques...")
  10. )
  11.  
  12. ; ---- English ----
  13. (
  14. (set #where_install "Where do you want to put\nthe 'Collector2.5' directory ?")
  15. (set #copying "Copying Collector to %s...")
  16. (set #copying_lib "Copying libraries...")
  17. )
  18.  
  19. )
  20.  
  21. (set @default-dest
  22.         (askdir
  23.                 (prompt #where_install)
  24.                 (help @askdir-help)
  25.                 (default "SYS:")
  26.         )
  27. )
  28.  
  29. (set @default-dest (tackon @default-dest "Collector2.5"))
  30.  
  31.  
  32. (makedir @default-dest
  33.         (infos)
  34. )
  35.  
  36. (copyfiles
  37.         (prompt #copying @default-dest)
  38.         (help @copyfiles-help)
  39.         (source "Collector2.5")
  40.         (dest @default-dest)
  41.     (infos)
  42.     (all)
  43. )
  44.  
  45. (copylib
  46.         (prompt #copying_lib)
  47.         (help @copylib-help)
  48.         (source "Libs/Reqtools.Library")
  49.         (dest "LIBS:")
  50.         (confirm)
  51. )
  52.  
  53. (copylib
  54.         (prompt #copying_lib)
  55.         (help @copylib-help)
  56.         (source "Libs/MPImage.Library")
  57.         (dest "LIBS:")
  58.         (confirm)
  59. )
  60.  
  61.