home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Install_SViewNG.script V7.14 (19.7.97)
- ; © 1993-97 by Andreas R. Kleinert.
- ; Italian strings by Alessandro Basso (cralex@amiga.dei.unipd.it)
- ; Norwegian strings by Roger Hågensen (msi@sn.no)
-
-
- (set @app-name "SViewNG")
- (welcome "SViewNG Installation")
-
-
- ; *** english is default language
-
- (set #Msg_wrong_OS (cat "You need at least AmigaOS V2.04 to run SViewNG !\n\n"
- "SViewNG will not run with your system configuration !"))
- (set #Msg_InstallingSViewNG "Installing SViewNG now. Libraries have to be installed separately !")
- (set #Msg_SelectPath "Select path to install SViewNG to")
- (set #Msg_InstallingCatalogs "Installing Catalog-Files for OS V2.1+\nCode localization.")
- (set #Msg_SelectCatalogPath "Select path to install Catalogs to")
- (set #Msg_SViewNGPath "Now modifying your S:User-Startup for a search path...")
- (set #Msg_CopyPalette "Copy SViewNGPalette to SYS:WBStartup ?\n(Not with MagicWB, etc.)")
- (set #Msg_RunLibInstaller "Now install Library ?")
- (set #Msg_DoInstallSViewNG "SViewNG has been installed.")
-
-
- (if (= @language "deutsch")
- (
- (set #Msg_wrong_OS (cat "Sie benötigen mindestens AmigaOS V2.04 für SViewNG !\n\n"
- "SViewNG wird auf Ihrem System nicht laufen !"))
- (set #Msg_InstallingSViewNG "Installiere jetzt SViewNG. Die Libraries müssen separat installiert werden !")
- (set #Msg_SelectPath "Wählen Sie das Zielverzeichnis für SViewNG")
- (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_SViewNGPath "Modifiziere jetzt S:User-Startup für einen Suchpfad...")
- (set #Msg_CopyPalette "SViewNGPalette nach SYS:WBStartup kopieren ?\n(Nicht mit MagicWB, etc.)")
- (set #Msg_RunLibInstaller "Jetzt Library installieren ?")
- (set #Msg_DoInstallSViewNG "SViewNG wurde installiert.")
- )
- )
-
- (if (= @language "italiano")
- (
- (set #Msg_wrong_OS (cat "Ti serve almeno AmigaOS V2.04 per usare SViewNG !\n\n"
- "SViewNG non funzionerà con la tua configurazione di sistema !"))
- (set #Msg_InstallingSViewNG "Ora installo SViewNG. Le Librerie dovranno essere installate separatamente !")
- (set #Msg_SelectPath "Seleziona il percorso dove installare SViewNG")
- (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_SViewNGPath "Ora modifico la tua S:User-Startup per il percorso di ricerca...")
- (set #Msg_CopyPalette "Copio SViewNGPalette in SYS:WBStartUp ?\n(Non con MagicWB, ecc.)")
- (set #Msg_RunLibInstaller "Installo ora le Librerie ?")
- (set #Msg_DoInstallSViewNG "SViewNG è stato installato.")
- )
- )
-
- (if (= @language "norsk")
- (
- (set #Msg_wrong_OS (cat "Du trenger minst AmigaOS V2.04 for å bruke SViewNG !\n\n"
- "SViewNG vil ikke kjører på ditt system oppsett !"))
- (set #Msg_InstallingSViewNG "Installerer SViewNG nå. Bibliotek må installeres separat !")
- (set #Msg_SelectPath "Velg destinasjon hvor SViewNG skal inastalleres")
- (set #Msg_InstallingCatalogs "Installerer Katalog-Filer for OS V2.1+\nKode lokalisering.")
- (set #Msg_SelectCatalogPath "Velg destinatsjon hvor Kataloger skal installeres")
- (set #Msg_SViewNGPath "Modifiserer nå din S:User-Startup for en søke sti...")
- (set #Msg_CopyPalette "Kopier SViewNGPalette til SYS:WBStartup ?\n(Ikke med MagicWB, osv.)")
- (set #Msg_RunLibInstaller "Installer Bibliotek ?")
- (set #Msg_DoInstallSViewNG "SViewNG er nå installert.")
- )
- )
-
- (set #OS_VER (/ (getversion) 65536) )
-
- (if(< #OS_VER 37)
- (abort #Msg_wrong_OS)
- )
-
- (complete 0)
-
- (makedir "ENV:SuperView-Library")
- (makedir "ENVARC:SuperView-Library")
-
- (if (exists "ENVARC:SuperView-Library/SV_WHERE") (set #svcomdir (getenv "SuperView-Library/SV_WHERE"))
-
- (set #svcomdir "Work:SViewNG")
- )
-
- (if (= (exists (#svcomdir)) 0) (set #svcomdir "Work:SViewNG") )
-
- (set #svcomdir
- (askdir
- (prompt #Msg_SelectPath)
- (help @askdir-help)
- (newpath)
- (default #svcomdir)
- )
- )
-
- (delete "ENVARC:SuperView-Library/SV_WHERE")
- (delete "ENV:SuperView-Library/SV_WHERE")
- (textfile (dest "ENVARC:SuperView-Library/SV_WHERE") (append #svcomdir) (safe))
- (textfile (dest "ENV:SuperView-Library/SV_WHERE") (append #svcomdir) (safe))
-
- (copyfiles
- (prompt #Msg_Installing)
- (help @copyfiles-help)
- (source "")
- (dest #svcomdir)
- (all)
- (confirm)
- )
-
- (complete 70)
-
- (copyfiles
- (prompt #Msg_InstallingCatalogs)
- (help @copyfiles-help)
- (source "locale/catalogs")
- (set #svcatdir
- (askdir
- (prompt #Msg_SelectCatalogPath)
- (help @askdir-help)
- (newpath)
- (default "SYS:locale/Catalogs")
- )
- )
- (dest #svcatdir)
- (all)
- (confirm)
- )
-
- (copyfiles
- (prompt #Msg_CopyPalette)
- (help @copyfiles-help)
- (source "Tools")
- (dest "SYS:WBStartup")
- (pattern "SuperViewPalette#?")
- (confirm)
- )
-
- (startup "SViewNG"
- (prompt #Msg_SViewNGPath)
- (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_DoInstallSViewNG)
-