home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Install_SuperView.script V5.68 (25.10.96)
- ; © 1993-96 by Andreas R. Kleinert.
- ; Italian strings by Alessandro Basso (cralex@dei.unipd.it)
-
- (welcome "SuperView Installation Utility")
-
- (if (= @language "deutsch")
- (
- (set MSG_wrong_OS (cat "Sie benötigen mindestens OS V2.04 für SuperView !\n\n"
- "SuperView wird auf Ihrem System nicht laufen !"))
- (set MSG_InstallingSuperView "Installiere jetzt SuperView. Die Libraries müssen separat installiert werden !")
- (set MSG_SelectPath "Wählen Sie das Zielverzeichnis für SuperView")
- (set MSG_InstallingCatalogs "Installiere jetzt die Katalog-Dateien für die\nOS V2.1+ Sprach-Unterstützung.")
- (set MSG_SelectCatalogPath "Wählen Sie den Pfad für die Katalog-Dateien")
- (set MSG_SuperViewPath "Modifiziere jetzt S:User-Startup für einen Suchpfad...")
- (set MSG_CopyPalette "SuperViewPalette nach SYS:WBStartup kopieren ?\n(Nicht mit MagicWB, etc.)")
- (set MSG_RunLibInstaller "Jetzt Library installieren ?")
- (set MSG_DoInstallSuperView "SuperView wurde installiert.")
- )
- )
-
- (if (= @language "english")
- (
- (set MSG_wrong_OS (cat "You need at least OS V2.04 to run SuperView !\n\n"
- "SuperView will not run with your system configuration !"))
- (set MSG_InstallingSuperView "Installing SuperView now. Libraries have to be installed separately !")
- (set MSG_SelectPath "Select path to install SuperView to")
- (set MSG_InstallingCatalogs "Installing Catalog-Files for OS V2.1+\nCode localization.")
- (set MSG_SelectCatalogPath "Select path to install Catalogs to")
- (set MSG_SuperViewPath "Now modifying your S:User-Startup for a search path...")
- (set MSG_CopyPalette "Copy SuperViewPalette to SYS:WBStartup ?\n(Not with MagicWB, etc.)")
- (set MSG_RunLibInstaller "Now install Library ?")
- (set MSG_DoInstallSuperView "SuperView has been installed.")
- )
- )
-
- (if (= @language "italiano")
- (
- (set MSG_wrong_OS (cat "Ti serve almeno AmigaOS V2.04 per usare SuperView !\n\n"
- "SuperView non funzionerà con la tua configurazione di sistema !"))
- (set MSG_InstallingSuperView "Ora installo SuperView. Le Librerie dovranno essere installate separatamente !")
- (set MSG_SelectPath "Seleziona il percorso dove installare SuperView")
- (set MSG_InstallingCatalogs "Installo File-Catalogo per OS V2.1+\nLocalizzazione del Codice.")
- (set MSG_SelectCatalogPath "Seleziona percorso in cui installare i Cataloghi")
- (set MSG_SuperViewPath "Ora modifico la tua S:User-Startup per il percorso di ricerca...")
- (set MSG_CopyPalette "Copy SuperViewPalette to SYS:WBStartup ?\n(Not with MagicWB, etc.)")
- (set MSG_RunLibInstaller "Now install Library ?")
- (set MSG_DoInstallSuperView "SuperView è stato installato.")
- )
- )
-
- (set OS_VER (/ (getversion) 65536) )
-
- (if(< OS_VER 37)
- (abort MSG_wrong_OS)
- )
-
- (complete 0)
-
- (copyfiles
- (prompt MSG_Installing)
- (help @copyfiles-help)
- (source "")
- (set svcomdir
- (askdir
- (prompt MSG_SelectPath)
- (help @askdir-help)
- (newpath)
- (default "SYS:SuperView")
- )
- )
- (dest svcomdir)
- (all)
- (confirm)
- )
-
- (complete 70)
-
- (copyfiles
- (prompt MSG_InstallingCatalogs)
- (help @copyfiles-help)
- (source "locale/catalogs")
- (set svcomdir
- (askdir
- (prompt MSG_SelectCatalogPath)
- (help @askdir-help)
- (newpath)
- (default "SYS:locale/Catalogs")
- )
- )
- (dest svcomdir)
- (all)
- (confirm)
- )
-
- (copyfiles
- (prompt MSG_CopyPalette)
- (help @copyfiles-help)
- (source "Tools")
- (dest "SYS:WBStartup")
- (pattern "SuperViewPalette#?")
- (confirm)
- )
-
- (startup "SuperView"
- (prompt MSG_SuperViewPath)
- (help @startup-help)
- (command "Path "svcomdir" ADD\n")
- )
-
- (makeassign "IPROGDIR" "PROGDIR:" (safe))
- (set @execute-dir "SuperViewLibrary")
- (run (safe) "IPROGDIR:Installer Install_SVLib")
- (makeassign "IPROGDIR" "" (safe))
-
- (complete 99)
-
- (exit MSG_DoInstallSuperView)
-