home *** CD-ROM | disk | FTP | other *** search
- ; $VER: ArtStudio_Install 2.009 (28.05.96)
- ; Script to install ArtStudio Version 2.0
-
- (complete 0)
- (user 1)
-
- ;=============================================================================
- ; English strings
-
- (set default_lang 4)
-
- (set #bad-kick "ArtStudio needs Amiga-OS 2.0 or higher")
-
- (set SelectDir1Msg
- (cat "Please select a directory\nto install ArtStudio in"
- )
- )
-
- (Set ProgMsg
- (cat "Which parts should i install?"
- )
- )
-
- (set Choise1Msg "ArtStudio Mainprogram (1.2MB)")
- (set Choise2Msg "ArtStudio Instruction (5MB)")
- (set Choise3Msg "ArtStudio Tools (50KB)")
- (set Choise4Msg "Example Catalogs (126KB - 600MB)")
- (set Choise5Msg "Example Images (3MB)")
-
- (set ChoiseGrey16 "Grey 16")
- (set ChoiseColor16 "Color 16")
- (set ChoiseColor256 "Color 256")
- (set ChoiseHAM8 "Color HAM8")
- (set Choise24BIT "Color 24Bit")
-
- (set InstallArtStudioProg "Installing ArtStudio release 2.0 main program...")
- (set InstallLoader "Installing loader...")
- (set InstallSaver "Installing saver...")
- (set InstallOperator "Installing Operator files...")
- (set InstallViewer "Installing viewers...")
- (set InstallARexx "Installing ARexx files...")
- (set InstallColor "Installing color files...")
- (set InstallGuide "Installing Guide-File...")
- (set InstallCatalog "Installing Catalogs files...")
- (set InstallTools "Installing Tools...")
- (set InstallDataBase "Installing DataBase...")
- (set InstallImages "Installing Images...")
- (set AssignAdd1
- (cat "\nAdding the ArtStudio assignment to s:user-startup - it currently looks like this:\n\n%s\n\n"
- (cat "assign ArtStudio: " ArtStudioDir)
- )
- )
- (set SelectDir2 "Please select a directory\nto install the catalogs in")
-
- (set SelectDir3 "Please select a directory\nto install the images in")
-
- (set AssignAdd2
- (cat "\nAdding the ArtStudioCD assignment to s:user-startup - it currently looks like this:\n\n%s\n\n"
- (cat "assign ArtStudioCD: " ImageDir)
- )
- )
- (set UpDateASL "Checking and updating ASL.library, if needed...")
-
-
- ;=============================================================================
- ; German strings
-
- (if (= @language "deutsch")
- (
- (set default_lang 2)
-
- (set #bad-kick "ArtStudio benötigt mindestens Amiga-OS 2.0 oder höher")
-
- (set SelectDir1Msg
- (cat "Wählen Sie ein Verzeichnis, wo Sie ArtStudio "
- "installieren möchten. Ein Verzeichnis mit den "
- "Namen ArtStudio wird automatisch angelegt!"
- )
- )
-
- (Set ProgMsg
- (cat "\nWelche Dateien sollen installiert werden?\n"
- )
- )
-
- (set Choise1Msg "ArtStudio Hauptprogramm (ca. 1.2MB)")
- (set Choise2Msg "ArtStudio Anleitung (ca. 5MB)")
- (set Choise3Msg "ArtStudio Tools (ca. 50KB)")
- (set Choise4Msg "Beispiel Kataloge (ca. 126KB bis 600MB")
- (set Choise5Msg "Beispiel Bilder (ca. 3MB)")
-
- (set ChoiseGrey16 "16 Graustufen")
- (set ChoiseColor16 "16 Farben")
- (set ChoiseColor256 "256 Farben")
- (set ChoiseHAM8 "HAM8 Farben")
- (set Choise24BIT "24Bit Farben")
-
- (set InstallArtStudioProg "Installiere ArtStudio Version 2.0 Hauptprogramm...")
- (set InstallLoader "Installiere Lademodule...")
- (set InstallSaver "Installiere Speichermodule...")
- (set InstallOperator "Installiere Bildbearbeitungsmodule...")
- (set InstallViewer "Installiere Anzeigemodule...")
- (set InstallARexx "Installiere ARexx Programme...")
- (set InstallColor "Installiere Farbdateien...")
- (set InstallGuide "Installiere Guide-Datei...")
- (set InstallCatalog "Installiere Sprachkataloge...")
- (set InstallTools "Installiere Werkzeuge...")
- (set InstallDataBase "Installiere Kataloge...")
- (set InstallImages "Installiere Bilder...")
- (set AssignAdd1
- (cat "\nFüge ArtStudio Zuweisung an s:user-startup - Es würde wie folgt Aussehen:\n\n%s\n\n"
- (cat "assign ArtStudio: " ArtStudioDir)
- )
- )
- (set SelectDir2
- (cat "Wählen Sie ein Verzeichnis, wo Sie die "
- "Kataloge installieren möchten."
- )
- )
- (set SelectDir3
- (cat "Wählen Sie ein Verzeichnis, wo Sie die "
- "Bilder installieren möchten."
- )
- )
- (set AssignAdd2
- (cat "\nAdding the ArtStudioCD assignment to s:user-startup - it currently looks like this:\n\n%s\n\n"
- (cat "assign ArtStudioCD: " ImageDir)
- )
- )
- (set UpDateASL "Prüfe und Erneuere die ASL.library, wenn nötig...")
-
- )
- )
-
- (if (> (* 37 65536) (getversion "exec.library" (resident)))
- (abort #bak-kick)
- )
-
-
- (welcome)
- (set old_level @user-level)
-
- (user 2)
-
- (set target (askdir
- (prompt SelectDir1Msg)
- (help #which-dir-help)
- (default "ArtStudio:")
- ))
- (user old_level)
-
- (set @default-dest target)
-
- (set ArtStudioDir (tackon target "ArtStudio"))
-
- (set WAS
- (askoptions
- (prompt ProgMsg)
- (help @askchoice-help)
- (choices Choise1Msg Choise2Msg Choise3Msg Choise4Msg Choise5Msg)
- (default 31)
- )
- )
-
- (set LoaderDir (tackon ArtStudioDir "Loader"))
- (set OperatorDir (tackon ArtStudioDir "Operator"))
- (set ViewerDir (tackon ArtStudioDir "Viewer"))
- (set SaverDir (tackon ArtStudioDir "Saver"))
- (set RexxDir (tackon ArtStudioDir "Rexx"))
- (set ColorDir (tackon ArtStudioDir "Color"))
- (set ToolsDir (tackon ArtStudioDir "Tools"))
-
- (If (IN WAS 0)
- (
- (if ( < (exists ArtStudioDir (noreq) ) 2)
- (makedir ArtStudioDir
- (prompt "Creating ArtStudio directory...")
- (help @makedir-help)
- (infos)
- )
- )
-
- (complete 10)
-
- (if ( < (exists LoaderDir (noreq) ) 2)
- (makedir LoaderDir
- (prompt "Creating Loader directory...")
- ; (help @makedir-help)
- )
- )
-
- (complete 11)
-
- (if ( < (exists ViewerDir (noreq) ) 2)
- (makedir ViewerDir
- (prompt "Creating Viewer directory...")
- ; (help @makedir-help)
- )
- )
-
- (complete 12)
-
- (if ( < (exists RexxDir (noreq) ) 2)
- (makedir RexxDir
- (prompt "Creating Rexx directory...")
- ; (help @makedir-help)
- )
- )
-
- (complete 13)
-
- (if ( < (exists ColorDir (noreq) ) 2)
- (makedir ColorDir
- (prompt "Creating Color directory...")
- ; (help @makedir-help)
- )
- )
-
- (complete 14)
-
- (if ( < (exists SaverDir (noreq) ) 2)
- (makedir SaverDir
- (prompt "Creating Saver directory...")
- ; (help @makedir-help)
- )
- )
-
- (complete 15)
-
- (if ( < (exists ToolsDir (noreq) ) 2)
- (makedir ToolsDir
- (prompt "Creating Tools directory...")
- ; (help @makedir-help)
- )
- )
-
- (complete 16)
-
- (if ( < (exists OperatorDir (noreq) ) 2)
- (makedir OperatorDir
- (prompt "Creating Operator directory...")
- ; (help @makedir-help)
- )
- )
-
-
- (complete 15)
-
- (copyfiles
- (prompt "Copy ArtStudio...")
- (help @copyfiles-help)
- (source "ArtStudio")
- (dest "ram:")
- (confirm)
- )
-
- (complete 25)
-
- (run "ArtStudioCD:c/Registration"
- (prompt "ArtStudio registrieren...")
- (help "Keine Hilfe verfügbar.")
- )
-
- (complete 30)
-
- (copyfiles
- (prompt "Installing ArtStudio release 1.0 main program...")
- (help @copyfiles-help)
- (source "ram:ArtStudio")
- (dest ArtStudioDir)
- (confirm)
- )
-
- (complete 35)
-
- (run "ArtStudioCD:c/delete ram:ArtStudio"
- (prompt "Delete ram:ArtStudio...")
- (help "Keine Hilfe verfügbar.")
- )
-
- (complete 37)
-
- (copyfiles
- (prompt "Installing ArtStudio Icon...")
- (help @copyfiles-help)
- (source "ArtStudio.info")
- (dest ArtStudioDir)
- (confirm)
- )
-
- (complete 38)
-
- (copyfiles
- (prompt "Installing loader...")
- (help @copyfiles-help)
- (source "Loader/")
- (dest LoaderDir)
- (all)
- (confirm)
- )
-
- (complete 40)
-
- (copyfiles
- (prompt "Installing saver...")
- (help @copyfiles-help)
- (source "Saver/")
- (dest SaverDir)
- (all)
- (confirm)
- )
-
- (complete 45)
-
- (copyfiles
- (prompt "Installing Operator files...")
- (help @copyfiles-help)
- (source "Operator/")
- (dest OperatorDir)
- (all)
- (confirm)
- )
-
- (complete 50)
-
- (copyfiles
- (prompt "Installing viewers...")
- (help @copyfiles-help)
- (source "Viewer/")
- (dest ViewerDir)
- (all)
- (confirm)
- )
-
- (complete 55)
-
- (copyfiles
- (prompt "Installing ARexx files...")
- (help @copyfiles-help)
- (source "Rexx/")
- (dest RexxDir)
- (all)
- (confirm)
- )
-
- (complete 60)
-
- (copyfiles
- (prompt "Installing color files...")
- (help @copyfiles-help)
- (source "Color/")
- (dest ColorDir)
- (all)
- (confirm)
- )
-
- (complete 65)
-
- (copyfiles
- (prompt "Installing Catalogs files...")
- (help @copyfiles-help)
- (source "Catalogs/")
- (dest "Sys:Locale/Catalogs/")
- (all)
- (confirm)
- )
-
- (complete 68)
-
- (startup "ArtStudio"
- (prompt ("\nAdding the ArtStudio assignment to s:user-startup - it currently looks like this:\n\n%s\n\n" (cat "assign ArtStudio: " ArtStudioDir) ) )
- (help @startup-help)
- (command (cat "assign ArtStudio: " ArtStudioDir))
- )
-
- )
- )
-
- (complete 70)
-
- (If (IN WAS 1)
- (
-
- (copyfiles
- (prompt "Installing Tools...")
- (help @copyfiles-help)
- (source "Tools/")
- (dest ToolsDir)
- (all)
- (infos)
- (confirm)
- )
-
- )
- )
-
- (If (IN WAS 2)
- (
-
- (complete 75)
-
- (if (= default_lang 4)
- (
- (set ArtStudioDocDir (askdir
- (prompt "Please select a directory\nto install the instruction in")
- (help #which-dir-help)
- (default ArtStudioDir)
- ))
-
- (copyfiles
- (prompt "Copying instruction...")
- (help @copyfiles-help)
- (source "Instruction/")
- (dest ArtStudioDocDir)
- (infos)
- (all)
- (confirm)
- )
-
- ))
-
- (if (= default_lang 2)
- (
- (set ArtStudioDocDir (askdir
- (prompt "Wählen Sie ein Verzeichnis, wo Sie die "
- "Anleitung installieren möchten.")
- (help #which-dir-help)
- (default ArtStudioDir)
- ))
-
- (copyfiles
- (prompt "Kopiere Anleitung...")
- (help @copyfiles-help)
- (source "Anleitung/" )
- (dest ArtStudioDocDir)
- (infos)
- (all)
- (confirm)
- )
- )
- )
- )
- )
-
- (If (IN WAS 4)
- (
- (set ImageDir (askdir
- (prompt "Wählen Sie ein Verzeichnis, wo Sie die "
- "Bilder installieren möchten."
- )
- (help #which-dir-help)
- (default ArtStudioDir)
- ))
-
- (complete 80)
-
- (copyfiles
- (prompt "Installing Images...")
- (help @copyfiles-help)
- (source "Images/")
- (dest ImageDir)
- (all)
- (confirm)
- )
-
- (complete 85)
-
- (startup "ASDisk4"
- (prompt ("\nAdding the ArtStudioCD assignment to s:user-startup - it currently looks like this:\n\n%s\n\n" (cat "assign ArtStudioCD: " ImageDir) ) )
- (help @startup-help)
- (command (cat "assign ArtStudioCD: " ImageDir))
- )
- )
- )
-
- (If (IN WAS 0)
- (
-
- (complete 90)
-
- (copylib
- (prompt "Checking and updating ASL.library, if needed...")
- (help @copylib-help)
- (source "libs/asl.library")
- (dest "libs:")
- (confirm)
- )
-
- )
- )
-
- (complete 100)
-