home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 103 / af103sub.adf / DARFUplus.LZX / DRAFUplus / Install_DRAFU < prev    next >
Text File  |  2004-02-16  |  2KB  |  77 lines

  1. ; $VER: Install_DRAFU.script V1.08 (1.12.96)
  2. ; © 1993-96 by Andreas R. Kleinert.
  3.  
  4. (welcome "DRAFU Installation Utility")
  5.  
  6.  
  7.     (set MSG_wrong_OS       (cat "You need at least OS V2.04 to run DRAFU !\n\n"
  8.                                  "DRAFU will not run with your system configuration !"))
  9.     (set MSG_InstallingDRAFU "Installing DRAFU now. Libraries have to be installed separately !")
  10.     (set MSG_SelectPath          "Select path to install DRAFU to")
  11.     (set MSG_InstallingCatalogs  "Installing Catalog-Files for OS V2.1+\nCode localization.")
  12.     (set MSG_SelectCatalogPath   "Select path to install Catalogs to")
  13.     (set MSG_DoInstallDRAFU  "DRAFU has been installed.")
  14.     (set MSG_DRAFUPath       "Now modifying your S:User-Startup for a search path...")
  15.  
  16.  
  17. (if (= @language "deutsch")
  18.   (
  19.     (set MSG_wrong_OS       (cat "Sie benötigen mindestens OS V2.04 für DRAFU !\n\n"
  20.                                  "DRAFU wird auf Ihrem System nicht laufen !"))
  21.     (set MSG_InstallingDRAFU "Installiere jetzt DRAFU. Die Libraries müssen separat installiert werden !")
  22.     (set MSG_SelectPath          "Wählen Sie das Zielverzeichnis für DRAFU")
  23.     (set MSG_InstallingCatalogs  "Installiere jetzt die Katalog-Dateien für die\nOS V2.1+ Sprach-Unterstützung.")
  24.     (set MSG_SelectCatalogPath   "Wählen Sie den Pfad für die Katalog-Dateien")
  25.     (set MSG_DoInstallDRAFU  "DRAFU wurde installiert.")
  26.     (set MSG_DRAFUPath       "Modifiziere jetzt S:User-Startup für einen Suchpfad...")
  27.   )
  28. )
  29.  
  30. (set OS_VER (/ (getversion) 65536) )
  31.  
  32. (if(< OS_VER 37)
  33.   (abort MSG_wrong_OS)
  34. )
  35.  
  36. (complete 0)
  37.  
  38. (copyfiles
  39.   (prompt MSG_Installing)
  40.   (help @copyfiles-help)
  41.   (source "")
  42.   (set svcomdir
  43.               (askdir
  44.                      (prompt MSG_SelectPath)
  45.                      (help @askdir-help)
  46.                      (newpath)
  47.                      (default "SYS:DRAFU")
  48.               )
  49.   )
  50.   (dest svcomdir)
  51.   (all)
  52.   (confirm)
  53. )
  54.  
  55. (complete 70)
  56.  
  57. (copyfiles
  58.   (prompt MSG_InstallingCatalogs)
  59.   (help @copyfiles-help)
  60.   (source "locale/catalogs")
  61.   (set svcomdir
  62.               (askdir
  63.                      (prompt MSG_SelectCatalogPath)
  64.                      (help @askdir-help)
  65.                      (newpath)
  66.                      (default "SYS:locale/Catalogs")
  67.               )
  68.   )
  69.   (dest svcomdir)
  70.   (all)
  71.   (confirm)
  72. )
  73.  
  74. (complete 99)
  75.  
  76. (exit MSG_DoInstallDRAFU)
  77.