home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / fld-dr12.lha / drafuplus / Install_DRAFU < prev    next >
Encoding:
Text File  |  1996-03-01  |  2.8 KB  |  99 lines

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