home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Install_SVPlugin V1.4 (28.12.96)
- ; © 1996-97 by Andreas R. Kleinert.
- ; Installer Script für SuperView.pss and SuperView-Library
-
- (set @app-name "SuperViewLibrary-Plugin")
-
- (set #wrk_justamoment (cat "\n"
- "This will last some time !\n"
- "Please stay tuned ...\n"
- ))
-
- (set #decrunch_error (cat "\n\n"
- "Error while unpacking files !\n\n"
- "Maybe there is not enough free space on your "
- "hard disk or some files are protected from "
- "deleting or writing !\n"
- ))
-
- (set #wrk_guidecrunch (cat "\n"
- "Unpacking files ...\n\n"
- #wrk_justamoment
- ))
-
- (set #amicdfs (cat "\n\n"
- "This package includes the\n"
- "AmiCDFS 2.38 CD-ROM file system\n"
- "with kind permission from Martin Berndt.\n\n"
- "Please note, that it is SHAREWARE!\n\n"
- "Unpack it to RAM: ?"
- ))
-
- (set #plugin_ready (cat "\n\n"
- "Plugin has been installed.\n\n"
- "Documentation is located in the\n"
- "ArtEffect/SuperView directory."
- ))
-
- (if (= @language "deutsch") (
-
- (set #wrk_justamoment (cat "\n"
- "Das dauert eine geraume Zeit.\n"
- "Bitte haben Sie etwas Geduld!\n"
- ))
-
- (set #decrunch_error (cat "\n\n"
- "Fehler beim Entpacken!\n\n"
- "Stellen Sie bitte sicher, daß Ihre Festplatte "
- "ausreichend Speicherkapazität hat, und, falls "
- "die Dateien bereits vorhanden sind diese nicht "
- "lösch- oder schreibgeschützt sind.\n"
- ))
-
- (set #wrk_guidecrunch (cat "\n"
- "Entpacke die Dateien...\n\n"
- #wrk_justamoment
- ))
-
- (set #amicdfs (cat "\n\n"
- "Dieses Paket enthält das\n"
- "AmiCDFS 2.38 CD-ROM Dateisystem\n"
- "mit freundlicher Genehmigung von Martin Berndt.\n\n"
- "Bitte beachten Sie, daß dieses SHAREWARE ist!\n\n"
- "Nach RAM: entpacken ?"
- ))
-
- (set #plugin_ready (cat "\n\n"
- "Plugin wurde installiert.\n\n"
- "Die Dokumentation befindet sich im\n"
- "Verzeichnis ArtEffect/SuperView."
- ))
-
- ))
-
- (makedir "t:sv" (safe))
-
- (makeassign "lhex_temp" "t:sv" (safe))
-
- (working #wrk_guidecrunch)
- (set COMPERROR (run ":c/lhex -qfw=lhex_temp: x ae_svlib.lha"))
- (if ( <> COMPERROR 0)
- (message #decrunch_error)
- )
-
- (complete 10)
-
- (working #wrk_guidecrunch)
- (set COMPERROR (run ":c/lhex -qfw=lhex_temp: x lhex_temp:ae_svlib2.lha"))
- (if ( <> COMPERROR 0)
- (message #decrunch_error)
- )
-
- (delete "lhex_temp:ae_svlib2.lha")
-
- (complete 15)
-
- (working #wrk_guidecrunch)
- (set COMPERROR (run ":c/lhex -qfw=lhex_temp: x plugin.lha"))
- (if ( <> COMPERROR 0)
- (message #decrunch_error)
- )
-
- (complete 20)
-
- ; **************************************************************************
- ; superview.pss installieren
-
- (copyfiles
- (prompt "Copying Plugin...")
- (help @copyfiles-help)
- (source "lhex_temp:plugins")
- (dest "ArtEffect:plugins")
- (pattern "#?")
- (confirm)
- (files)
- )
-
- (complete 25)
-
- (makeassign "IPROGDIR" "PROGDIR:" (safe))
- (set @execute-dir "lhex_temp:AE_SuperView-Lib")
- (run (safe) "IPROGDIR:Installer Install_SVLib")
- (makeassign "IPROGDIR" (safe))
- (set @execute-dir "")
-
- (complete 95)
-
- ; * LZW aktivieren
-
- (set lzwquest 0)
- (if (= lzwquest 0)
- (
- (textfile
- (dest "ENV:SuperView-Library/LEGAL.controlpad")
- (append "LZW=ENABLED\n")
- )
- (copyfiles
- (source "ENV:SuperView-Library/LEGAL.controlpad")
- (dest "ENVARC:SuperView-Library")
- )
- )
- )
-
- ; **************************************************************************
- ; FERTIG
-
- (makedir "ArtEffect:SuperView/" (infos))
- (copyfiles (source "lhex_temp:LiesMich") (dest "ArtEffect:SuperView/") )
- (copyfiles (source "lhex_temp:LiesMich.info") (dest "ArtEffect:SuperView/") )
- (run (safe) "delete <nil: >nil: lhex_temp:#? all quiet")
-
- (set ask_amicdfs (askbool (prompt #amicdfs) (help @askbool-help) ) )
-
- (if (= ask_amicdfs TRUE)
- (
- (working #wrk_guidecrunch)
- (set COMPERROR (run ":c/lhex -qfw=lhex_temp: x amicdfs_238.lha"))
- (if ( <> COMPERROR 0)
- (message #decrunch_error)
- )
-
- (working #wrk_guidecrunch)
- (set COMPERROR (run ":c/lhex -qfw=ram: x lhex_temp:amicdfs238.lha"))
- (if ( <> COMPERROR 0)
- (message #decrunch_error)
- )
-
- (delete "lhex_temp:amicdfs238.lha")
- )
- )
-
- (makeassign "lhex_temp" (safe))
-
- (run (safe) ":c/more ArtEffect:SuperView/LiesMich")
-
- (exit #plugin_ready)
-