home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Exec 5
/
CD_Magazyn_EXEC_nr_5.iso
/
Programy
/
Muzyczne
/
MMV8_Disk_1.lha
/
Install-MM
< prev
next >
Wrap
Text File
|
1994-04-27
|
15KB
|
605 lines
; $VER: MusicMaker_Install 3.0 (11 Jan 1994)
; MusicMaker Hard Disk Installation Script
(complete 0)
;=============================================================================
; English strings
(set #ask-MusicMaker-dir
(cat
"Select drive, disk or drawer to create a \"MusicMaker\"-drawer:"
)
)
(set #ask-MusicMaker-dir-help
(cat
"Here you specify where to install MusicMaker and all support files to."
"In all cases, a \"MusicMaker\"-drawer will be created, so eg. "
"select \"DH0:\" to install MusicMaker to drawer \"DH0:MusicMaker\".\n\n"
)
)
(set #prompt-MusicMaker
(cat
"This will create a new drawer called \"MusicMaker\" and "
"copy several files and drawers, depending on your selection in "
"the very beginning of installation process."
)
)
(set #prompt-MusicMaker-help
(cat
"MusicMaker V8, the main program file, its icon, a german catalog "
"(in case LOCALE:-drawer exists) and a required PREFS-File "
"will now be copied. The \".script\"-file is an example.\n\n"
)
)
(set #prompt-Options-help
(cat
"T2MM, O2MM, S2MM - supplied conversion utilities.\n"
"Wurlitzer, Radio und 8Player - replayer example programs.\n"
"MusicMakerReceiver - required for SER-mode, running on second AMIGA.\n"
"READ.ME - read it!\n\n"
)
)
(set #bool-devkit
(cat
"Do you want to copy the files for Programmers, too?\n"
"This will create a drawer \"Developer\" and move "
"all supplied sources and other files."
)
)
(set #bool-devkit-help
(cat
"\nThe \"Developer\" drawer contains all files needed "
"for developing MusicMaker replayer-applications, eg. using "
"a link-module in your own program.\n\n"
)
)
(set #work-Programmer
(cat "De-archiving Developer Kit."
)
)
(set #ask-dev-dir
(cat "Select drive/drawer to install the Developer Kit drawer to:"
)
)
(set #ask-dev-dir-help
(cat
"Here you select a directory where the Developer Kit "
"(mainly replayer sources) will be installed into. In "
"all cases, a new drawer \"Developer\" will be created.\n\n"
)
)
(set #bool-demos-help
(cat "This will copy all supplied demos to a yet-to-create Sound-Demos drawer.\n"
)
)
(set #prompt-demos
(cat "Here we go...\n"
)
)
(set #bool-instrs-help
(cat "This will copy all supplied instruments to a yet-to-create MM_Instruments drawer.\n"
)
)
(set #prompt-instrs
(cat "Here we go...\n"
)
)
(set #prompt-rexx
(cat "Processing REXX drawer\n"
)
)
(set #work-libs
(cat "Processing MM-libraries"
)
)
(set #addassign
(cat "Add MMV8: assign to \"S:User-Startup\"?"
)
)
(set #addassigns-help
(cat "This is needed for using the MMStartUp-file placed in WBStartup. "
"MMV8: is base for both the \"SD:\" and \"IN:\" assign, which are "
"very handy in MusicMaker's file requester.\n"
"Select YES to add assign to the User-Startup file.\n\n"
)
)
(set #inst-options
(cat "If you are unfamiliar with the MusicMaker V3 installation process, "
"push the Help gadget now.\n"
"Otherwise, push either Proceed or Abort gadgets after "
"selecting the steps of the installation process you wish to perform."
)
)
(set #inst-options-help
(cat "Installation of MusicMaker is divided into a number of steps, you "
"can separatly disable now:\n"
"MusicMaker main: Only the main Program and its Prefs-file will be copied.\n"
"Standard Options: This includes the conversion utilities, the \"Wurlitzer\"-"
"replayer program, \"MusicMakerReceiver\" for usage of SER-Mode and a text file "
"you can obtain some more information from.\n"
"Developer Kit: A \"Developer\"-drawer will be created and all supplied "
"sources and obj-files will be moved there. If you don't consider writing "
"own programs using MusicMaker sound, you may skip this step.\n"
"Demos & Instruments: This will copy all demos and/or Instruments. It will "
"overall need approx.1MB of disk space.\n"
"REXX macros: If you're using ARexx, a REXX:-assign will exist. By this step, "
"all supplied MusicMaker REXX scripts will be copied. Otherwise, a REXX "
"drawer inside the MusicMaker drawer will be created.\n"
"Libraries: The replayer programs require these libraries.\n"
)
)
;=============================================================================
; German strings
(if (= @language "deutsch")
(
(set #ask-MusicMaker-dir
(cat
"Auf welchem Gerät oder in welcher Schublade soll "
"eine neue Schublade \"MusicMaker\" erstellt werden, in "
"die alle Programmdateien installiert werden?"
)
)
(set #ask-MusicMaker-dir-help
(cat
"Sie geben hier an, wo \"MusicMaker\" und alle "
"dazugehörenden Dateien installiert werden sollen. "
"Eine Schublade \"MusicMaker\" wird darin eingerichtet, "
"Sie brauchen also nur \"DH0:\" anzugeben um "
"MusicMaker in der Schublade \"DH0:MusicMaker\" zu installieren.\n\n"
)
)
(set #prompt-MusicMaker
(cat
"Eine Schublade \"MusicMaker\" wird eingerichtet und "
"einige Dateien und Schubladen, abhängig von Ihrer Wahl zu Beginn, "
"werden in diese Schublade kopiert."
)
)
(set #prompt-MusicMaker-help
(cat
"MusicMaker V8 - das Hauptprogramm, sein Icon, ein deutscher Karalog "
"(wenn es einen LOCALE:-Ordner gibt) sowie ein Prefs-File "
"werden nun kopiert. Das \".script\"-File ist ein Beispiel.\n\n"
)
)
(set #prompt-Options-help
(cat
"T2MM, O2MM, S2MM - Konvertierprogramme.\n"
"Wurlitzer, Radio und 8Player - drei Abpielprogramme.\n"
"MusicMakerReceiver - läuft bei Verwendung des SER-Mode am zweiten Amiga.\n"
"LIES.MICH - enthält ein paar weitere Informationen.\n"
)
)
(set #bool-devkit
(cat
"Wollen Sie die Dateien für Programmierer auch installieren?\n"
"Es wird dann ein neues Verzeichnis \"Developer\" erzeugt und darin alle "
"beiliegenden Quelldateien und Tools abgelegt.\n"
"Sollten Sie nicht vorhaben, eigene Abspielprogramme zu schreiben, "
"können Sie diesen Schritt überspringen.\n\n"
)
)
(set #bool-devkit-help
(cat
"Die Schublade \"Developer\" enthält alle Dateien, "
"die zum Programmieren eigener Abspielprogramme "
"nötig sind.\n\n"
)
)
(set #work-Programmer
(cat "Ent-archiviere Developer Kit"
)
)
(set #ask-dev-dir
(cat "Wohin soll der Developer Kit installiert werden?"
)
)
(set #ask-dev-dir-help
(cat "Der Developer Kit enthält hauptsächlich die Abspielprogramm-"
"Quellcodes. Wohin damit?\n"
)
)
(set #bool-demos-help
(cat "Es werden alle beiliegenden Demos in das Unterverzeichnis "
"\"Sound-Demos\" kopiert.\n"
)
)
(set #prompt-demos
(cat "Kopiere Demos\n"
)
)
(set #bool-instrs-help
(cat "Es wird ein Verzeichnis \"MM_Instruments\" angelegt, wo dann alle "
"beiliegenden Instrumente hinkopiert werden.\n\n"
)
)
(set #prompt-instrs
(cat "Kopiere Instrumente\n"
)
)
(set #prompt-rexx
(cat "Kopiere REXX Macros\n"
)
)
(set #work-libs
(cat
"Kopiere/aktualisiere MM-libraries..."
)
)
(set #addassign
(cat "Soll ein Assign \"MMV8:\" in \"S:User-Startup\" eingefÜgt werden?"
)
)
(set #addassigns-help
(cat "Dieses Assign ist Grundlage für die Assigns \"SD:\" und \"IN:\", die "
"im Filerequester von MusicMaker sehr zweckmäßig sind, und im\n"
"Modul \"MMStartUp\", das im WBStartup-Verzeichnis abgelegt wurde, "
"ausgeführt werden.\n\n"
"Klicken Sie YES, um ein Assign einzufügen.\n\n"
)
)
(set #inst-options
(cat "Sollten Sie mit der Installierung von MusicMaker Probleme haben, "
"klicken Sie jetzt das Help-Gadget an.\n"
"Ansonsten klicken Sie \"Proceed\", um mit der Installation der "
"angewählten Teile zu beginnen."
)
)
(set #inst-options-help
(cat "Die Installation kann begrenzt ausgeführt werden; sie ist in mehrere Schritte "
"eingeteilt:\n"
"MusicMaker Hauptprogramm: Kopiert nur das Hauptprogramm und ein Prefs-File\n"
"Standard Optionen: Es werden die Konvertierprogramme, das \"Wurlitzer\"-Abspielprogramm, "
"der SER-Mode-Empfängerteil sowie ein Textfile mit einigen Informationen kopiert.\n"
"Developer Kit: Hier wird ein Unterverzeichnis \"Developer\" angelegt, in das alle mitgelieferten "
"Sources und Objektmodule kopiert werden.\n"
"Demos, Instrumente: Mit MusicMaker werden auch eine Disk mit Instrumenten "
"und einige Demos geliefert. Sie können wahlweise mitinstalliert werden.\n"
"REXX Macros: MusicMaker ist REXX-fähig, und einige Macros liegen bei. Wenn "
"Sie Rexx benutzen, existiert ein REXX:-Assign. Wenn das nicht der Fall ist, "
"werden die Macros in ein eigenes REXX-Unterverzeichnis kopiert.\n"
"Libraries: MusicMaker Abspielprogramme benutzen meist eine der drei "
"Libraries, die, wenn gewünscht, in den LIBS:-Ordner kopiert werden.\n\n"
"Sie können die Installation durch Anklicken der Häkchen ganz nach Ihren "
"Wünschen begrenzen.\n"
)
)
))
;=============================================================================
; Main 'Program'
;=============================================================================
(set todo
(askoptions
(prompt #inst-options)
(help #inst-options-help)
(choices
"MusicMaker main program" ; 1
"Standard Options" ; 2
"Developer Kit" ; 4
"Demos" ; 8
"Instruments" ; 16
"REXX macros" ; 32
"Libraries" ; 64
)
)
)
(if (= todo 0)
(abort "You didn't select anything, so there's nothing to do. I quit.")
)
(set MusicMaker_dest
(tackon
(askdir
(prompt #ask-MusicMaker-dir)
(help
#ask-MusicMaker-dir-help
@askdir-help
)
(default @default-dest)
)
"MusicMaker"
)
)
(set @default-dest MusicMaker_dest)
(if (AND todo 1)
(
(copyfiles
(prompt #prompt-MusicMaker)
(source "MMV8:")
(dest MusicMaker_dest)
(pattern "(MusicMaker_V8|MusicMaker_V8.info|MM_V8.script#?)")
(infos)
(confirm)
(help
#prompt-MusicMaker-help
@copyfiles-help
)
)
(copyfiles
(source "MMV8:S/")
(dest "S:")
(pattern "MM_V8.prefs")
(infos)
(help "")
)
(copyfiles
(source "MMV8:S/")
(dest "S:")
(pattern "musicmaker-startup")
(infos)
(help "")
)
(if (<> (exists "LOCALE:Catalogs") 0)
(
(copyfiles
(source "MMV8:LOCALE/Catalogs/Deutsch/")
(dest "LOCALE:Catalogs/Deutsch/")
(pattern "MusicMaker.catalog")
(infos)
(help "")
)
)
)
)
)
(if (AND todo 2)
(
(copyfiles
(prompt #prompt-MusicMaker)
(source "MMV8:")
(dest MusicMaker_dest)
(pattern "(MusicMakerReceiver|READ.ME#?|LIES.MICH#?|?2MM|Wurlitzer#?|#?Radio|8Player)")
(infos)
(confirm)
(help
#prompt-Options-help
@copyfiles-help
)
)
)
)
(complete 50)
(if (AND todo 27)
(
(if (<> (exists "SYS:WBStartup") 0)
(
(copyfiles
(prompt "MMStartup -> WBStartup")
(source "MMV8:S/")
(dest "SYS:WBStartup")
(pattern "(MMStartup|MMStartup.info)")
(infos)
(help "")
)
)
)
)
)
(complete 60)
(procedure dearcdev
(working #work-Programmer)
(run ("DEARC >con:0/0/640/128/Archiver -m -wram: x MMV8:Developer/Developer.LZH %s/ #?" devkit_dest))
)
(if (AND todo 4)
(
(set devkit_dest
(tackon
(askdir
(prompt #ask-dev-dir)
(help #ask-dev-dir-help
@askdir-help
)
(default MusicMaker_Dest)
)
"Developer"
)
)
(if (= (exists devkit_dest) 0)
(makedir devkit_dest)
)
(dearcdev)
)
)
(complete 80)
(if (AND todo 8)
(
(set demos_dest
(tackon MusicMaker_dest
"Sound-Demos"
)
)
(if (= (exists demos_dest) 0)
(makedir demos_dest)
)
(copyfiles
(prompt #prompt-demos)
(source "MMV8:Sound-Demos/")
(dest demos_dest)
(pattern "#?")
(infos)
(help
#bool-demos-help
@copyfiles-help
)
)
(copyfiles
(prompt #prompt-demos)
(source "MM_Instruments:Bonus-Tracks/")
(dest demos_dest)
(pattern "#?")
(infos)
(help
#bool-demos-help
@copyfiles-help
)
)
(copyfiles
(prompt #prompt-demos)
(source "Install-MM3:More-Bonus-Tracks/")
(dest demos_dest)
(pattern "#?")
(infos)
(help
#bool-demos-help
@copyfiles-help
)
)
)
)
(if (AND todo 16)
(
(set instrs_dest
(tackon MusicMaker_dest
"MM_Instruments"
)
)
(if (= (exists instrs_dest) 0)
(makedir instrs_dest)
)
(copyfiles
(prompt #prompt-instrs)
(source "MM_Instruments:")
(dest instrs_dest)
(files)
(pattern "#?")
(infos)
(help
#bool-instrs-help
@copyfiles-help
)
)
)
)
(if (AND todo 32)
(
(set rexx_dest "REXX:")
(if (= (exists rexx_dest) 0)
(
(if (=(exists (tackon (MusicMaker_dest "REXX"))) 0)
( (makedir (tackon (MusicMaker_dest "REXX")))
(set rexx_dest (tackon (MusicMaker_dest "REXX")))
)
)
)
)
(copyfiles
(prompt #prompt-rexx)
(source "MMV8:REXX/")
(dest rexx_dest)
(pattern "#?.mmrx")
(infos)
(help "")
)
)
)
(complete 95)
(if (AND todo 64)
(
(working #work-libs)
(set libs_dest "LIBS:")
(copylib
(source "MMV8:Libs/mmv8.library")
(prompt #prompt-Library)
(confirm)
(dest libs_dest)
(help
#ask-Library-dir-help
@copylib-help
)
)
(copylib
(source "MMV8:Libs/mmv88.library")
(prompt #prompt-Library)
(confirm)
(dest libs_dest)
(help
#ask-Library-dir-help
@copylib-help
)
)
(copylib
(source "MMV8:Libs/mmvx.library")
(prompt #prompt-Library)
(confirm)
(dest libs_dest)
(help
#ask-Library-dir-help
@copylib-help
)
)
)
)
(set osversion (getversion)/65536)
(if (>= osversion 36)
(startup
"MusicMaker V2.4"
(prompt #addassign)
(help #addassign-help
@startup-help
)
(command ("Assign MMV8: %s" Musicmaker_dest))
)
)
(complete 100)
(exit)