home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD1.iso / GFX / Converter / LFC-AESV.DMS / in.adf / Install-Script < prev    next >
Encoding:
Text File  |  1996-12-28  |  4.2 KB  |  176 lines

  1. ; $VER: Install_SVPlugin V1.4 (28.12.96)
  2. ; © 1996-97 by Andreas R. Kleinert.
  3. ; Installer Script für SuperView.pss and SuperView-Library
  4.  
  5. (set @app-name "SuperViewLibrary-Plugin")
  6.  
  7. (set #wrk_justamoment (cat "\n"
  8.     "This will last some time !\n"
  9.     "Please stay tuned ...\n"
  10.     ))
  11.  
  12. (set #decrunch_error (cat "\n\n"
  13.     "Error while unpacking files !\n\n"
  14.     "Maybe there is not enough free space on your "
  15.     "hard disk or some files are protected from "
  16.     "deleting or writing !\n"
  17.     ))
  18.  
  19. (set #wrk_guidecrunch (cat "\n"
  20.     "Unpacking files ...\n\n"
  21.     #wrk_justamoment
  22.     ))
  23.  
  24. (set #amicdfs (cat "\n\n"
  25.     "This package includes the\n"
  26.     "AmiCDFS 2.38 CD-ROM file system\n"
  27.     "with kind permission from Martin Berndt.\n\n"
  28.     "Please note, that it is SHAREWARE!\n\n"
  29.     "Unpack it to RAM: ?"
  30.    ))
  31.  
  32. (set #plugin_ready (cat "\n\n"
  33.     "Plugin has been installed.\n\n"
  34.     "Documentation is located in the\n"
  35.     "ArtEffect/SuperView directory."
  36.    ))
  37.  
  38. (if (= @language "deutsch") (
  39.  
  40.     (set #wrk_justamoment (cat "\n"
  41.         "Das dauert eine geraume Zeit.\n"
  42.         "Bitte haben Sie etwas Geduld!\n"
  43.         ))
  44.  
  45.     (set #decrunch_error (cat "\n\n"
  46.         "Fehler beim Entpacken!\n\n"
  47.         "Stellen Sie bitte sicher, daß Ihre Festplatte "
  48.         "ausreichend Speicherkapazität hat, und, falls "
  49.         "die Dateien bereits vorhanden sind diese nicht "
  50.         "lösch- oder schreibgeschützt sind.\n"
  51.         ))
  52.  
  53.     (set #wrk_guidecrunch (cat "\n"
  54.         "Entpacke die Dateien...\n\n"
  55.         #wrk_justamoment
  56.         ))
  57.  
  58.     (set #amicdfs (cat "\n\n"
  59.         "Dieses Paket enthält das\n"
  60.         "AmiCDFS 2.38 CD-ROM Dateisystem\n"
  61.         "mit freundlicher Genehmigung von Martin Berndt.\n\n"
  62.         "Bitte beachten Sie, daß dieses SHAREWARE ist!\n\n"
  63.         "Nach RAM: entpacken ?"
  64.         ))
  65.  
  66.     (set #plugin_ready (cat "\n\n"
  67.         "Plugin wurde installiert.\n\n"
  68.         "Die Dokumentation befindet sich im\n"
  69.         "Verzeichnis ArtEffect/SuperView."
  70.        ))
  71.  
  72. ))
  73.  
  74. (makedir "t:sv" (safe))
  75.  
  76. (makeassign "lhex_temp" "t:sv" (safe))
  77.  
  78.   (working #wrk_guidecrunch)
  79.   (set COMPERROR (run ":c/lhex -qfw=lhex_temp: x ae_svlib.lha"))
  80.   (if  ( <> COMPERROR 0)
  81.      (message #decrunch_error)
  82.   )
  83.  
  84. (complete 10)
  85.  
  86.   (working #wrk_guidecrunch)
  87.   (set COMPERROR (run ":c/lhex -qfw=lhex_temp: x lhex_temp:ae_svlib2.lha"))
  88.   (if  ( <> COMPERROR 0)
  89.      (message #decrunch_error)
  90.   )
  91.  
  92. (delete "lhex_temp:ae_svlib2.lha")
  93.  
  94. (complete 15)
  95.  
  96.   (working #wrk_guidecrunch)
  97.   (set COMPERROR (run ":c/lhex -qfw=lhex_temp: x plugin.lha"))
  98.   (if  ( <> COMPERROR 0)
  99.      (message #decrunch_error)
  100.   )
  101.  
  102. (complete 20)
  103.  
  104. ; **************************************************************************
  105. ; superview.pss installieren
  106.  
  107. (copyfiles
  108.   (prompt "Copying Plugin...")
  109.   (help @copyfiles-help)
  110.   (source "lhex_temp:plugins")
  111.   (dest "ArtEffect:plugins")
  112.   (pattern "#?")
  113.   (confirm)
  114.   (files)
  115. )
  116.  
  117. (complete 25)
  118.  
  119. (makeassign "IPROGDIR" "PROGDIR:" (safe))
  120. (set @execute-dir "lhex_temp:AE_SuperView-Lib")
  121. (run (safe) "IPROGDIR:Installer Install_SVLib")
  122. (makeassign "IPROGDIR" (safe))
  123. (set @execute-dir "")
  124.  
  125. (complete 95)
  126.  
  127. ; * LZW aktivieren
  128.  
  129. (set lzwquest 0)
  130. (if (= lzwquest 0)
  131.   (
  132.    (textfile
  133.        (dest "ENV:SuperView-Library/LEGAL.controlpad")
  134.        (append "LZW=ENABLED\n")
  135.    )
  136.    (copyfiles
  137.        (source "ENV:SuperView-Library/LEGAL.controlpad")
  138.        (dest "ENVARC:SuperView-Library")
  139.    )
  140.   )
  141. )
  142.  
  143. ; **************************************************************************
  144. ; FERTIG
  145.  
  146. (makedir "ArtEffect:SuperView/" (infos))
  147. (copyfiles (source "lhex_temp:LiesMich") (dest "ArtEffect:SuperView/") )
  148. (copyfiles (source "lhex_temp:LiesMich.info") (dest "ArtEffect:SuperView/") )
  149. (run (safe) "delete <nil: >nil: lhex_temp:#? all quiet")
  150.  
  151. (set ask_amicdfs (askbool (prompt #amicdfs) (help @askbool-help) ) )
  152.  
  153. (if (= ask_amicdfs TRUE)
  154.   (
  155.     (working #wrk_guidecrunch)
  156.     (set COMPERROR (run ":c/lhex -qfw=lhex_temp: x amicdfs_238.lha"))
  157.     (if  ( <> COMPERROR 0)
  158.       (message #decrunch_error)
  159.     )
  160.  
  161.     (working #wrk_guidecrunch)
  162.     (set COMPERROR (run ":c/lhex -qfw=ram: x lhex_temp:amicdfs238.lha"))
  163.     (if  ( <> COMPERROR 0)
  164.       (message #decrunch_error)
  165.     )
  166.  
  167.     (delete "lhex_temp:amicdfs238.lha")
  168.   )
  169. )
  170.  
  171. (makeassign "lhex_temp" (safe))
  172.  
  173. (run (safe) ":c/more ArtEffect:SuperView/LiesMich")
  174.  
  175. (exit #plugin_ready)
  176.