home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Da Capo
/
da_capo_vol1.bin
/
install
< prev
next >
Wrap
Text File
|
1995-05-19
|
21KB
|
642 lines
; Installer program for da capo Volume 1 CD.
; Written by Fred Fish, Amiga Library Services.
; This script is public domain. Use it for any purpose you wish.
; Make the system aware of some useful datatypes that we can use.
(procedure AddDataTypes
(set datatypes
(askoptions
(prompt ask_select_datatypes)
(help help_select_datatypes)
(choices
"AIFF"
"AU"
"VOC"
"WAVE"
)
)
)
(if (<> 0 datatypes)
(
(textfile
(dest tmpfile)
(append ("assign devs: %s:devs add\n" volname))
(append ("assign libs: %s:classes add\n" volname)))
(if (= 1 debugflag) (debug "execute" tmpfile))
(execute tmpfile)
(delete tmpfile)
(set i 0)
(while
(set datatype
(select i
"AIFF"
"AU"
"VOC"
"WAVE"
""
)
)
(if (IN datatypes i)
(
(textfile
(dest tmpfile)
(append ("c:AddDataTypes FILES %s:devs/datatypes/%s\n" volname datatype))
(if (= 1 debugflag) (debug "add datatype" datatype))
)
(execute tmpfile)
(delete tmpfile)
)
)
(set i (+ i 1))
)
)
)
)
; Select the user's desired language to use during installation.
;
; This is also where all the language dependent strings get defined.
; To install support for a new language, just add the appropriate
; language selection and install the strings for that language.
(procedure SelectLanguage
(if (patmatch @language "English") (set lang 0))
(if (patmatch @language "Deutsch") (set lang 1))
(set langval
(askchoice
(prompt (cat "Select your native language.\n"
"Bitte waehlen Sie die Sprache aus."))
(help (cat "You can choose a language for prompts and help.\n\n"
"Sie koennen eine Sprache fuer die Anweisungen und die Hilfe auswaehlen."))
(choices
"English"
"Deutsch"
)
(default lang)
)
)
(set @language
(select langval
("English")
("Deutsch")))
(set yes
(select langval
("Yes")
("Ja")))
(set no
(select langval
("No")
("Nein")))
(set msg_hello
(select langval
(cat "Hello, and welcome to the 'da capo' volume 1 CD.\n\n"
"Before using this CD you should run this installer script. "
"It will make no permanent changes to your system without asking "
"you first. If you do not agree to the change, a simple reboot "
"will always restore your system to the state it was in prior "
"to running this install script.\n\n"
"Every requester has help available via the Help gadget.")
(cat "Vor der Benutzung dieser CD-ROM, sollten Sie dieses "
"Skript laufen lassen. Es wird keine Veränderungen "
"an ihrem, ohne ihre ausdrückliche Genehmigung vornehmen. "
"Es nimmt keine permanenten Veraenderungen vor, so dass ein "
"einfach Reboot die Einstellungen wieder rueckgaengig macht.")))
(set ask_select_metatoolprefs
(select langval
(cat "Select a MetaTool preferences file from which to read default settings. "
"This file will also be where the new preferences are written if "
"you agree later to having them preserved.")
(cat "Waehlen Sie die MetaTool Einstellungsdatei aus, von der die Einstellungen "
"gelesen werden sollen. In diese Datei werden spaeter auch die neuen "
"Einstellungen gespeichert, falls Sie das wuenschen.")))
(set help_select_metatoolprefs
(select langval
(cat "Please select a file for your MetaTool preferences.\n\n"
"If the file exists, default preferences will be extracted "
"from it and you will have the opportunity later to change them.\n\n"
"The file you select will be rebuilt, or created if it does "
"not currently exist, using default preferences or preferences "
"that you specify later.")
(cat "Bitte waehlen Sie eine Datei fuer ihre MetaTool Voreinstellungen aus.\n\n"
"Falls die Datei bereits existiert, werden die Voreinstellungen ausgelesen "
"und Sie werden spaeter die Moeglichkeit haben, diese zu aendern.\n\n"
"Diese Datei wird erzeugt, falls sie noch nicht existiert, und es werden "
"entweder die voreingestellten Werte oder die von Ihnen eingetragenen Werte "
"gespeichert.")))
(set ask_select_datatypes
(select langval
(cat "This CD contains some datatypes that will allow you to play "
"the instrument sound samples with MultiView. "
"Please select which datatypes you wish to make available to "
"your system.")
(cat "Diese CD enthält einige Datatypes, die es ihnen erlauben, "
"die Instrumente unter Multiview abzuspielen. Wählen Sie bitte "
"aus, welche Datatypes ihr System erkennen soll.")))
(set help_select_datatypes
(select langval
(cat "If you select any datatypes, the 'devs' directory on this CD "
"will be added to your DEVS: assignment with a multi-assign, "
"the 'classes' directory will be added to your LIBS: "
"assignment, and the datatypes will be added with the "
"AddDataTypes command.\n\n"
"These changes will not permanently affect your system. "
"After your next reboot everything will be as it was before. "
"If you already have these datatypes installed, it is not necessary "
"to add these to your system and you can skip this step or "
"deselect the datatypes that are already installed.")
(cat "Wenn Sie Datatypes auswählen, wird das 'devs' Verzeichnis auf "
"dieser CD (über ein Multiassign) zu ihrem DEVS: Verzeichnis "
"hinzugefügt. Das gleiche gilt für das Verzeichnis 'Classes'. Die "
"Datatypes werden mit dem AddDataTypes Befehl eingebunden. "
"Nach dem nächsten Start wird wieder alles so sein, wie vorher. Wenn "
"Sie die Datatypes bereits installiert haben, müssen Sie diese nicht "
"auswählen.")))
(set ask_update_metatoolprefs
(select langval
(cat "Do you wish to make changes to your MetaTool preferences "
"permanent by updating your preferences file?")
(cat "Moechten Sie die Aenderungen in ihren MetaTool Einstellungen "
"permanent machen, in dem Sie die Datei updaten?")))
(set help_update_metatoolprefs
(select langval
(cat "If you select Yes, the new preferences will be copied to your "
"selected preferences file and "
"ENV:METACONFIG and ENVARC:METACONFIG will be updated "
"accordingly so that the next time you reboot you will "
"still get the new preferences file.\n\n"
"If you select No, MetaTool will use the preferences file "
ramprefs
" and will set ENV:METACONFIG to point to that file. "
"The first time you reboot, everything will be as it was before.")
(cat "Wenn Sie Ja auswaehlen, dann werden die neuen Einstellungen in Ihre "
"ausgewaehlte Datei geschrieben und ENV:METACONFIG und ENVARC:METACONFIG "
"werden geupdatet, so dass Sie beim naechsten Start die neuen Einstellungen "
"zur Verfuegung haben.\n\n"
"Wenn Sie Nein waehlen, wird MetaTool die Voreinstellungs-Datei ramprefs "
"benutzen und ENV:METACONFIG auf diese Datei ansetzen."
"Nach einem Reboot wird alles wieder so sein, wie es davor war.")))
(set ask_cli_or_workbench
(select langval
(cat "Run a CLI or WorkBench command for file type")
(cat "Starten Sie eine CLI oder Workbench-Befehl fuer die Dateiart")))
(set help_cli_or_workbench
(select langval
(cat "MetaTool can run either a CLI or WorkBench command.\n\n"
"If you select CLI, you will be prompted for the CLI command line to run. "
"If you select WorkBench, a requester will let you select a command to run.")
(cat "MetaTool kann entweder ein CLI oder Workbench Befehl starten.\n\n."
"Wenn Sie CLI waehlen, muessen Sie eine CLI Befehlszeile eingeben. "
"Wenn Sie Workbench auswaehlen, erscheint ein Requester, in dem Sie "
"das Programm auswaehlen koennen.")))
(set ask_specify_Workbench_command
(select langval
(cat "Select Workbench command to run for file type")
(cat "Waehlen Sie Workbench Befehl fuer Dateityp aus")))
(set help_specify_Workbench_command
(select langval
(cat "You can either accept the default command to run, or select/enter "
"another command to be run.")
(cat "Sie koennen entweder den voreigestellten Befehl annehmen, oder einen "
"anderen Befehl auswaeh