home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / Commodites / GlobalTrash.lha / GlobalTrash / InstallGlobalTrash < prev    next >
Text File  |  1998-04-14  |  49KB  |  1,032 lines

  1. ;-----------------------------------------------------------------------------
  2. ; Script to install GlobalTrash
  3. ;
  4. ; $VER: GlobalTrash-Install 1.2 (14.04.98) ⌐ Oliver Blumert 1997/98
  5. ;
  6. ; Translations:
  7. ;    - english:  Geoffrey Webb.
  8. ;    - espa±ol:  Dßmaso D. EstΘvez
  9. ;    - franτais: Francis Labrie.
  10. ;    - italiano: Ciro Scognamiglio.
  11. ;    - polski:   Patryk 'Silver Dream !' úogiewa.
  12. ;    - svenska:  Martin Hassel, moj@antisocial.com
  13. ;-----------------------------------------------------------------------------
  14.  
  15. ;=============================================================================
  16. ; Configuration defaults
  17. ;=============================================================================
  18.  
  19. (set #MinSysVersion             39)
  20. (set #CPUVersion                -1)
  21. (set #MainprogPath              "SYS:WBStartup")
  22. (set #MainprogName              "GlobalTrash")
  23. (set #ClientPath                "C:")
  24. (set #ClientName                "GlobalTrashClient")
  25. (set #PrefsDefPath              "SYS:Prefs")
  26. (set #PrefsPath                 #PrefsDefPath)
  27. (set #PrefsName                 "GlobalTrashPrefs")
  28. (set #DocuName                  "GlobalTrash.guide")
  29. (set #RegisterName              "Register.txt")
  30. (set #HistoryName               "GlobalTrash.History")
  31. (set #ImportantName             "GlobalTrash.Important")
  32. (set #LocaleSrc                 "catalogs")
  33. (set #LocaleDest                "LOCALE:catalogs")
  34.  
  35. (set #PerformIconCopy           1)
  36.  
  37. ; Installmodes
  38. (set #New                       0)
  39. (set #Update                    1)
  40. (set #Remove                    2)
  41. (set #InstallMode               #New)
  42.  
  43. ;=============================================================================
  44. ; English (default) strings
  45. ;=============================================================================
  46.  
  47. (
  48.   ; Documentation
  49.     (set #DocuPath            "Help/english")
  50.     (set #DocuDefaultPath     "HELP:english")
  51.  
  52.   ; Errors
  53.     (set #Err-Bad-Kick        "You need at least Kickstart 3.0 to run GlobalTrash !")
  54.     (set #Err-Bad-CPU         "You need a Motorola MC68k CPU (68000/010/020/030/040/060) to run GlobalTrash !")
  55.  
  56.   ; Message
  57.     (set #Message             "\n\nThank you very much for choosing\n\n>> GlobalTrash <<\n\nas your trashcan system.\n\n\nInstallscript ⌐ 1997/98 by Oliver Blumert\n\n")
  58.  
  59.   ; Main
  60.     (set #InstallModeStrg     "Do you want GlobalTrash to be:")
  61.     (set #InstallMode1        "installed (new) ?")
  62.     (set #InstallMode2        "updated (from an older version) ?")
  63.     (set #InstallMode3        "removed ?")
  64.     (set #InstallModeHelp     "'updated' installs the new versionen (programm, catalog and documentation) and leaves the icons and preferences untouched.\n'installed' installs the complete package including the icons and defaulticons.\n'removed' deletes GlobalTrash from your volume.")
  65.  
  66.     (set #CPUVersionSel       "Install version for the CPU:")
  67.     (set #CPUVersionSelHelp   "Choose a version for your CPU:")
  68.  
  69.     (set #SelectMainDir       "Where do you want to have the program installed ?")
  70.     (set #SelectMainDirHelp   "Select the path for the programm.\n\n\n\nA drawer will NOT be created there !\n\nIf you choose 'SYS:WBStartup' then it will\nbe automatically started after booting")
  71.     (set #CopyMainProg        "Copy mainfile.")
  72.  
  73.     (set #SelectClientDir     "Where do you want to have the GlobalTrashClient installed ?")
  74.     (set #SelectClientDirHelp "Select the path for GlobalTrashClient (a shell-/wb-interface fpr GlobalTrash).\n\n\n\nA drawer will NOT be created there !")
  75.     (set #CopyClientProg      "Copy GlobalTrashClient.")
  76.  
  77.     (set #SelectPrefsDir      "Where do you want to have the preferencesprogram installed ?")
  78.     (set #SelectPrefsDirHelp  "Select the path for the preferencesprogramm.\n\n\n\nA drawer will NOT be created there !")
  79.     (set #CopyPrefsProg       "Copy preferencesprogramm.")
  80.  
  81.     (set #AskIconCopy         "Should the neccesary default-iconfiles for the wb-appicon ('def_Trashcan' and 'def_TrashcanFull') be copied ?")
  82.     (set #AskIconCopyHelp     "This files are needed by GlobalTrash to create the appicon on the workbench. If they wouldn't be copied then the user is unable to delete any files over this appicon until the preferences are corrected.")
  83.     (set #CopyIcons           "Copy needed iconfiles.")
  84.  
  85.     (set #CatalogVersion      0)
  86.     (set #CatalogSel          "Which language should be installed ?\nEnglish is 'built-in' - no need to install it.")
  87.     (set #CatalogSelHelp      "Choose one or more languages which can be used by the programm.\nA catalog for english don't have to be installed (built-in language) !\n\nThe catalogfiles will be installed in 'LOCALE:catalogs/'.")
  88.     (set #CopyLocale          "Copy catalogfile")
  89.  
  90.     (set #SelectDocuDir       "Where do you want to have the documentation installed ?")
  91.     (set #SelectDocuDirHelp   "Select the path for the documentation files.\n\nA drawer will NOT be created there !")
  92.     (set #CopyDocu            "Copy the documentation.")
  93.  
  94.     (set #RemoveMainDir       "Where do you had the program installed ?")
  95.     (set #RemoveMainProg      "Deleting mainfile.")
  96.  
  97.     (set #RemovePrefsDir      "Where do you had the preferencesprogram installed ?")
  98.     (set #RemovePrefsProg     "Deleting preferencesprogramm.")
  99.  
  100.   ; End of installation
  101.     (set #EndInstall          "\n\nThe installation is now finished.\n\n\nIf you have problems, feel free to contact the author.\n\nYou will find the address in the documentation or on his Webpages 'http://home.pages.de/~bolli'.")
  102.     (set #GlobalTrashRemoved  "\n\nGlobalTrash is now removed !\n\n\nI'm sorry that you can find nothing usable at GlobalTrash...")
  103. )
  104.  
  105. ;=============================================================================
  106. ; Deutsche Texte
  107. ;=============================================================================
  108.  
  109. (if (= @language "deutsch")
  110.     (
  111.  
  112.     ; Documentation
  113.         (set #DocuPath            "Help/Deutsch")
  114.         (set #DocuDefaultPath     "HELP:Deutsch")
  115.  
  116.     ; Errors
  117.         (set #Err-Bad-Kick        "GlobalTrash ben÷tigt mindestens Kickstart 3.0 !")
  118.         (set #Err-Bad-CPU         "GlobalTrash ben÷tigt eine Motorola MC68k (68000/010/020/030/040/060) CPU !")
  119.  
  120.     ; Message
  121.         (set #Message             "\n\nVielen Dank, da▀ Sie \n\n>> GlobalTrash <<\n\nals Mⁿlleimer-System gewΣhlt haben.\n\n\nInstallscript « 1997/98 von Oliver Blumert\n\n")
  122.  
  123.     ; Main
  124.         (set #InstallModeStrg     "Wollen Sie GlobalTrash:")
  125.         (set #InstallMode1        "neu Installieren ?")
  126.         (set #InstallMode2        "updaten (von einer Σlteren Version) ?")
  127.         (set #InstallMode3        "entfernen ?")
  128.         (set #InstallModeHelp     "'Update' installiert die neuen Versionen (Programm, Katalog und Anleitung) ohne die Piktogramme oder Einstellungen anzutasten.\n'neu Installieren' installiert das komplette Packet inkl. der Piktogramme und Defaultpiktogramme.\n'entfernen' l÷scht GlobalTrash von Ihrem DatentrΣger.")
  129.  
  130.         (set #CPUVersionSel       "Installiere Version fⁿr CPU:")
  131.         (set #CPUVersionSelHelp   "WΣhlen Sie eine zu Ihrer CPU passende Programmversion.")
  132.  
  133.         (set #SelectMainDir       "Wo m÷chten Sie das Programm installieren ?")
  134.         (set #SelectMainDirHelp   "WΣhlen Sie einen Pfad fⁿr das Hauptprogramm.\n\nEin Verzeichnis wird NICHT erstellt !\n\nWenn Sie 'SYS:WBStartup' auswΣhlen, wird das Programm\nautomatisch nach jedem Bootvorgang gestartet !")
  135.         (set #CopyMainProg        "Kopiere Hauptprogramm.")
  136.  
  137.         (set #SelectClientDir     "Wo m÷chten Sie den GlobalTrashCient installieren ?")
  138.         (set #SelectClientDirHelp "WΣhlen Sie einen Pfad fⁿr GlobalTrashClient (ein Shell-/WB-Interface fⁿr GlobalTrash).\n\nEin Verzeichnis wird NICHT erstellt !")
  139.         (set #CopyClientProg      "Kopiere GlobalTrashClient.")
  140.  
  141.         (set #SelectPrefsDir      "Wo m÷chten Sie das Einstellungsprogramm installieren ?")
  142.         (set #SelectPrefsDirHelp  "WΣhlen Sie einen Pfad fⁿr das Einstellungsprogramm.\n\nEin Verzeichnis wird NICHT erstellt !")
  143.         (set #CopyPrefsProg       "Kopiere Einstellungsprogramm.")
  144.  
  145.         (set #AskIconCopy         "Sollen die notwendigen Default-Piktogrammdateien fⁿr das WB-Appicon ('def_Trashcan' und 'def_TrashcanFull') kopiert werden ?")
  146.         (set #AskIconCopyHelp     "Diese Dateien ben÷tigt GlobalTrash zur Einrichtung des Application-Piktogramms auf der Workbench. Wird es nicht kopiert, k÷nnen so lange keine Dateien ⁿber GlobalTrash gel÷scht werden, bis in dem Einsteller eine korrekte Einstellung getroffen wurde.")
  147.         (set #CopyIcons           "Kopiere notwendige Piktogrammdateien.")
  148.  
  149.         (set #CatalogVersion      1)
  150.         (set #CatalogSel          "Welche Sprache m÷chten Sie installieren ?\nEnglish ist Standard und braucht nicht installiert zu werden !")
  151.         (set #CatalogSelHelp      "WΣhlen Sie eine Sprache aus, die das Programm nutzen soll.\nEin Katalog fⁿr 'deutsch' braucht nicht installiert zu werden (Standardsprache) !\n\nDie Katalogdateien werden in 'LOCALE:catalogs/' installiert.")
  152.         (set #CopyLocale          "Kopiere Katalogdatei.")
  153.  
  154.         (set #SelectDocuDir       "Wo soll die Dokumentation installiert werden ?")
  155.         (set #SelectDocuDirHelp   "WΣhlen Sie einen Pfad fⁿr die Dokumentation.\n\nEin Verzeichnis wird NICHT erstellt !")
  156.         (set #CopyDocu            "Kopiere die Dokumentation.")
  157.  
  158.         (set #RemoveMainDir       "Wo hatten Sie das Programm installiert ?")
  159.         (set #RemoveMainProg      "L÷sche Hauptprogramm.")
  160.  
  161.         (set #RemovePrefsDir      "Wo hatten Sie das Einstellungsprogramm installiert ?")
  162.         (set #RemovePrefsProg     "L÷sche Einstellungsprogramm.")
  163.  
  164.     ; End of installation
  165.         (set #EndInstall          "\n\nDie Installation ist nun abgeschlossen.\n\n\nSollten Sie wider Erwarten Probleme haben, kontaktieren Sie den Autor.\n\nDie Adresse finden Sie in der Dokumentation oder auf dessen Webseiten 'http://home.pages.de/~bolli'.")
  166.         (set #GlobalTrashRemoved  "\n\nGlobalTrash ist nun entfernt !\n\n\nSchade, da▀ Sie dieses Programm nicht brauchen k÷nnen oder benutzen wollen - Ihnen entgeht da einiges...")
  167.     )
  168. )
  169.  
  170. ;=============================================================================
  171. ; Spanish strings
  172. ;=============================================================================
  173.  
  174. (if (= @language "espa±ol")
  175.     (
  176.  
  177.     ; Documentaci≤n
  178.         (set #DocuPath            "Help/english")
  179.         (set #DocuDefaultPath     "HELP:english")
  180.  
  181.     ; Errores
  182.         (set #Err-Bad-Kick        "íSe necesita al menos Kickstart 3.0 para ejecutar GlobalTrash!")
  183.         (set #Err-Bad-CPU         "íSe necesita una CPU Motorola MC68k (68000/010/020/030/040/060) para ejecutar GlobalTrash!")
  184.  
  185.     ; Mensaje
  186.         (set #Message             "\n\nMuchas gracias por elegir\n\n>> GlobalTrash <<\n\npara la gesti≤n del cubo de basura.\n\n\nGui≤n instalador ⌐ 1997/98 Oliver Blumert\n\n")
  187.  
  188.     ; Principal
  189.         (set #InstallModeStrg     "┐Desea que GlobalTrash sea:")
  190.         (set #InstallMode1        "instalado (por primera vez) ?")
  191.         (set #InstallMode2        "actualizado (versi≤n previa ya instalada) ?")
  192.         (set #InstallMode3        "desinstalado?")
  193.         (set #InstallModeHelp     "'actualizado' instala una nueva versi≤n (programa, catßlogo y documentaci≤n) y deja los iconos y preferencias sin modificar.\n'instalado' instala el paquete completo incluyendo iconos e iconos por defecto.\n\'desinstalado' borra GlobalTrash de su volumen.")
  194.  
  195.         (set #CPUVersionSel       "Instalar versi≤n para la CPU:")
  196.         (set #CPUVersionSelHelp   "Elija una versi≤n para su CPU:")
  197.  
  198.         (set #SelectMainDir       "┐D≤nde desea que el programa sea instalado?")
  199.         (set #SelectMainDirHelp   "Elija el camino de acceso al programa\n\n\n\níNO se crearß ning·n caj≤n!\n\nSi elije 'SYS:WBStartup' el programa serß puesto\nen marcha automßticamente cada vez que inicie el sistema")
  200.         (set #CopyMainProg        "Copiar fichero principal.")
  201.  
  202.         (set #SelectClientDir     "┐D≤nde desea instalar GlobalTrashClient?")
  203.         (set #SelectClientDirHelp "Elija el camino de acceso al lugar donde se instalarß GlobalTrashClient (una interfaz shell/WB para GlobalTrash).\n\n\n\níNO se crearß ning·n caj≤n!")
  204.         (set #CopyClientProg      "Copiar GlobalTrashClient.")
  205.  
  206.         (set #SelectPrefsDir      "┐D≤nde desea instalar el programa de preferencias?")
  207.         (set #SelectPrefsDirHelp  "Elija el camino de acceso al lugar donde se instalarß el programa de preferencias.\n\n\n\níNo se crearß ning·n caj≤n!")
  208.         (set #CopyPrefsProg       "Copiar programa de preferencias.")
  209.  
  210.         (set #AskIconCopy         "┐Deben de ser copiados los necesarios iconos por defecto para ser utilizados como iconos de aplicaci≤n sobre el WB ('def_Trashcan' y 'def_TrashcanFull')?")
  211.         (set #AskIconCopyHelp     "Estos ficheros son necesarios para crear el icono de aplicaci≤n (IconAplic) sobre el Workbench: si no son copiados el usuario no podrß borrar ficheros soltando Θstos sobre el icono de aplicaci≤n hasta que las preferencias sean corregidas adecuadamente.")
  212.         (set #CopyIcons           "Copiar iconos necesarios.")
  213.  
  214.         (set #CatalogVersion      2)
  215.         (set #CatalogSel          "┐QuΘ idioma desea instalar?\nEl inglΘs es interno, asφ que en este caso no necesita instalar nada.")
  216.         (set #CatalogSelHelp      "Elija el(los) idioma(s) que desee utilizar con el programa.\níEl catßlogo inglΘs ('english') no serß instalado ya que es el lenguaje interno!\n\nLos catßlogos serßn instalados en 'LOCALE:catalogs/'.")
  217.         (set #CopyLocale          "Copiar catßlogo(s)")
  218.  
  219.         (set #SelectDocuDir       "┐D≤nde desea instalar la documentaci≤n?")
  220.         (set #SelectDocuDirHelp   "Elija el camino de acceso a la documentaci≤n.\n\níNO se crearß ning·n caj≤n!")
  221.         (set #CopyDocu            "Copiar documentaci≤n.")
  222.  
  223.         (set #RemoveMainDir       "┐D≤nde tiene instalado el programa?")
  224.         (set #RemoveMainProg      "Borrando fichero principal.")
  225.  
  226.         (set #RemovePrefsDir      "┐D≤nde tiene instalado el programa de preferencias?")
  227.         (set #RemovePrefsProg     "Borrando programa de preferencias.")
  228.  
  229.     ; Fin de la instalaci≤n
  230.         (set #EndInstall          "\n\nEl proceso de instalaci≤n ha terminado.\n\n\nSi tiene problemas, contacte con el autor.\n\nPuede localizar su direcci≤n en la documentaci≤n o su pßgina Web 'http://home.pages.de/~bolli'.")
  231.         (set #GlobalTrashRemoved  "\n\níGlobalTrash ha sido desinstalado!\n\n\nSiento mucho que no le encuentre ninguna utilidad a GlobalTrash...")
  232.     )
  233. )
  234.  
  235.  
  236. ;=============================================================================
  237. ; Textes franτais
  238. ;=============================================================================
  239.  
  240. (if (= @language "franτais")
  241.     (
  242.  
  243.     ; Documentation
  244.         (set #DocuPath            "Help/english")
  245.         (set #DocuDefaultPath     "HELP:english")
  246.  
  247.     ; Errors
  248.         (set #Err-Bad-Kick        "Pour utiliser GlobalTrash, vous avez besoin au minimum de la version 3.0 du  Kickstartá!")
  249.         (set #Err-Bad-CPU         "Pour utiliser GlobalTrash, vous avez besoin d'un processeur de la famille Motorola MC68á000 (68á000/010/020/030/040/060)á!")
  250.  
  251.     ; Message
  252.         (set #Message             "\n\nMerci beaucoup d'avoir choisi le systΦme de corbeille\n\n>> GlobalTrash <<\n\n\nScript d'installation ⌐á1997/98 par Oliver Blumert\n\nTraduction franτaise rΘalisΘe par Francis Labrie.")
  253.  
  254.     ; Main
  255.         (set #InstallModeStrg     "Souhaitez-vous que GlobalTrash soitá:")
  256.         (set #InstallMode1        "installΘ (nouveau)á?")
  257.         (set #InstallMode2        "mis α niveau (d'une version antΘrieure)á?")
  258.         (set #InstallMode3        "enlevΘá?")
  259.         (set #InstallModeHelp     "L'option ½ámis α niveauá╗ installe la nouvelle version (programme, catalogue et documentation) tout en laissant les ic⌠nes et les prΘfΘrences dΘjα prΘsents intacts.\nL'option ½áinstallΘá╗ quant α elle installe l'ensemble du logiciel, incluant tous les ic⌠nes.\nEnfin, l'option ½áenlevΘá╗ efface complΦtement GlobalTrash de votre systΦme.")
  260.  
  261.         (set #CPUVersionSel       "Installer une version pour le processeurá:")
  262.         (set #CPUVersionSelHelp   "Choisissez une version correspondant α votre processeur.")
  263.  
  264.         (set #SelectMainDir       "O∙ souhaitez-vous installer le logicielá?")
  265.         (set #SelectMainDirHelp   "SΘlectionnez un chemin pour le logiciel.\n\n\n\nAUCUN tiroir ne sera crΘΘ α cet endroitá!\n\nSi vous choisissez le tiroir ½áSYS:WBStartupá╗ alors GlobalTrash sera\nautomatiquement dΘmarrΘ α l'amorτage de votre systΦme.")
  266.         (set #CopyMainProg        "Copie de l'exΘcutable principal.")
  267.  
  268.         (set #SelectClientDir     "O∙ souhaitez-vous installer la commande GlobalTrashClientá?")
  269.         (set #SelectClientDirHelp "SΘlectionnez un chemin pour la commande GlobalTrashClient (une interface Shell/Workbench pour GlobalTrash).\n\n\n\nAUCUN tiroir ne sera crΘΘ α cet endroitá!")
  270.         (set #CopyClientProg      "Copie de la commande GlobalTrashClient.")
  271.  
  272.         (set #SelectPrefsDir      "O∙ souhaitez-vous installer le logiciel de rΘglagesá?")
  273.         (set #SelectPrefsDirHelp  "SΘlectionnez un chemin pour le logiciel de rΘglage.\n\n\n\nAUCUN tiroir ne sera crΘΘ α cet endroitá!")
  274.         (set #CopyPrefsProg       "Copie du logiciel de rΘglage.")
  275.  
  276.         (set #AskIconCopy         "Les ic⌠nes par dΘfaut nΘcessaires α l'AppIc⌠ne du Workbench (½ádef_Trashcaná╗ et ½ádef_TrashcanFullá╗) doivent-ils Ωtre copiΘsá?")
  277.         (set #AskIconCopyHelp     "Ces fichiers sont nΘcessaires α GlobalTrash afin que ce dernier puisse crΘer l'AppIc⌠ne sur le Workbench.  S'ils ne sont pas copiΘs, alors l'utilisateur ne pourra pas jeter de fichiers via l'AppIc⌠ne jusqu'α ce que les rΘglages dΘfinissent des ic⌠nes valides.")
  278.         (set #CopyIcons           "Copie des ic⌠nes nΘcessaires.")
  279.  
  280.         (set #CatalogVersion      4)
  281.         (set #CatalogSel          "Quel langue souhaitez-vous installerá?\nL'anglais est encodΘ dans l'application et ne requiert aucune installation.")
  282.         (set #CatalogSelHelp      "Choisissez la ou les langues que vous utiliserez avec le programme.\nAucun catalogue n'est nΘcessaire pour l'anglais (est encodΘ dans l'applicationá!).\n\nLes fichiers de catalogue seront installΘs dans le tiroir ½áLOCALE:catalogs/á╗.")
  283.         (set #CopyLocale          "Copie des fichiers de catalogue.")
  284.  
  285.         (set #SelectDocuDir       "O∙ souhaitez-vous installer la documentationá?")
  286.         (set #SelectDocuDirHelp   "SΘlectionnez un chemin pour les fichiers de documentation.\n\nAUCUN tiroir ne sera crΘΘ α cet endroitá!")
  287.         (set #CopyDocu            "Copie de la documentation.")
  288.  
  289.         (set #RemoveMainDir       "O∙ aviez-vous prΘalablement installΘ le logicielá?")
  290.         (set #RemoveMainProg      "Destruction de l'exΘcutable principal.")
  291.  
  292.         (set #RemovePrefsDir      "O∙ aviez-vous prΘalablement installΘ le logiciel de rΘglageá?")
  293.         (set #RemovePrefsProg     "Destruction du logiciel de rΘglage.")
  294.  
  295.     ; End of installation
  296.         (set #EndInstall          "\n\nL'installation est maintenant terminΘe.\n\n\nSi vous avez des problΦmes, vous Ωtes invitΘs α contacter l'auteur.\n\nVous trouverez son adresse dans la documentation ou sur son site Internet au ½áhttp://home.pages.de/~bolliá╗.")
  297.         (set #GlobalTrashRemoved  "\n\nGlobalTrash est maintenant enlevΘ de votre systΦmeá!\n\n\nJe suis dΘsolΘ que vous n'ayez pu trouver une quelconque utilitΘ α GlobalTrash...")
  298.     )
  299. )
  300.  
  301. ;=============================================================================
  302. ; Stringhe in Italiano
  303. ;=============================================================================
  304.  
  305. (if (= @language "italiano")
  306.     (
  307.  
  308.     ; Documentation
  309.         (set #DocuPath            "Help/english")
  310.         (set #DocuDefaultPath     "HELP:english")
  311.  
  312.     ; Errors
  313.         (set #Err-Bad-Kick        "Devi avere almeno il Kickstart 3.0 per usare GlobalTrash !")
  314.         (set #Err-Bad-CPU         "Devi avere una CPU Motorola MC68k (68000/010/020/030/040/060) per usare GlobalTrash !")
  315.  
  316.     ; Message
  317.         (set #Message             "\n\nGrazie per aver scelto\n\n>> GlobalTrash <<\n\nper la gestione del tuo cestino.\n\n\nScript di Installazione ⌐ 1997/98 di Oliver Blumert\n\n")
  318.  
  319.     ; Main
  320.         (set #InstallModeStrg     "Vuoi Che GlobalTrash venga:")
  321.         (set #InstallMode1        "installato (nuovo) ?")
  322.         (set #InstallMode2        "aggiornato (da una vecchia versione) ?")
  323.         (set #InstallMode3        "rimosso ?")
  324.         (set #InstallModeHelp     "'aggiornato' installa la nuova versione (programma, cataloghi e documentazione) e lascia le icone e i settaggi inalterate.\n'installato' installa tutto il programma icone e icone di default comprese.\n'rimosso' cancella GlobalTrash dal tuo Hard Disk.")
  325.  
  326.         (set #CPUVersionSel       "Installo la versione per la CPU:")
  327.         (set #CPUVersionSelHelp   "Scegli la versione per la tua CPU:")
  328.  
  329.         (set #SelectMainDir       "Dove vuoi installare il programma ?")
  330.         (set #SelectMainDirHelp   "Seleziona il percorso di installazione.\n\n\n\nNON verrα creato alcun cassetto !\n\nSe scegli 'SYS:WBStartup' allora verrα\nautomaticamente avviato dopo l'avvio del WB")
  331.         (set #CopyMainProg        "Copio il file principale.")
  332.  
  333.         (set #SelectClientDir     "Dove vuoi installare GlobalTrashClient ?")
  334.         (set #SelectClientDirHelp "Seleziona il percorso di installazione per il GlobalTrashClient (un interfaccia shell/wb per GlobalTrash).\n\n\n\nNON verrα creato alcun cassetto !")
  335.         (set #CopyClientProg      "Copio GlobalTrashClient.")
  336.  
  337.         (set #SelectPrefsDir      "Dove vuoi installare il programma di preferenze ?")
  338.         (set #SelectPrefsDirHelp  "Seleziona il percorso per il programma di preferenze.\n\n\n\nNON verrα creato alcun cassetto !")
  339.         (set #CopyPrefsProg       "Copio il programma di preferenze.")
  340.  
  341.         (set #AskIconCopy         "Devo installare le necessarie icone di default per l'appicon del wb ('def_Trashcan' e 'def_TrashcanFull') verranno copiate ?")
  342.         (set #AskIconCopyHelp     "Questi file sono necessari in modo che GlobalTrash crei le appicon per il workbenchto. Se non venissero copiate allora l'utente non potrebbe cancellare nessun file tramite questa appicon fino a che nelle preferenze non vengano selezionate altre due icone.")
  343.         (set #CopyIcons           "Copio le necessarie icone.")
  344.  
  345.         (set #CatalogVersion      8)
  346.         (set #CatalogSel          "Quale linguaggio deve essere installato ?\nL'Inglese Θ 'build-in' - non c'Θ bisogno di installarlo.")
  347.         (set #CatalogSelHelp      "Scegli uno o pi∙ linguaggi che possono essere usati dal programma.\nIl catalogo Per l'inglese ('english') non deve essere installato (linguaggio build-in) !\n\nI file di cataloghi verranno installati in 'LOCALE:catalogs/'.")
  348.         (set #CopyLocale          "Copio i file di cataloghi")
  349.  
  350.         (set #SelectDocuDir       "Dove vuoi installare la documentazione ?")
  351.         (set #SelectDocuDirHelp   "Seleziona il percorso dove installare la documentazione.\n\nNON verrα creato alcun cassetto !")
  352.         (set #CopyDocu            "Copio la documentazione.")
  353.  
  354.         (set #RemoveMainDir       "Dove hai installato il programma principale ?")
  355.         (set #RemoveMainProg      "Cancello il file principale.")
  356.  
  357.         (set #RemovePrefsDir      "Dove hai installato il programma di preferenze ?")
  358.         (set #RemovePrefsProg     "Cancello il programma di preferenze.")
  359.  
  360.     ; End of installation
  361.         (set #EndInstall          "\n\nL' installazione Θ finita.\n\n\nSe hai problemi, contatta l'autore.\n\nTroverai l'indirizzo nella documentazione o sulla sua pagina web 'http://home.pages.de/~bolli'.")
  362.         (set #GlobalTrashRemoved  "\n\nGlobalTrash Θ stato rimosso !\n\n\nMi dispiace non abbia trovato GlobalTrash un programma utile... ")
  363.     )
  364. )
  365.  
  366. ;=============================================================================
  367. ; Polskie teksty
  368. ;=============================================================================
  369.  
  370. (if (= @language "polski")
  371.     (
  372.  
  373.     ; Documentation
  374.         (set #DocuPath            "Help/english")
  375.         (set #DocuDefaultPath     "HELP:english")
  376.  
  377.     ; Errors
  378.         (set #Err-Bad-Kick        "GlobalTrash wymaga co najmniej KickStartu 3.0!")
  379.         (set #Err-Bad-CPU         "GlobalTrash wymaga procesora serii Motorola MC68k (68000/010/020/030/040/060)!")
  380.  
  381.     ; Message
  382.         (set #Message             "\n\nBrdzo dziδkujδ, √e wybraεe⌠\n\n>> GlobalTrash <<\n\njako sw≤j system ⌠mietnik≤w.\n\n\nSkrypt instalacyjny ⌐1997/98 - Oliver Blumert\n\n")
  383.  
  384.     ; Main
  385.         (set #InstallMode         "Czy chcesz GlobalTrash:")
  386.         (set #InstallMode1        "zainstalowaΩ od nowa?")
  387.         (set #InstallMode2        "uaktualniΩ (starszΓ wersjδ)?")
  388.         (set #InstallMode3        "usunΓΩ?")
  389.         (set #InstallModeHelp     "- 'zainstalowaΩ od nowa' instaluje kompletny pakiet εΓcznie z wszystkimi ikonkami.\n\n- 'uaktualniΩ' instaluje nowe wersje (program, katalog i dokumentacja) nie zmieniajΓc ikonek ani ustawie∩.\n\n- 'usunΓΩ' usuwa GlobalTrasha z Twojego systemu plik≤w.")
  390.  
  391.         (set #CPUVersionSel       "Instalujδ wersjδ dla procesora:")
  392.         (set #CPUVersionSelHelp   "Wybierz, proszδ, odpowiedniΓ dla Twojego procesora wersjδ programu.")
  393.  
  394.         (set #SelectMainDir       "Gdzie chciaε(a)by⌠ zainstalowaΩ gε≤wny program?")
  395.         (set #SelectMainDirHelp   "Wybierz, proszδ gdzie chcesz umie⌠ciΩ gε≤wny program.\n\nW wybranym katalogu NIE bδdzie utworzony podkatalog!\n\nJe√eli wybierzesz 'SYS:WBStartup' to program bδdzie uruchamiany ka√dorazowo przy starcie systemu.")
  396.         (set #CopyMainProg        "Kopiujδ gε≤wny program.")
  397.  
  398.         (set #SelectClientDir     "Gdzie chciaε(a)by⌠ zainstalowaΩ GlobalTrashClienta?")
  399.         (set #SelectClientDirHelp "Wybierz, proszδ gdzie chcesz umie⌠ciΩ program 'GlobalTrashClient' (interfejs CLI/Shell dla GlobalTrasha).\n\nW wybranym katalogu NIE bδdzie utworzony podkatalog!")
  400.         (set #CopyClientProg      "Kopiujδ program 'GlobalTrashClient'.")
  401.  
  402.         (set #SelectPrefsDir      "Gdzie chciaε(a)by⌠ zainstalowaΩ program do zmiany ustawie∩?")
  403.         (set #SelectPrefsDirHelp  "Wybierz, proszδ gdzie chcesz umie⌠ciΩ program do zmiany ustawie∩.\n\nW wybranym katalogu NIE bδdzie utworzony podkatalog!")
  404.         (set #CopyPrefsProg       "Kopiujδ program do zmiany ustawie∩.")
  405.  
  406.         (set #AskIconCopy         "Czy mam r≤wnie√ zainstalowaΩ niezbδdne ikonki ('def_Trashcan' und 'def_TrashcanFull')?")
  407.         (set #AskIconCopyHelp     "Pliki te sΓ niezbδdne do utworzenia app-ikonki na ekranie WorkBencha. Je√eli ich nie zainstalujesz, nie bδdzie mo√liwo⌠ci korzystania z podstawowej funkcji programu tak dεugo dop≤ki nie podasz w ustawieniach z jakich plik≤w GlobalTrash ma korzystaΩ przy tworzeniu app-ikonki.")
  408.         (set #CopyIcons           "Kopiujδ ikonki.")
  409.  
  410.         (set #CatalogVersion      16)
  411.         (set #CatalogSel          "JakΓ wersjδ jδzykowΓ chciaε(a)by⌠ zainstalowaΩ?\nWersja 'English' (czyli angielska) jest wbudowana w program i nie potrzebuje byΩ instalowana!")
  412.         (set #CatalogSelHelp      "Wybierz, proszδ wersjδ jδzykowΓ, z kt≤rej chcesz korzystaΩ.\nDla jδzyka angielskiego nie potrzeba instalowaΩ pliku '.catalog' (jest on wbudowany w program)!\n\nOdpowiednie pliki '.catalog' zostanΓ zainstalowane do katalogu 'LOCALE:catalogs/'.")
  413.         (set #CopyLocale          "Kopiujδ plik(i) '.catalog'.")
  414.  
  415.         (set #SelectDocuDir       "Gdzie chciaε(a)by⌠ zainstalowaΩ plik(i) dokumentacji?")
  416.         (set #SelectDocuDirHelp   "Wybierz, proszδ gdzie chcesz umie⌠ciΩ plik(i) dokumentacji.\n\nW wybranym katalogu NIE bδdzie utworzony podkatalog!")
  417.         (set #CopyDocu            "Kopiujδ plik(i) dokumentacji.")
  418.  
  419.         (set #RemoveMainDir       "Gdzie zainstalowaεe⌠(a⌠) gε≤wny program?")
  420.         (set #RemoveMainProg      "Kasujδ gε≤wny program.")
  421.  
  422.         (set #RemovePrefsDir      "Gdzie zainstalowaεe⌠(a⌠) program do zmiany ustawie∩?")
  423.         (set #RemovePrefsProg     "Kasujδ program do zmiany ustawie∩.")
  424.  
  425.     ; End of installation
  426.         (set #EndInstall          "\n\nInstallacja zostaεa zako∩czona.\n\n\nJe√eli bδdziesz miaε(a) jakie⌠ wΓtpliwo⌠ci lub kεopoty, zawsze mo√esz skontaktowaΩ siδ z autorem (pamiδtajΓc o tym i√ prawdopodobnie nie zna on w dalszym ciΓgu jδzyka polskiego - przyp. tεum.).\n\nAdresy znajdziesz w dokumentacji lub na stronie: 'http://home.pages.de/~bolli'.")
  427.         (set #GlobalTrashRemoved  "\n\nGlobalTrash zostaε usuniδty!\n\n\nSzkoda, √e nie okazaε siδ dla Ciebie przydatny bΓd· nie znalazε on uznania w Twoich oczach... :-(")
  428.     )
  429. )
  430.  
  431. ;=============================================================================
  432. ; Svenska strΣngar
  433. ;=============================================================================
  434.  
  435. (if (= @language "svenska")
  436.     (
  437.  
  438.     ; Documentation
  439.         (set #DocuPath            "Help/english")
  440.         (set #DocuDefaultPath     "HELP:english")
  441.  
  442.     ; Errors
  443.         (set #Err-Bad-Kick        "Du beh÷ver som minst Kickstart 3.0 f÷r att k÷ra GlobalTrash !")
  444.         (set #Err-Bad-CPU         "Du beh÷ver en Motorola MC68k CPU (68000/010/020/030/040/060) f÷r att k÷ra GlobalTrash !")
  445.  
  446.     ; Message
  447.         (set #Message             "\n\nTack sσ mycket f÷r att du vΣljer\n\n>> GlobalTrash <<\n\nsom ditt soptunnesystem.\n\n\nInstallationsscript ⌐ 1997/98 av Oliver Blumert\n\n")
  448.  
  449.     ; Main
  450.         (set #InstallModeStrg     "Vill du att GlobalTrash ska:")
  451.         (set #InstallMode1        "installeras (ny) ?")
  452.         (set #InstallMode2        "uppdateras (frσn en Σldre version) ?")
  453.         (set #InstallMode3        "tas bort ?")
  454.         (set #InstallModeHelp     "'uppdateras' installerar den nya versionen (program, kataloger och dokumentation) och lΣmnar ikonerna och instΣllningarna or÷rda.\n'installeras' installerar det kompletta paketet inklusive ikonerna och f÷rvalda ikoner.\n'tas bort' raderar GlobalTrash frσn din volym.")
  455.  
  456.         (set #CPUVersionSel       "Installera version f÷r CPU:")
  457.         (set #CPUVersionSelHelp   "VΣlj en version f÷r din CPU:")
  458.  
  459.         (set #SelectMainDir       "Var vill du att programmet ska installeras ?")
  460.         (set #SelectMainDirHelp   "VΣlj s÷kvΣg f÷r programmet.\n\n\n\nNσgon lσda kommer INTE att skapas dΣr !\n\nOm du vΣljer 'SYS:WBStartup' sσ kommer den\natt startas automagiskt vid uppstart")
  461.         (set #CopyMainProg        "Kopiera huvudfil.")
  462.  
  463.         (set #SelectClientDir     "Var vill du ha GlobalTrashClient installerad ?")
  464.         (set #SelectClientDirHelp "VΣlj s÷kvΣg f÷r GlobalTrashClient (ett shell-/wb-grΣnssnitt f÷r GlobalTrash).\n\n\n\nNσgon lσda kommer INTE att skapas dΣr !")
  465.         (set #CopyClientProg      "Kopiera GlobalTrashClient.")
  466.  
  467.         (set #SelectPrefsDir      "Var vill du ha instΣllningsprogrammet installerat ?")
  468.         (set #SelectPrefsDirHelp  "VΣlj s÷kvΣg f÷r instΣllningsprogrammet.\n\n\n\nNσgon lσda kommer INTE att skapas dΣr !")
  469.         (set #CopyPrefsProg       "Kopiera instΣllningsprogram.")
  470.  
  471.         (set #AskIconCopy         "Skall de n÷dvΣndiga f÷rvalda ikonfilerna f÷r wb-appikonen ('def_Trashcan' och 'def_TrashcanFull') kopieras ?")
  472.         (set #AskIconCopyHelp     "Dessa filer beh÷vs av GlobalTrash f÷r att skapa appikonen pσ workbench. Om de ej kopieras sσ blir anvΣndaren of÷rm÷gen att ta bort filer via denna appikon f÷rrΣn instΣllningarna korrigerats.")
  473.         (set #CopyIcons           "Kopierar n÷dvΣndiga ikonfiler.")
  474.  
  475.         (set #CatalogVersion      32)
  476.         (set #CatalogSel          "Vilket sprσk vill du ha installerat ?\n╚ngelska Σr 'inbyggt' - beh÷ver ej installeras.")
  477.         (set #CatalogSelHelp      "VΣlj ett eller flera sprσk att anvΣndas med programmet.\nNσgon katalogfil f÷r engelska beh÷ver ej installeras (inbyggt sprσk) !\n\nKatalogfilerna kommer att installeras i 'LOCALE:catalogs/'.")
  478.         (set #CopyLocale          "Kopiera katalogfil")
  479.  
  480.         (set #SelectDocuDir       "Var vill du ha dokumentationen installerad ?")
  481.         (set #SelectDocuDirHelp   "VΣlj s÷kvΣg f÷r dokumentationsfilerna.\n\nNσgon lσda kommer INTE att skapas dΣr !")
  482.         (set #CopyDocu            "Kopiera dokumentation.")
  483.  
  484.         (set #RemoveMainDir       "Var hade du programmet installerat ?")
  485.         (set #RemoveMainProg      "Radera huvudfil.")
  486.  
  487.         (set #RemovePrefsDir      "Var hade du instΣllningsprogrammet installerat ?")
  488.         (set #RemovePrefsProg     "Radera instΣllningsprogram.")
  489.  
  490.     ; End of installation
  491.         (set #EndInstall          "\n\nInstallationen Σr nu klar.\n\n\nOm du har nσgra problem, kontakta gΣrna f÷rfattaren.\n\nDu hittar addressen i dokumentationen eller pσ denna Websida 'http://home.pages.de/~bolli'.")
  492.         (set #GlobalTrashRemoved  "\n\nGlobalTrash nu borttagen !\n\n\nJag finner det trσkigt att du inte finner GlobalTrash alls anvΣndbar...")
  493.     )
  494. )
  495.  
  496.  
  497. ;=============================================================================
  498. ; main installation routine
  499. ;=============================================================================
  500.  
  501.     (complete 0)
  502.     (message #Message (all))
  503.  
  504. ; Check OS-version
  505. ;==================
  506.  
  507.     (if (< (getversion) (* #MinSysVersion 65536))
  508.         (abort #Err-Bad-Kick)
  509.     )
  510.  
  511. ; Check CPU and remember
  512. ;========================
  513.  
  514.     (if (patmatch "680(00|10)" (database "cpu"))
  515.         (set #CPUVersion 0)
  516.     )
  517.     (if (patmatch "680(20|30|40|60)" (database "cpu"))
  518.         (set #CPUVersion 1)
  519.     )
  520.     (if (< #CPUVersion 0)
  521.         (abort #Err-Bad-CPU)
  522.     )
  523.  
  524.     (complete 5)
  525.  
  526.     (welcome)
  527.  
  528. ; Select installationmode
  529. ; =======================
  530.  
  531.     (if (exists (tackon #MainprogPath #MainprogName) (noreq))
  532.         (set #InstallMode #Update)
  533.     )
  534.     (set #InstallMode
  535.         (askchoice
  536.             (prompt #InstallModeStrg)
  537.             (help   #InstallModeHelp)
  538.             (choices
  539.                 #InstallMode1
  540.                 #InstallMode2
  541. ;                #InstallMode3
  542.             )
  543.             (default #InstallMode)
  544.         )
  545.     )
  546.  
  547. ; Mode 3: Remove GlobalTrash (not implemented yet !)
  548. ; ==================================================
  549.  
  550.     (if (= #InstallMode #Remove)
  551.         (exit #GlobalTrashRemoved (quiet))
  552.     )
  553.  
  554. ; Mode 1 and 2: Install or Update GlobalTrash
  555. ; ===========================================
  556.  
  557.     (if (> @user-level 1)
  558.         (set #CPUVersion
  559.             (askchoice
  560.                 (prompt #CPUVersionSel)
  561.                 (help   #CPUVersionSelHelp)
  562.                 (choices
  563.                     "68000/10"
  564.                     "68020/30/40/60"
  565.                 )
  566.                 (default #CPUVersion)
  567.             )
  568.         )
  569.     )
  570.  
  571.     (select #CPUVersion
  572.         (set #MainprogVersion (cat #MainprogName ".000"))
  573.         (set #MainprogVersion #MainprogName)
  574.     )
  575.  
  576.     (complete 10)
  577.  
  578. ; Copy the programfile
  579. ;======================
  580.  
  581.     (if (OR (= #InstallMode #New)
  582.             (AND (= #InstallMode #Update)
  583.                  (NOT (exists (tackon #MainprogPath #MainprogName) (noreq)))))
  584.         (
  585.             (set #MainprogPath
  586.                 (askdir
  587.                     (prompt  #SelectMainDir)
  588.                     (help    #SelectMainDirHelp)
  589.                     (default #MainprogPath)
  590.                 )
  591.             )
  592.         )
  593.     )
  594.  
  595.     ; set application path to get install_log_file there
  596.     (set @default-dest #MainprogPath)
  597.  
  598.     (copyfiles
  599.         (prompt  #CopyMainProg)
  600.         (source  #MainprogVersion)
  601.         (dest    #MainprogPath)
  602.         (newname #MainprogName)
  603.     )
  604.  
  605.     (if (= #InstallMode #New)
  606.         (copyfiles
  607.             (prompt  #CopyMainProg)
  608.             (source  (cat #MainprogName ".info"))
  609.             (dest    #MainprogPath)
  610.         )
  611.     )
  612.  
  613.     (complete 20)
  614.  
  615. ; Copy the preferences
  616. ;======================
  617.  
  618.     (if (OR (= #InstallMode #New)
  619.             (AND (= #InstallMode #Update)
  620.                  (NOT (exists (tackon #PrefsPath #PrefsName) (noreq)))))
  621.         (
  622.             (set #PrefsPath
  623.                 (askdir
  624.                     (prompt  #SelectPrefsDir)
  625.                     (help    #SelectPrefsDirHelp)
  626.                     (default #PrefsPath)
  627.                 )
  628.             )
  629.         )
  630.     )
  631.  
  632.     (copyfiles
  633.         (prompt  #CopyPrefsProg)
  634.         (source  #PrefsName)
  635.         (dest    #PrefsPath)
  636.     )
  637.  
  638. ;    (if (= #InstallMode #New)                                                  ; NEW (V 1.1)
  639.         (copyfiles
  640.             (prompt  #CopyPrefsProg)
  641.             (source  (cat #PrefsName ".info"))
  642.             (dest    #PrefsPath)
  643.         )
  644. ;    )
  645.  
  646. ; Adapt GlobalTrash-Tooltype
  647. ;============================
  648.  
  649.     (if (NOT (= #PrefsPath #PrefsDefPath))
  650.         (
  651.             (tooltype
  652.                 (dest (tackon #MainprogPath #MainprogName))
  653.                 (settooltype "PREFERENCES" (tackon #PrefsPath #PrefsName))
  654.             )
  655.         )
  656.         (
  657.             (tooltype
  658.                 (dest (tackon #MainprogPath #MainprogName))
  659.                 (settooltype "PREFERENCES")
  660.             )
  661.         )
  662.     )
  663.  
  664.     (complete 30)
  665.  
  666. ; Copy the clientprogram 
  667. ;=======================
  668.  
  669.     (if (OR (= #InstallMode #New)
  670.             (AND (= #InstallMode #Update)
  671.                  (NOT (exists (tackon #ClientPath #ClientName) (noreq)))))
  672.         (
  673.             (set #ClientPath
  674.                 (askdir
  675.                     (prompt  #SelectClientDir)
  676.                     (help    #SelectClientDirHelp)
  677.                     (default #ClientPath)
  678.                 )
  679.             )
  680.         )
  681.     )
  682.  
  683.     (copyfiles
  684.         (prompt  #CopyClientProg)
  685.         (source  #ClientName)
  686.         (dest    #ClientPath)
  687.     )
  688.  
  689.     (if (= #InstallMode #New)
  690.         (copyfiles
  691.             (prompt  #CopyClientProg)
  692.             (source  (cat #ClientName ".info"))
  693.             (dest    #ClientPath)
  694.         )
  695.     )
  696. ;    (if (= #InstallMode #Update)
  697. ;        (tooltype
  698. ;            (dest (tackon #MainprogPath #MainprogName))
  699. ;            (settooltype "tooltype" "value")
  700. ;        )
  701. ;    )
  702.  
  703.  
  704.     (complete 40)
  705.  
  706. ; Copy the defaulticons (install new)
  707. ;====================================
  708.  
  709.     (if (= #InstallMode #New)
  710.         (
  711.             (if (> @user-level 1)
  712.                 (set #PerformIconCopy (askbool
  713.                                           (prompt  #AskIconCopy)
  714.                                           (help    #AskIconCopyHelp)
  715.                                       )
  716.                 )
  717.             )
  718.  
  719.             (if (= #PerformIconCopy 1)
  720.                 (
  721.                     (copyfiles
  722.                         (prompt  #CopyIcons)
  723.                         (source  "ENVARC/sys/")
  724.                         (dest    "ENV:sys")
  725.                         (all)
  726.                     )
  727.  
  728.                     (complete 50)
  729.  
  730.                     (copyfiles
  731.                         (prompt  #CopyIcons)
  732.                         (source  "ENVARC/sys/")
  733.                         (dest    "ENVARC:sys")
  734.                         (all)
  735.                     )
  736.                 )
  737.             )
  738.         )
  739.     )
  740.  
  741.     (complete 60)
  742.  
  743. ; Copy the catalogs
  744. ;==================
  745.  
  746.     ; Copy new
  747.     ;=========
  748.  
  749.     (if (= #InstallMode #New)
  750.         (
  751.             (set #CatalogVersion
  752.                 (askoptions
  753.                     (prompt #CatalogSel)
  754.                     (help   #CatalogSelHelp)
  755.                     (choices
  756.                         "deutsch"
  757.                         "espa±ol"
  758.                         "franτais"
  759.                         "italiano"
  760.                         "polski"
  761.                         "svenska"
  762.                     )
  763.                     (default #CatalogVersion)
  764.                 )
  765.             )
  766.  
  767.             ; english (#CatalogVersion = 0 - built in)                         ; (REMOVED V 1.1)
  768.             (if (exists (tackon #LocaleDest "english/GlobalTrash.catalog") (noreq))
  769.                 (delete (tackon #LocaleDest "english/GlobalTrash.catalog"))
  770.             )
  771.  
  772.             ; deutsch (#CatalogVersion = 1)
  773.             (if (in #CatalogVersion 0)
  774.                 (
  775.                     (copyfiles
  776.                         (prompt  #CopyLocale)
  777.                         (source  (tackon #LocaleSrc  "deutsch/GlobalTrash.catalog"))
  778.                         (dest    (tackon #LocaleDest "deutsch"))
  779.                     )
  780.                     (copyfiles
  781.                         (prompt  #CopyLocale)
  782.                         (source  (tackon #LocaleSrc  "deutsch/GlobalTrashPrefs.catalog"))
  783.                         (dest    (tackon #LocaleDest "deutsch"))
  784.                     )
  785.                 )
  786.             )
  787.  
  788.             ; espa±ol (#CatalogVersion = 2)
  789.             (if (in #CatalogVersion 1)
  790.                 (
  791.                     (copyfiles
  792.                         (prompt  #CopyLocale)
  793.                         (source  (tackon #LocaleSrc  "espa±ol/GlobalTrash.catalog"))
  794.                         (dest    (tackon #LocaleDest "espa±ol"))
  795.                     )
  796.                     (copyfiles
  797.                         (prompt  #CopyLocale)
  798.                         (source  (tackon #LocaleSrc  "espa±ol/GlobalTrashPrefs.catalog"))
  799.                         (dest    (tackon #LocaleDest "espa±ol"))
  800.                     )
  801.                 )
  802.             )
  803.  
  804.             ; franτais (#CatalogVersion = 4)
  805.             (if (in #CatalogVersion 2)
  806.                 (
  807.                     (copyfiles
  808.                         (prompt  #CopyLocale)
  809.                         (source  (tackon #LocaleSrc  "franτais/GlobalTrash.catalog"))
  810.                         (dest    (tackon #LocaleDest "franτais"))
  811.                     )
  812.                     (copyfiles
  813.                         (prompt  #CopyLocale)
  814.                         (source  (tackon #LocaleSrc  "franτais/GlobalTrashPrefs.catalog"))
  815.                         (dest    (tackon #LocaleDest "franτais"))
  816.                     )
  817.                 )
  818.             )
  819.  
  820.             ; italiano (#CatalogVersion = 8)
  821.             (if (in #CatalogVersion 3)
  822.                 (
  823.                     (copyfiles
  824.                         (prompt  #CopyLocale)
  825.                         (source  (tackon #LocaleSrc  "italiano/GlobalTrash.catalog"))
  826.                         (dest    (tackon #LocaleDest "italiano"))
  827.                     )
  828.                     (copyfiles
  829.                         (prompt  #CopyLocale)
  830.                         (source  (tackon #LocaleSrc  "italiano/GlobalTrashPrefs.catalog"))
  831.                         (dest    (tackon #LocaleDest "italiano"))
  832.                     )
  833.                 )
  834.             )
  835.  
  836.             ; polski (#CatalogVersion = 16)
  837.             (if (in #CatalogVersion 4)
  838.                 (
  839.                     (copyfiles
  840.                         (prompt  #CopyLocale)
  841.                         (source  (tackon #LocaleSrc  "polski/GlobalTrash.catalog"))
  842.                         (dest    (tackon #LocaleDest "polski"))
  843.                     )
  844.                     (copyfiles
  845.                         (prompt  #CopyLocale)
  846.                         (source  (tackon #LocaleSrc  "polski/GlobalTrashPrefs.catalog"))
  847.                         (dest    (tackon #LocaleDest "polski"))
  848.                     )
  849.                 )
  850.             )
  851.  
  852.             ; svenska (#CatalogVersion = 32)
  853.             (if (in #CatalogVersion 5)
  854.                 (
  855.                     (copyfiles
  856.                         (prompt  #CopyLocale)
  857.                         (source  (tackon #LocaleSrc  "svenska/GlobalTrash.catalog"))
  858.                         (dest    (tackon #LocaleDest "svenska"))
  859.                     )
  860.                     (copyfiles
  861.                         (prompt  #CopyLocale)
  862.                         (source  (tackon #LocaleSrc  "svenska/GlobalTrashPrefs.catalog"))
  863.                         (dest    (tackon #LocaleDest "svenska"))
  864.                     )
  865.                 )
  866.             )
  867.         )
  868.     )
  869.  
  870.     ;update old (catalog exists)
  871.     ;===========================
  872.  
  873.     (if (= #InstallMode #Update)
  874.         (
  875.             (if (exists (tackon #LocaleDest "deutsch") (noreq))                ; (NEW V 1.1)
  876.                 (
  877.                     (copyfiles
  878.                         (prompt  #CopyLocale)
  879.                         (source  (tackon #LocaleSrc  "deutsch/GlobalTrash.catalog"))
  880.                         (dest    (tackon #LocaleDest "deutsch"))
  881.                     )
  882.                     (copyfiles
  883.                         (prompt  #CopyLocale)
  884.                         (source  (tackon #LocaleSrc  "deutsch/GlobalTrashPrefs.catalog"))
  885.                         (dest    (tackon #LocaleDest "deutsch"))
  886.                     )
  887.                 )
  888.             )
  889.                                                                                ; (REMOVED V 1.1)
  890.             (if (exists (tackon #LocaleDest "english/GlobalTrash.catalog") (noreq))
  891.                 (delete (tackon #LocaleDest "english/GlobalTrash.catalog"))
  892.             )
  893.  
  894.             (if (exists (tackon #LocaleDest "espa±ol") (noreq))                ; (NEW V 1.1)
  895.                 (
  896.                     (copyfiles
  897.                         (prompt  #CopyLocale)
  898.                         (source  (tackon #LocaleSrc  "espa±ol/GlobalTrash.catalog"))
  899.                         (dest    (tackon #LocaleDest "espa±ol"))
  900.                     )
  901.                     (copyfiles
  902.                         (prompt  #CopyLocale)
  903.                         (source  (tackon #LocaleSrc  "espa±ol/GlobalTrashPrefs.catalog"))
  904.                         (dest    (tackon #LocaleDest "espa±ol"))
  905.                     )
  906.                 )
  907.             )
  908.  
  909.             (if (exists (tackon #LocaleDest "franτais") (noreq))
  910.                 (
  911.                     (copyfiles
  912.                         (prompt  #CopyLocale)
  913.                         (source  (tackon #LocaleSrc  "franτais/GlobalTrash.catalog"))
  914.                         (dest    (tackon #LocaleDest "franτais"))
  915.                     )
  916.                     (copyfiles
  917.                         (prompt  #CopyLocale)
  918.                         (source  (tackon #LocaleSrc  "franτais/GlobalTrashPrefs.catalog"))
  919.                         (dest    (tackon #LocaleDest "franτais"))
  920.                     )
  921.                 )
  922.             )
  923.  
  924.             (if (exists (tackon #LocaleDest "italiano") (noreq))               ; (NEW V 1.1)
  925.                 (
  926.                     (copyfiles
  927.                         (prompt  #CopyLocale)
  928.                         (source  (tackon #LocaleSrc  "italiano/GlobalTrash.catalog"))
  929.                         (dest    (tackon #LocaleDest "italiano"))
  930.                     )
  931.                     (copyfiles
  932.                         (prompt  #CopyLocale)
  933.                         (source  (tackon #LocaleSrc  "italiano/GlobalTrashPrefs.catalog"))
  934.                         (dest    (tackon #LocaleDest "italiano"))
  935.                     )
  936.                 )
  937.             )
  938.  
  939.             (if (exists (tackon #LocaleDest "polski") (noreq))
  940.                 (
  941.                     (copyfiles
  942.                         (prompt  #CopyLocale)
  943.                         (source  (tackon #LocaleSrc  "polski/GlobalTrash.catalog"))
  944.                         (dest    (tackon #LocaleDest "polski"))
  945.                     )
  946.                     (copyfiles
  947.                         (prompt  #CopyLocale)
  948.                         (source  (tackon #LocaleSrc  "polski/GlobalTrashPrefs.catalog"))
  949.                         (dest    (tackon #LocaleDest "polski"))
  950.                     )
  951.                 )
  952.             )
  953.  
  954.             (if (exists (tackon #LocaleDest "svenska") (noreq))
  955.                 (
  956.                     (copyfiles
  957.                         (prompt  #CopyLocale)
  958.                         (source  (tackon #LocaleSrc  "svenska/GlobalTrash.catalog"))
  959.                         (dest    (tackon #LocaleDest "svenska"))
  960.                     )
  961.                     (copyfiles
  962.                         (prompt  #CopyLocale)
  963.                         (source  (tackon #LocaleSrc  "svenska/GlobalTrashPrefs.catalog"))
  964.                         (dest    (tackon #LocaleDest "svenska"))
  965.                     )
  966.                 )
  967.             )
  968.         )
  969.     )
  970.  
  971.     (complete 70)
  972.  
  973. ; Copy the documentation
  974. ;========================
  975.  
  976.     (set #DocuDefaultPath
  977.         (askdir
  978.             (prompt  #SelectDocuDir)
  979.             (help    #SelectDocuDirHelp)
  980.             (default #DocuDefaultPath)
  981.         )
  982.     )
  983.  
  984.     (copyfiles
  985.         (prompt  #CopyDocu)
  986.         (source  "")
  987.         (dest    #DocuDefaultPath)
  988.         (choices
  989.             (tackon #DocuPath #DocuName)
  990.             (tackon #DocuPath #RegisterName)
  991.             #HistoryName
  992. ;            #ImportantName
  993.         )
  994.     )
  995.  
  996.     (if (= #InstallMode #New)
  997.         (copyfiles
  998.             (prompt  #CopyDocu)
  999.             (source  "")
  1000.             (dest    #DocuDefaultPath)
  1001.             (choices
  1002.                 (cat (tackon #DocuPath #DocuName)     ".info")
  1003.                 (cat (tackon #DocuPath #RegisterName) ".info")
  1004.                 (cat #HistoryName   ".info")
  1005. ;                (cat #ImportantName ".info")
  1006.             )
  1007.         )
  1008.     )
  1009.  
  1010.     (set #ImportantName (tackon #DocuDefaultPath #ImportantName))              ; not with V1.2
  1011.     (if (exists #ImportantName (noreq))
  1012.         (
  1013.             (delete #ImportantName force)
  1014.             (delete (cat #ImportantName ".info") force)
  1015.         )
  1016.     )
  1017.  
  1018.     (complete 99)
  1019.  
  1020. ; Display important note
  1021. ;========================
  1022.  
  1023. ;    (run (cat "SYS:Utilities/MultiView " #ImportantName) (safe))
  1024.  
  1025. ; Finish
  1026. ;========
  1027.  
  1028.     (complete 100)
  1029.  
  1030.     (exit #EndInstall)
  1031.  
  1032.