home *** CD-ROM | disk | FTP | other *** search
- ; Installation-Script for Repro-Studio Universal
- ;
- ; Ueberpruefen ob Window-Server installiert wurde
-
- (if ( not (exists "libs:Window.library") )
- ( ( abort "Libs:Window.library konnt nicht gefunden werden. Bitte erst A-Windows installieren!" ) )
- )
-
- (if ( not (exists "libs:Glue.library") )
- ( ( abort "Libs:Glue.library konnt nicht gefunden werden. Bitte erst A-Windows installieren!" ) )
- )
-
- (if ( not (exists "libs:WSReq.library") )
- ( ( abort "Libs:WSReq.library konnt nicht gefunden werden. Bitte erst A-Windows installieren!" ) )
- )
-
- ; Was Programm sonst noch so braucht...
-
- (if ( not (exists "Fonts:Helvetica/9") )
- ( ( abort "Der Schriftsatz Helvetica 9 muß vorhanden sein!" ) )
- )
-
- (if ( not (exists "Fonts:Helvetica/11") )
- ( ( abort "Der Schriftsatz Helvetica 11 muß vorhanden sein!" ) )
- )
-
- ( message "A-Windows vorhanden\n"
- " Window.library wurde gefunden!\n"
- " Glue.library wurde gefunden!\n"
- " WSReq.library wurde gefunden!\n"
- "Fonts vorhanden!\n"
- " Helvetica/11\n"
- " Helvetica/9\n"
- " \n"
- " Programm kann installiert werden!\n"
- )
-
-
- ; Mit diesem Setup sollte RSCA laufen koennen!
-
- (set @default-dest
- (askdir
- (prompt "In welches Directory soll Repro Studio Univeral installiert werden?")
- (help @askdir-help)
- (default @default-dest )
- )
- )
-
- ; Programm installieren
-
- ( makeassign "RSU_Dest" @default-dest )
-
- ( makedir
- "RSU_Dest:Repro"
- (prompt "Verzeichnis \"Repro\" wird angelegt.")
- (help @makedir-help)
- (infos)
- (confirm)
- )
- ( copyfiles (source "Repro.info") (dest "RSU_Dest:") (infos) )
-
- ( makedir "RSU_Dest:Repro/LS_Driver" )
- ( copyfiles (source "LS_Driver.info") (dest "RSU_Dest:Repro") (infos) )
-
- (complete 10)
-
- (copyfiles
- (prompt "Kopiere Lade-Speicher-Treiber nach \"Repro/LS_Driver\".")
- (help @copyfiles-help)
- (source "LS_Driver")
- (dest "RSU_Dest:Repro/LS_Driver")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
- (complete 15)
-
- ( makedir "RSU_Dest:Repro/Scan_Driver" )
- ( copyfiles (source "Scan_Driver.info") (dest "RSU_Dest:Repro") (infos) )
-
- (copyfiles
- (prompt "Kopiere Scanner-Treiber nach \"Repro/Scan_Driver\".")
- (help @copyfiles-help)
- (source "Scan_Driver")
- (dest "RSU_Dest:Repro/Scan_Driver")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
- (complete 20)
-
- ( makedir "RSU_Dest:Repro/Operators" )
- ( copyfiles (source "Operators.info") (dest "RSU_Dest:Repro") (infos) )
-
- (copyfiles
- (prompt "Kopiere Operatoren nach \"Repro/Operators\".")
- (help @copyfiles-help)
- (source "Operators")
- (dest "RSU_Dest:Repro/Operators")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
- (complete 25)
-
- ( makedir "RSU_Dest:Repro/Netze" )
- ( copyfiles (source "Netze.info") (dest "RSU_Dest:Repro") (infos) )
-
- (copyfiles
- (prompt "Kopiere Netze nach \"Repro/Netze\".")
- (help @copyfiles-help)
- (source "Netze")
- (dest "RSU_Dest:Repro/Netze")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
- (complete 30)
-
- ( makedir "RSU_Dest:Repro/Filter" )
- ( copyfiles (source "Filter.info") (dest "RSU_Dest:Repro") (infos) )
-
- (copyfiles
- (prompt "Kopiere Filter nach \"Repro/Filter\".")
- (help @copyfiles-help)
- (source "Filter")
- (dest "RSU_Dest:Repro/Filter")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
- (complete 35)
-
- ( makedir "RSU_Dest:Repro/Data" )
- ( copyfiles (source "Data.info") (dest "RSU_Dest:Repro") (infos) )
-
- (copyfiles
- (prompt "Kopiere Programmhilfsdateien nach \"Repro/Data\".")
- (help @copyfiles-help)
- (source "Data")
- (dest "RSU_Dest:Repro/Data")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
- (complete 40)
-
- ( makedir "RSU_Dest:Repro/Vectors" )
- ( copyfiles (source "Vectors.info") (dest "RSU_Dest:Repro") (infos) )
-
- (copyfiles
- (prompt "Kopiere Vektoren nach \"Repro/Vectors\".")
- (help @copyfiles-help)
- (source "Vectors")
- (dest "RSU_Dest:Repro/Vectors")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
- (complete 45)
-
- ( makedir "RSU_Dest:Repro/Pictures" )
- ( copyfiles (source "Pictures.info") (dest "RSU_Dest:Repro") (infos) )
-
- (copyfiles
- (prompt "Kopiere Bilder nach \"Repro/Pictures\".")
- (help @copyfiles-help)
- (source "Pictures")
- (dest "RSU_Dest:Repro/Pictures")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
- (complete 48)
-
- ( makedir "RSU_Dest:Repro/Raster" )
- ( copyfiles (source "Raster.info") (dest "RSU_Dest:Repro") (infos) )
-
- (copyfiles
- (prompt "Kopiere Raster nach \"Repro/Raster\".")
- (help @copyfiles-help)
- (source "Raster")
- (dest "RSU_Dest:Repro/Raster")
- (infos)
- (files)
- (confirm)
- (all)
- )
-
-
- (complete 50)
-
- (run "RSU1:c/rpk e RSU2:ReproStudio.rpk ram:ReproStudio >nil:"
- (prompt "ReproStudio nach ram: entpacken")
- (help "ReproStudio wird temporär ins ram: entpackt")
- (confirm)
- )
-
- (complete 90)
-
- (copyfiles (source "RSU2:ReproStudio.info") (dest "RSU_Dest:Repro") (infos) )
- (copyfiles
- (prompt "Kopiere Hauptprogramm nach \"Repro\".")
- (help @copyfiles-help)
- (source "ram:ReproStudio")
- (dest "RSU_Dest:Repro")
- (infos)
- )
-
- (complete 100)
-
- ( message "Repro-Studio wurde erfolgreich installiert. "
- "Vergessen Sie nicht noch mit den Preferences des Windowservers "
- "den richtigen Bildschirmmodus einzustellen! "
- "Falls sie Repro-Sudio vom CLI aus starten wollen beachten Sie bitte "
- "das es mindestens 60 kByte Stack braucht! "
- )
-