home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-02-19 | 44.4 KB | 1,360 lines |
- ; ALBIN_MUI 1.05 INSTALLATION SCRIPT
- ; Written 1995 by Freddy Ariës for Sirius Design
- ; Copyright © 1995 Sirius Design
- ; $VER: Install_AlbIn_MUI 1.05 (19-Feb-96)
- ; Initial English, Dutch and German translations by Freddy Ariës
- ; German proof-reading by Matthias Andree
- ; swedish version by David von Plenker-Tind
-
- ; TO DO:
- ; - add check if there's enough space to install the selected files
- ; - add processing of catalog files (for version 2.0 of the program)
- ; - at the moment, the program will abort if there is an AlbIn_MUI
- ; program where it tries to create the AlbIn_MUI directory. Maybe
- ; I should instead ask the user if the (older version of the)
- ; program is to be deleted ?
- ; - add language strings for other languages
-
- ; ****************************
- ; *** Some global settings ***
- ; ****************************
-
- ; *** IMPORTANT: set this flag to match the distribution ***
-
- ; (set Main_0x0 0)
- ; uncomment this line for distributions that only include the standard
- ; 68000 version of the program, and no extra 0x0 version (like the public
- ; distribution, or registered users who only have an 68000 processor).
-
- (set Main_0x0 "AlbIn_MUI_030")
- ; uncomment this line (and change it) for registered users with a faster
- ; 0x0 processor, who receive an extra, optimized version of the program.
- ; This should be the name of the main program as it is available in the
- ; distribution, so please change the '_030' part to the user's setup
- ; (eg. 020, 030, 040 or 060).
-
- ; *** Temporary directory, used to decompress archives ***
- (set Instpath "T:")
-
- ; *********************************
- ; *** English (default) strings ***
- ; *********************************
-
- (set #introduction (cat "\n"
-
- " You are about to install AlbIn_MUI, \n"
- " The Ultimate Music Database. \n\n"
- "AlbIn_MUI is ©1995 by Niklas Dahlman, for \n"
- "Sirius Design. All Rights Reserved. \n\n"
- "AlbIn_MUI is SHAREWARE and is NOT to be sold \n"
- "(although a small charge may be made for copying)\n"
- "AlbIn_MUI is freely distributable, but none of \n"
- "the files in the distribution may be left out, or\n"
- "modified in any form. \n"
- ))
-
- (set #badkick "\nSorry, AlbIn_MUI requires OS v2.04 or higher.\n")
-
- (set #bad_nothing "\nNothing to install!\n")
-
- (set #all "Complete installation")
- (set #custom "Custom installation")
-
- (set #in_msg "\nSelect an installation option:\n")
- (set #in_help (cat "\n"
- " Choosing `Complete installation' allows you to \n"
- " install all the AlbIn_MUI files on your hard disk. \n\n"
- " If you do not want ALL the files installed, or if \n"
- " you want to install to disk, you can choose the \n"
- " `Custom installation', where you can specify \n"
- " exactly which files you want to install. \n"
- " If you already have an older version of AlbIn_MUI \n"
- " installed on your system, the old files will be \n"
- " overwritten (in both of these options). \n"
- ))
-
- (set #in_dest (cat "\n"
- " Select the directory in which you would like \n"
- " the AlbIn_MUI drawer to be created. \n"
- ))
-
- (set #bad_path (cat "\n"
- " Cannot create AlbIn_MUI directory: \n"
- " please delete AlbIn_MUI program first!\n"
- ))
-
- (set #dest_help (cat "\n"
- " A drawer named AlbIn_MUI will be created here \n"
- " (if not already present) to store the program \n"
- " and its files. \n"
- " If you are updating from an earlier version, \n"
- " select the directory in which the AlbIn_MUI \n"
- " directory is located, and not the AlbIn_MUI \n"
- " directory itself! \n"
- ))
-
- (set #opt_unknown "Unknown option... installation aborted.\n")
-
- (set #cust1 (cat "AlbIn_MUI Installation\n\n"
- "Please select which files you wish to install"
- ))
- (set #custmain "AlbIn_MUI main")
- (set #custicon "Default icons")
- (set #custdoc "Document files")
- (set #custdb "Example databases")
-
- (set #cust_hlp (cat "\n"
- " You can choose which files you wish to install:\n\n"
- " AlbIn_MUI main : Main program & on-line help \n"
- " Default icons : Icons directory, used by the \n"
- " program when saving a database\n"
- " to create an icon for it. \n"
- " Document files : additional documentation \n"
- " Databases : some example databases from \n"
- " other users. \n"
- ))
-
- (set #ask_icons (cat "\n"
- " Which icons do you want to use for the program,\n"
- " the text files and the database files? \n"
- ))
-
- (set #normal_icons "Standard icons")
- (set #mwb_icons "MagicWB icons")
-
- (set #icon_hlp (cat "\n"
- " Here you can choose which icons you want to have\n"
- " installed with the main program, the example \n"
- " databases and the documentation files. \n"
- " Choose the MagicWB icons only if your Workbench \n"
- " screen has at least 8 colours, and if it uses \n"
- " MagicWB's colour palette - like when you have \n"
- " Martin Huttenloher's MagicWB package installed. \n"
- " Otherwise, choose the standard 4-colour icons. \n"
- ))
-
- (set #ask_pgm "Which program files do you want to install?\n")
-
- (if (= Main_0x0 0)
- (
- (set #help_0x0 "\n")
- (set #help_end "\n")
- )
- (
- (set #help_0x0 (cat "\n"
- " AlbIn_MUI_0x0 : main program, 680x0-version \n"
- " (optimized for your processor)\n"
- ))
- (set #help_end (cat "\n"
- " Note that the optimized version of the program \n"
- " depends on the information about your processor\n"
- " as you filled it in on your registration form. \n"
- ))
- )
- )
-
- (set #help_pgm (cat #help_0x0
- " AlbIn_MUI : main program, standard 68000 \n"
- " version \n"
- " AlbIn_MUI.guide : guide file for on-line help \n"
- " (AmigaGuide required). \n"
- #help_end
- ))
-
- (set #arc_icon "Decompressing icons...")
- (set #arc_main "Decompressing main program files...")
- (set #arc_docs "Decompressing document files...")
- (set #arc_db1 "Decompressing example databases...")
- (set #arc_db2 "Decompressing lyrics, cover pictures\nand export files...")
-
- (set #ask_doc "Which documentation files do you want to install?")
-
- (set #help_doc (cat "\n"
- " This collection of files provides additional \n"
- " documentation on the program. Included are a \n"
- " history file, a to-do list, a dvi-version of \n"
- " of the program's documentation, and files that\n"
- " provide copyright information about the used \n"
- " packages (eg. MUI). \n"
- ))
-
- (set #ask_db "Which example databases do you want to install?")
-
- (set #help_db (cat "\n"
- " AlbIn_MUI comes with a series of example databases\n"
- " from other users. You may want to install these to\n"
- " your system to look at them, and maybe to import \n"
- " some of the albums from these databases into your \n"
- " own database; that can save you a lot of typing. \n"
- " If you have enough space, just install them all. \n"
- ))
-
- (set #ask_lyric "Which lyrics files do you want to install?")
-
- (set #help_lyric (cat "\n"
- " Some of the example databases - like the one from\n"
- " Niklas and Daniel - make use if external lyrics \n"
- " files. If you want to be able to look at these \n"
- " lyrics, you will have to install them. \n"
- ))
-
- (set #ask_cover "Which cover pictures do you want to install?")
-
- (set #help_cover (cat "\n"
- " Some of the example databases - like the one from\n"
- " Niklas - use external cover picture files. If you\n"
- " want to be able to look at these files, you will \n"
- " have to install them as well. \n"
- ))
-
- (set #ask_export "Which export files do you want to install?")
-
- (set #help_export (cat "\n"
- " If you want, you can install an example exported\n"
- " file. However, you do not really need this file,\n"
- " and if you do, you can create it by calling the \n"
- " export function from within the main program. \n"
- " Note that you need MultiView or AmigaGuide to \n"
- " display the export file. \n"
- ))
-
- (set #ask_locl "What languages do you want to have installed ?\n")
-
- (set #help_locl (cat "\n"
- " This allows you to install the catalog files that\n"
- " are required to make the AlbIn_MUI main program \n"
- " use the language that you selected in the Locale \n"
- " preferences program (OS2.1 or higher required). \n"
- ))
-
- (set #complete "Installation complete.\n")
-
- ; *******************************************
- ; *** Dutch strings (nederlandse teksten) ***
- ; *******************************************
-
- (if (= @language "nederlands")
- (
- (set #introduction (cat "\n"
- " Je staat op het punt AlbIn_MUI te installeren, \n"
- " De Ultieme Muziek Databank. \n\n"
- "AlbIn_MUI is ©1995 Niklas Dahlman, voor \n"
- "Sirius Design. Alle Rechten Gereserveerd. \n\n"
- "AlbIn_MUI is SHAREWARE en mag niet verkocht worden\n"
- "(al mag een kleine bijdrage voor de copiëerkosten\n"
- "worden gevraagd). \n"
- "AlbIn_MUI is vrij distribueerbaar, maar geen van \n"
- "de bestanden in de distributie mag eruit worden \n"
- "gelaten, of op enigerlij wijze worden veranderd. \n"
- ))
-
- (set #badkick "\nSorry, AlbIn_MUI benodigt OS v2.04 of hoger.\n")
- (set #bad_nothing "\nNiets te installeren!\n")
-
- (set #all "Volledige installatie")
- (set #custom "Gedeeltelijke installatie")
-
- (set #in_msg "\nKies een installatie optie:\n")
- (set #in_help (cat "\n"
- " Met `Volledige installatie' kunt u alle AlbIn_MUI \n"
- " bestanden op uw harde schijf laten zetten. \n\n"
- " Als u niet ALLE bestanden wilt installeren, of als\n"
- " u naar diskette wilt installeren, kunt u de \n"
- " `Gedeeltelijke installatie' kiezen, waar u heel \n"
- " nauwkeurig aan kunt geven welke bestanden u wilt \n"
- " installeren. \n"
- " Als u al een oudere versie van AlbIn_MUI op uw \n"
- " systeem geïnstalleerd heeft, zullen de aanwezige \n"
- " bestanden worden overschreven (bij beide opties). \n"
- ))
- (set #in_dest (cat "\n"
- " Kies de directory waarin u wilt dat de AlbIn_MUI\n"
- " lade geplaatst wordt. \n"
- ))
-
- (set #bad_path (cat "\n"
- " Kan de AlbIn_MUI lade niet maken: \n"
- " verwijder aub. eerst het AlbIn_MUI programma!\n"
- ))
-
- (set #dest_help (cat "\n"
- " Een lade met de naam AlbIn_MUI zal aangemaakt \n"
- " worden (mits niet al aanwezig), waarin het \n"
- " programma en de bijbehorende bestanden zullen \n"
- " worden geïnstalleerd. \n"
- " Als u al een oudere versie geïnstalleerd heeft,\n"
- " kies dan de lade waarin de AlbIn_MUI lade zich\n"
- " bevindt, en niet de AlbIn_MUI lade zelf! \n"
- ))
-
- (set #opt_unknown "Onbekende optie... installatie afgebroken.\n")
-
- (set #cust1 (cat "AlbIn_MUI Installatie\n\n"
- "Kies aub. welke bestanden u wilt installeren:"
- ))
- (set #custmain "AlbIn_MUI programma")
- (set #custicon "Standaard ikonen")
- (set #custdoc "Documentatie")
- (set #custdb "Voorbeeld databanken")
-
- (set #cust_hlp (cat "\n"
- " U kunt kiezen welke bestanden u wilt installeren:\n\n"
- " AlbIn_MUI programma : Hoofdprogramma en on-line \n"
- " hulp bestand \n"
- " Standaard ikonen : Ikonen die gebruikt worden\n"
- " bij het bewaren van een \n"
- " databank om een ikoon voor\n"
- " dat bestand aan te maken. \n"
- " Documentatie : extra tekst bestanden \n"
- " Voorbeeld databanken: enkele voorbeeld databank \n"
- " bestanden van andere \n"
- " gebruikers. "
- ))
-
- (set #ask_icons (cat "\n"
- " Welke ikonen wilt u gebruiken voor het programma,\n"
- " de tekst bestanden en de databank bestanden? \n"
- ))
-
- (set #normal_icons "Normale ikonen")
- (set #mwb_icons "MagicWB ikonen")
-
- (set #icon_hlp (cat "\n"
- " Hier kunt u kiezen welke ikonen u wilt gebruiken\n"
- " voor het hoofdprogramma, de voorbeeld databanken\n"
- " en de documentatie bestanden. \n"
- " Kies de MagicWB ikonen alleen als uw Workbench \n"
- " scherm ten minste 8 kleuren heeft, en als uw \n"
- " Workbench MagicWB's kleurenpalet gebruikt, zoals\n"
- " wanneer u Martin Huttenloher's MagicWB pakket \n"
- " geïnstalleerd heeft. \n"
- " Kies in de overige gevallen de normale 4-kleuren\n"
- " ikonen. \n"
- ))
-
- (set #ask_pgm "Welke programma bestanden wilt u installeren?\n")
-
- (if (= Main_0x0 0)
- (
- (set #help_0x0 "\n")
- (set #help_end "\n")
- )
- (
- (set #help_0x0 (cat "\n"
- " AlbIn_MUI_0x0 : hoofdprogramma, 680x0-versie \n"
- " (geoptimaliseerd voor uw \n"
- " processor). \n"
- ))
- (set #help_end (cat "\n"
- " Merk op dat de geoptimaliseerde versie van het \n"
- " programma gebaseerd is op de informatie over uw\n"
- " processor zoals u die heeft ingevuld op uw \n"
- " registratie formulier. "
- ))
- )
- )
-
- (set #help_pgm (cat #help_0x0
- " AlbIn_MUI : hoofdprogramma, standaard \n"
- " 68000-versie \n"
- " AlbIn_MUI.guide : Amigaguide bestand voor on-line\n"
- " hulp (benodigt AmigaGuide). \n"
- #help_end
- ))
-
- (set #arc_icon "Ikonen uitpakken...")
- (set #arc_main "Hoofdprogramma uitpakken...")
- (set #arc_docs "Documentatie uitpakken...")
- (set #arc_db1 "Voorbeeld databanken uitpakken...")
- (set #arc_db2 "Songteksten, hoes plaatjes en\ngeëxporteerde bestanden uitpakken...")
-
- (set #ask_doc "Welke documentatie bestanden wilt u installeren?")
-
- (set #help_doc (cat "\n"
- " Deze reeks bestanden levert extra informatie \n"
- " over het programma. Bijgesloten vindt u de \n"
- " programma-geschiedenis, een `Te-Doen' lijst, \n"
- " de DVI-versie van de programma documentatie, \n"
- " en bestanden die copyright informatie bieden \n"
- " over de gebruikte pakketten (zoals MUI). \n"
- ))
-
- (set #ask_db "Welke voorbeeld databanken wilt u installeren?")
-
- (set #help_db (cat "\n"
- " Bij het AlbIn_MUI programma wordt een reeks \n"
- " voorbeeld databanken meegeleverd van andere \n"
- " gebruikers. Wellicht wilt u deze bekijken of \n"
- " gebruiken om delen eruit in uw eigen databank te \n"
- " importeren; dat kan u een hoop typewerk besparen.\n"
- " Installeer ze, als u genoeg vrije ruimte heeft. \n"
- ))
-
- (set #ask_lyric "Welke songteksten wilt u installeren?")
-
- (set #help_lyric (cat "\n"
- " Sommige voorbeeld databanken - zoals die van \n"
- " Niklas en Daniel - gebruiken externe songtekst \n"
- " bestanden. Als u deze wilt kunnen bekijken, zult\n"
- " u deze bestanden moeten installeren. \n"
- ))
-
- (set #ask_cover "Welke hoes plaatjes wilt u installeren?")
-
- (set #help_cover (cat "\n"
- " Sommige voorbeeld databanken - zoals die van \n"
- " Niklas - gebruiken externe plaatjes van album-\n"
- " hoezen. Als u deze wilt kunnen bekijken, zult \n"
- " u deze bestanden moeten installeren. \n"
- ))
-
- (set #ask_export "Welke export bestanden wilt u installeren?")
-
- (set #help_export (cat "\n"
- " Als u wilt, kunt u een voorbeeld installeren van\n"
- " een geëxporteerd AmigaGuide bestand. U heeft dit\n"
- " bestand niet persé nodig, en u kunt het zelf ook\n"
- " aanmaken met de Export functie in het hoofd- \n"
- " programma. Maar als u toch ruimte over heeft... \n"
- " Merk op dat MultiView of AmigaGuide benodigd is \n"
- " om het geëxporteerde bestand weer te geven. \n"
- ))
-
- (set #ask_locl "\n Welke talen wilt u installeren?\n")
- (set #help_locl (cat "\n"
- " Hiermee kunt u de catalog bestanden installeren \n"
- " die benodigd worden om het AlbIn_MUI hoofdprogramma\n"
- " in die taal te laten werken die u in het Locale \n"
- " instellingen programma heeft ingesteld (OS2.1 of \n"
- " hoger vereist!). \n"
- ))
-
- (set #complete "Installatie compleet.\n")
-
- )
- )
-
- ; *********************************************
- ; *** German strings (deutsche Texte) ***
- ; *********************************************
- ; *** Bemerkung: mein Deutsch ist nicht ***
- ; *** perfekt, und die Übersetzung wird ***
- ; *** sicherlich viele Fehler enthalten. ***
- ; *** Bitte schickt Verbesserungsvorschläge ***
- ; *** direkt an Sirius Design. -- Freddy ***
- ; *********************************************
- ; *** Korrekturen von Matthias Andree ***
- ; *** ***
- ; *********************************************
-
- (if (= @language "deutsch")
- (
- (set #introduction (cat "\n"
- "Sie werden jetzt AlbIn_MUI installieren, \n"
- " die definitiv beste Musikdatenbank. \n\n"
- "AlbIn_MUI ist ©1995 Niklas Dahlman, für \n"
- "Sirius Design. Alle Rechte vorbehalten. \n\n"
- "AlbIn_MUI ist SHAREWARE und darf nicht verkauft \n"
- "werden (es darf aber ein kleiner Beitrag für die \n"
- "Kopier-Unkosten verlangt werden). \n"
- "AlbIn_MUI ist frei kopierbar, aber keine der \n"
- "Dateien aus der Distribution darf ausgelassen \n"
- "werden, oder auf irgendeine Art verändert werden.\n"
- ))
-
- (set #badkick "\nEs tut mir leid, aber AlbIn_MUI benötigt OS 2.04 oder höher.\n")
- (set #bad_nothing "\nHabe nichts zu installieren!\n")
-
- (set #all "Komplett installieren")
- (set #custom "Teilweise installieren")
-
- (set #in_msg "\nWähle eine Installation:\n")
- (set #in_help (cat "\n"
- " Mit `komplett installieren' können Sie das ganze \n"
- " AlbIn_MUI-Paket auf Ihre Festplatte kopieren \n"
- " lassen. \n\n"
- " Wenn Sie NICHT ALLE Dateien installieren wollen, \n"
- " oder wenn Sie auf Diskette installieren möchten, \n"
- " sollten Sie `teilweise installieren' wählen, damit\n"
- " Sie genau angeben können, welche Dateien instal- \n"
- " liert werden sollen. \n"
- " Wenn sich schon eine ältere Version von AlbIn_MUI \n"
- " auf Ihrem System befindet, werden die alten \n"
- " Dateien überschrieben werden (in beiden Fällen). "
- ))
- (set #in_dest (cat "\n"
- " Wählen Sie bitte das Verzeichnis, in das \n"
- " das AlbIn_MUI installiert werden soll. \n"
- ))
-
- (set #bad_path (cat "\n"
- " Kann das AlbIn_MUI Verzeichnis nicht erstellen, \n"
- " bitte löschen Sie zuerst das alte AlbIn_MUI \n"
- " Programm!\n"
- ))
-
- (set #dest_help (cat "\n"
- " Ein Verzeichnis mit dem Namen `AlbIn_MUI' wird \n"
- " erstellt (falls noch nicht geschehen), in das \n"
- " das Programm und die dazugehörenden Dateien \n"
- " installiert werden. \n"
- " Wenn Sie schon eine ältere Version installiert \n"
- " haben, wählen Sie bitte das Verzeichnis, in dem\n"
- " sich das AlbIn_MUI Verzeichnis befindet, und \n"
- " NICHT das AlbIn_MUI Verzeichnis selber. \n"
- ))
-
- (set #opt_unknown "Unbekannte Option... Installation abgebrochen.\n")
-
- (set #cust1 (cat "AlbIn_MUI Installation\n\n"
- "Wählen Sie bitte, welche Dateien ich installieren soll:"
- ))
- (set #custmain "AlbIn_MUI Programm")
- (set #custicon "Standard Piktogramme")
- (set #custdoc "Dokumentation")
- (set #custdb "Beispiel-Datenbanken")
-
- (set #cust_hlp (cat "\n"
- " Sie können wählen, welche Dateien Sie installieren möchten:\n\n"
- " AlbIn_MUI Programm : Hauptprogramm und On-Line-\n"
- " Hilfsdatei. \n"
- " Standard Piktogramme: diese dienen beim sichern\n"
- " einer Datenbank dazu, ein\n"
- " Piktogramm anzufertigen. \n"
- " Dokumentation : zusätzliche Textdateien \n"
- " Beispiel-Datenbanken: einige Beispiel-Daten- \n"
- " banken von anderen \n"
- " Benutzern. "
- ))
-
- (set #ask_icons (cat "\n"
- " Welche Icons sollen für das Programm, die Texte\n"
- " und die Datenbanken installiert werden? \n"
- ))
-
- (set #normal_icons "Normale Icons")
- (set #mwb_icons "MagicWB Icons")
-
- (set #icon_hlp (cat "\n"
- " Hier können Sie die Piktogramme wählen, die Sie \n"
- " für das Hauptprogramm, die Beispiele und die \n"
- " Dokumentation benutzen möchten. \n"
- " Wählen Sie die MagicWB-Icons bitte nur, wenn Ihr \n"
- " Workbenchbildschirm mindestens 8 Farben hat und \n"
- " Ihre Workbench die MagicWB-Palette benutzt, wie \n"
- " sie in Martin Huttenlohers MagicWB-Paket zu \n"
- " finden ist. \n"
- " In allen anderen Fällen wählen Sie bitte die \n"
- " vierfarbigen Piktogramme. \n"
-
- ))
-
- (set #ask_pgm "Welche Programmtypen möchten Sie installieren?\n")
-
- (if (= Main_0x0 0)
- (
- (set #help_0x0 "\n")
- (set #help_end "\n")
- )
- (
- (set #help_0x0 (cat "\n"
- " AlbIn_MUI_0x0 : Hauptprogramm, 680x0-Version \n"
- " (optimiert für Ihren Prozessor).\n"
- ))
- (set #help_end (cat "\n"
- " Bemerkung: Welche Version Sie erhalten, hängt \n"
- " davon ab, welchen Prozessortype Sie beim \n"
- " Registrieren angegeben haben. \n"
- ))
- )
- )
-
- (set #help_pgm (cat #help_0x0
- " AlbIn_MUI : Hauptprogramm, Standard- \n"
- " 68000-Version \n"
- " AlbIn_MUI.guide: Amigaguide Datei für On-Line-\n"
- " Hilfe (benötigt AmigaGuide).\n"
- #help_end
- ))
-
- (set #arc_icon "Piktogramme entpacken...")
- (set #arc_main "Hauptprogramm entpacken...")
- (set #arc_docs "Dokumentation entpacken...")
- (set #arc_db1 "Beispiels-Datenbanken entpacken...")
- (set #arc_db2 "Songtexte, Plattencover und\nexportierte Daten entpacken...")
-
- (set #ask_doc "Welche Dokumentationsdateien möchten Sie installieren?")
-
- (set #help_doc (cat "\n"
- " Diese Dateisammlung bietet zusätzliche Doku- \n"
- " mentation zum Programm. Sie enthält die Ge- \n"
- " schichte des Programms, die Planungen, eine \n"
- " DVI-Version der Anleitung, und Copyright-Hin- \n"
- " weise zu den verwendeten Paketen (z. B. MUI). \n"
- ))
-
- (set #ask_db "Welche Beispiels-Datenbanken möchten Sie installieren?")
-
- (set #help_db (cat "\n"
- " AlbIn_MUI wird mit einer Reihe von Beispieldaten-\n"
- " banken anderer Benutzer geliefert. Sie können Sie\n"
- " installieren, um sie sich anzusehen, und viel- \n"
- " leicht einige Alben aus diesen Dateien importie- \n"
- " ren, um sich eine Menge Schreibarbeit zu sparen. \n"
- " Sollten Sie genügend Platz haben, installieren \n"
- " Sie alle. \n"
- ))
-
- (set #ask_lyric "Welche Songtexte möchten Sie installieren?")
-
- (set #help_lyric (cat "\n"
- " Manche Beispieldatenbanken - wie die von \n"
- " Niklas und Daniel - benutzen externe Songtext- \n"
- " Dateien. Wenn Sie sich diese ansehen können \n"
- " möchten, müssen Sie sie installieren. \n"
- ))
-
- (set #ask_cover "Welche Plattencover möchten Sie installieren?")
-
- (set #help_cover (cat "\n"
- " Manche Beispielsdatenbanken - wie die von \n"
- " Niklas - benutzen externe Plattencoverdateien. \n"
- " Wenn Sie sich diese ansehen können möchten, \n"
- " müssen Sie sie installieren. \n"
- ))
-
- (set #ask_export "Welche exportierten Daten möchten Sie installieren?")
-
- (set #help_export (cat "\n"
- " Wenn Sie möchten, können Sie ein Beispiel von \n"
- " einer exportierten AmigaGuide-Datei instal- \n"
- " lieren. Sie brauchen diese Datei nicht unbe- \n"
- " dingt und wenn, dann können Sie sie selber auch \n"
- " anfertigen mit der Export Funktion im Haupt- \n"
- " programm. Aber wenn genügend Platz frei ist... \n"
- " Bemerkung: MultiView oder AmigaGuide wird \n"
- " benötigt, um die exportierten Daten anzuzeigen. \n"
- ))
-
- (set #ask_locl "\n Welche Sprachen möchten Sie installieren?\n")
- (set #help_locl (cat "\n"
- " Hier können Sie die Catalog Dateien installieren,\n"
- " die benötigt werden, um das AlbIn_MUI Programm in\n"
- " der Sprache arbeiten zu lassen, die Sie im Locale\n"
- " Prefs Programm eingestellt haben (OS2.1 oder \n"
- " höher ist dazu erforderlich!). \n"
- ))
-
- (set #complete "Installation fertig.\n")
-
- )
- )
-
- ; *********************************
- ; *** Swedish strings (Svenska) ***
- ; *********************************
- ; *** by David von Plenker-Tind
-
- (if (= @language "svenska")
- (
-
-
- (set #introduction (cat "\n"
-
- " Du är på väg att installera AlbIn_MUI, \n"
- " Den ultimata musikdatabasen. \n\n"
- "AlbIn_MUI är © 1995 Niklas Dahlman, för \n"
- "Sirius Design. All rättigheter förbehållna. \n\n"
- "AlbIn_MUI är SHAREWARE och får INTE säljas \n"
- "(en liten avgift får dock tas ut vid kopiering av \n"
- "den oregistrerade versionen med tillhörande filer)\n"
- "AlbIn_MUI är fritt distribuerbart, men inga av \n"
- "filerna i distributionspaketet får utelämnas, \n"
- "eller modifieras i någon form. \n"
- ))
-
- (set #badkick "\nTyvärr, AlbIn_MUI kräver OS v2.04 eller bättre.\n")
- (set #bad_nothing "\nIngenting att installera!\n")
-
- (set #all "Komplett installation")
- (set #custom "Skräddarsydd installation")
-
- (set #in_msg "\nVälj hur Du vill installera AlbIn_MUI:\n")
- (set #in_help (cat "\n"
- " Genom att välja 'Komplett installation' kommer \n"
- " samtliga filer tillhörande AlbIn_MUI att kopieras \n"
- " till Din hårddisk. \n\n"
- " Om Du inte vill att ALLA filer installeras kan du \n"
- " välja 'Skräddarsydd installation', där Du kan välja\n"
- " precis vilka filer som ska installeras. \n"
- " Om Du redan har en äldre version av AlbIn_MUI \n"
- " installerad på Din dator, kommer de gamla filer \n"
- " skrivas över (det gäller bägge alternativen). \n"
- ))
-
- (set #in_dest (cat "\n"
- " Välj bibliotek i vilket Du vill att AlbIn_MUI- \n"
- " biblioteket skall skapas. \n"
- ))
-
- (set #bad_path (cat "\n"
- " Kan inte skapa AlbIn_MUI-bibliotek: \n"
- " var snäll och radera AlbIn_MUI programmet först!\n"
- ))
-
- (set #dest_help (cat "\n"
- " Ett bibliotek med namnet 'AlbIn_MUI' kommer att \n"
- " skapas här (om det inte redan finns) för att \n"
- " lagra programmet och dess tillhörande filer. \n"
- " Om Du uppdaterar från en tidigare version, \n"
- " välj det bibliotek där AlbIn_MUI-biblioteket \n"
- " finns, och inte själva AlbIn_MUI-biblioteket. \n"
- ))
-
- (set #opt_unknown "Okänt val... installation avbruten.\n")
-
- (set #cust1 (cat "AlbIn_MUI Installation\n\n"
- "Välj vilka filer som ska installeras:"
- ))
- (set #custmain "AlbIn_MUI programfiler")
- (set #custicon "Standardikoner")
- (set #custdoc "Dokumentationsfiler")
- (set #custdb "Exempel-databaser")
-
- (set #cust_hlp (cat "\n"
- " Du kan välja vilka filer som Du vill installera: \n\n"
- " AlbIn_MUI programfiler: Huvudprogram & on-line- \n"
- " hjälp. \n"
- " Standardikoner: Ikonbibliotek, används när Du ska\n"
- " spara en databas och en ikon ska \n"
- " sparas för databasen. \n"
- " Dokumentationsfiler: Ytterligare dokumentation, \n"
- " förutom on-line-hjälp. \n"
- " Exempel-databaser: Några exempel på databaser \n"
- " från andra användare. \n"
- ))
-
- (set #ask_icons (cat "\n"
- " Vilka ikoner vill Du använda till programmet,\n"
- " textfilerna och databas-filerna? \n"
- ))
-
- (set #normal_icons "Standard ikoner (4 färger)")
- (set #mwb_icons "MagicWB ikoner (8+ färger)")
-
- (set #icon_hlp (cat "\n"
- " Här kan Du välja mellan vilka ikoner Du vill ha \n"
- " installerade med huvudprogrammet, exempel-data- \n"
- " baserna och dokumentationen. \n"
- " Välj MagicWB-ikonerna endast om Din Workbench- \n"
- " skärm har minst 8 färger, och om Du använder \n"
- " MagicWBs färgpalette - dvs om Du har Martin \n"
- " Huttenlohers 'MagicWB' installerat. I annat fall \n"
- " installera de vanliga standard 4-färgers ikonerna.\n"
- ))
-
- (set #ask_pgm "Vilka programfiler vill du installera?\n")
-
- (if (= Main_0x0 0)
- (
- (set #help_0x0 "\n")
- (set #help_end "\n")
- )
- (
- (set #help_0x0 (cat "\n"
- " AlbIn_MUI_0x0: huvudprogram, 680x0-version \n"
- " (optimerat för Din processor)\n"
- ))
- (set #help_end (cat "\n"
- " Tänk på att den optimerade versionen av \n"
- " programmet beror på de uppgifter om Din processor\n"
- " som Du uppgav i registreringsformuläret. \n"
- ))
- )
- )
-
- (set #help_pgm (cat #help_0x0
- " AlbIn_MUI: Huvudprogram, standard 68000 version\n"
- " AlbIn_MUI.guide: .guide-fil för on-line-hjälp \n"
- " (AmigaGuide/Multiview krävs). \n"
- #help_end
- ))
-
- (set #arc_icon "Packar upp ikoner...")
- (set #arc_main "Packar upp huvudprogramfiler...")
- (set #arc_docs "Packar upp dokumentationsfiler...")
- (set #arc_db1 "Packar upp exempel-databaser...")
- (set #arc_db2 "Packar upp sångtexter, omslags-\nbilder och exportfiler...")
-
- (set #ask_doc "Vilka dokumentationsfiler vill Du installera?")
-
- (set #help_doc (cat "\n"
- " Den här samlingen filer innehåller ytterligare\n"
- " dokumentation om programmet. Inkluderat finns \n"
- " en historie-fil, en att-göra-lista, en dvi- \n"
- " version av programmets dokumentation, och \n"
- " filer som innehåller copyright-information om \n"
- " de använda programpaketen (dvs MUI) \n"
- ))
-
- (set #ask_db "Vilka exempel-databaser vill Du installera?")
-
- (set #help_db (cat "\n"
- " Med AlbIn_MUI följer ett antal exempel-databaser \n"
- " från andra användare. Du vill kanske installera \n"
- " på Din hårddisk för att titta på dem, och kanske \n"
- " importera album från dessa databaser till din \n"
- " egen databas; det kan bespara Dig från en massa \n"
- " inskrivning. Har Du tillräckligt med utrymme, \n"
- " installera allihop. \n"
- ))
-
- (set #ask_lyric "Vilka sångtexter vill Du installera?")
-
- (set #help_lyric (cat "\n"
- " Några av exempel-databaserna - som de från Niklas\n"
- " och David - använder sig av externa sångtexter. \n"
- " Om Du vill kunna titta på dessa texter måste Du \n"
- " installera dem. \n"
- ))
-
- (set #ask_cover "Vilka omslagsbilder vill Du installera?")
-
- (set #help_cover (cat "\n"
- " Några av exempel-databaserna - som de från Niklas \n"
- " och David - använder sig av externa omslagsbilder.\n"
- " Om Du vill kunna titta på dessa bilder måste Du \n"
- " installera dem också. \n"
- ))
-
- (set #ask_export "Vilka exportfiler vill Du installera?")
-
- (set #help_export (cat "\n"
- " Om Du vill, kan Du installera ett exempel av en \n"
- " exporterad fil. Du behöver egentligen inte denna\n"
- " filen, och om Du vill ha den senare kan Du \n"
- " exportera den från programmet med hjälp av \n"
- " exportfunktionen. Notera att måste ha MultiView \n"
- " eller AmigaGuide för att titta på den export- \n"
- " erade filen. \n"
- ))
-
- (set #ask_locl "Vilka språk vill Du installera?\n")
-
- (set #help_locl (cat "\n"
- " Detta gör det möjligt för Dig att installera de \n"
- " 'catalog'-filerna som krävs för att köra AlbIn-MUI\n"
- " på det språk som Du har ställt in i 'Locale'- \n"
- " inställningarna (OS2.1 eller högre krävs). \n"
- ))
-
- (set #complete "Installationen är nu klar!\n")
-
- ))
-
- ; *****************************
- ; *** Now let's get started ***
- ; *****************************
-
- ; *** Ensure at least AmigaDOS v2 ***
- (if
- (NOT (>= (/ (getversion) 65536) 37))
- (abort #badkick)
- )
-
-
- ; *** Check for LOCALE (Workbench 2.1) ***
- (set locflag 0)
- (if
- (>= (/ (getversion) 65536) 38)
- (set locflag 1)
- )
-
- (complete 0)
-
- (message #introduction)
-
- (set AIMsrc "")
- (set @default-dest "WORK:")
-
- ; set default language selection (catalogs) to 'none'
- (set catalogs 0)
-
- (set instmode (askchoice
- (prompt #in_msg)
- (help #in_help)
-
- (default 0)
-
- (choices
- #all
- #custom
- )
- ))
-
- ;******************
- ;** PREPARATIONS **
- ;******************
-
- ;SET TIMES TO INSTALL FILES, BASED ON FILE SIZE
- (set TIME 25)
- (set DONE 2500)
-
- (set AIMdest
- (askdir
- (prompt #in_dest)
- (help #dest_help)
- (default @default-dest)
- )
- )
-
- (if
- (NOT (OR (= instmode 0) (= instmode 1)))
- (abort #opt_unknown)
- )
-
- (set lhex (tackon AIMsrc "lha"))
- ; TO DO: copy LhA to RAM: if possible
-
- ; Temporary directories and assign
- (set Instmain (tackon Instpath "AIMInst"))
-
- (makedir Instmain (safe))
- (makedir (tackon Instmain "PG") (safe))
- (makeassign "AIMInst" Instmain (safe))
- (set Icondir (tackon Instmain "Icons"))
- (makedir Icondir (safe))
- (set Instdir (tackon Instmain "PG"))
-
- (onerror
- (
- ;(makeassign "AIMInst" (safe))
- (run (cat "delete >NIL: "Instmain" all force quiet"))
- )
- )
-
- ; ***************************
- ; *** Custom Installation ***
- ; ***************************
-
- (set PGMflag 0)
- (set ICNflag 1)
- (set DOCflag 2)
- (set DB1flag 3)
-
- (if (= instmode 1)
- (set instopts
- (askoptions
- (prompt #cust1)
- (choices #custmain #custicon #custdoc #custdb)
- (default 15)
- (help (cat #cust_hlp))
- )
- )
- )
-
- (if
- (AND (= instopts 0) (= instmode 1))
- (abort #bad_nothing)
- )
-
- (if (= instmode 1)
- (
- (if (IN instopts PGMflag) (set time (+ time 225)))
- (if (IN instopts ICNflag) (set time (+ time 25)))
- (if (IN instopts DOCflag) (set time (+ time 50)))
- (if (IN instopts DB1flag) (set time (+ time 575)))
- )
- (set time 900)
- )
- (set progress (/ DONE TIME))
- (complete progress)
-
- (if (NOT (exists (tackon AIMdest "AlbIn_MUI")))
- (makedir (tackon AIMdest "AlbIn_MUI") (infos))
- (
- (if (= (exists (tackon AIMdest "AlbIn_MUI")) 1)
- (abort #bad_path)
- )
- )
- )
-
- (set AIMdest (tackon AIMdest "AlbIn_MUI"))
- (set @default-dest AIMdest)
-
- ; **********************************
- ; *** Select (and install) Icons ***
- ; **********************************
-
- (set STDflag 0)
- (set MWBflag 1)
-
- (set iconopts
- (askchoice
- (prompt #ask_icons)
- (choices #normal_icons #mwb_icons)
- (default 0)
- (help #icon_hlp)
- )
- )
-
- (set lhafile (tackon AIMsrc "Icons.lha"))
- (working #arc_icon)
- (run lhex" >NIL: <NIL: -m -x x "lhafile" AIMInst:PG/")
-
-
- ; original: (run lhex" >NIL: <NIL: -qfw=AIMInst:PG/ x "lhafile)
- ; setup an install directory from where the icons for all the program
- ; files will be added
-
- (if (= iconopts 1)
- (copyfiles (source (tackon Instdir "Magic")) (dest Icondir)
- (all) (infos) (optional nofail force))
- (copyfiles (source (tackon Instdir "Normal")) (dest Icondir)
- (all) (infos) (optional nofail force))
- )
-
- ; TO DO: install only .AlbIn_MUI.info, .Txt.info and .Guide.info
- ; other icons are only relevant during installation!
-
- (if (OR (= instmode 0) (AND (= instmode 1) (IN instopts ICNflag)))
- (
- (if (NOT (exists (tackon AIMdest "Icons")))
- (makedir (tackon AIMdest "Icons") (infos))
- )
- (copyfiles (source Icondir) (dest (tackon AIMdest "Icons"))
- (all) (infos) (optional nofail force))
- (copyfiles (source (tackon Instdir "ReadMe.Txt")) (dest Icondir)
- (files) (optional nofail force))
- (copyfiles (source (tackon Icondir ".Txt.info")) (dest Icondir)
- (newname "ReadMe.Txt.info") (infos) (optional nofail force))
- )
- )
-
- (run "delete >NIL: AIMInst:PG/#? all force quiet")
-
- (set DONE (+ DONE 2500))
- (set progress (/ DONE TIME))
- (complete progress)
-
- ; ***********************************************************
- ; *** Install main program files and AmigaGuide help file ***
- ; ***********************************************************
-
- (set dbdest 0)
-
- (if (OR (= instmode 0) (AND (= instmode 1) (IN instopts PGMflag)))
- (
- (set lhafile (tackon AIMsrc "Main.lha"))
- (working #arc_main)
- (run lhex" >NIL: <NIL: -m -x x "lhafile" AIMInst:PG/")
-
- (if (= instmode 1)
- (set dbdest
- (copyfiles
- (prompt #ask_pgm)
- (source Instdir) (dest AIMdest)
- (all)
- (help #help_pgm)
- (confirm)
- )
- )
- (
- (set dbdest
- (copyfiles (source Instdir) (dest AIMdest)
- (all) (optional nofail force))
- )
- )
- )
- (run "delete >NIL: AIMInst:PG/#? all force quiet")
-
- (if (NOT (= dbdest 0))
- (
- (if (= (exists (tackon dbdest "AlbIn_MUI") (noreq)) 1)
- (copyfiles (source (tackon Icondir "Main.info")) (dest dbdest)
- (infos) (files) (newname "AlbIn_MUI.info")
- (optional nofail force))
- )
- (if (NOT (= Main_0x0 0))
- (if (exists (tackon dbdest Main_0x0) (noreq))
- (copyfiles (source (tackon Icondir "Main.info")) (dest dbdest)
- (infos) (files) (newname (cat Main_0x0 ".info"))
- (optional nofail force))
- )
- )
- (if (exists (tackon dbdest "AlbIn_MUI.guide") (noreq))
- (copyfiles (source (tackon Icondir ".Guide.info")) (dest dbdest)
- (infos) (files) (newname "AlbIn_MUI.guide.info")
- (optional nofail force))
- )
- )
- )
- )
- )
-
- (set DONE (+ DONE 22500))
- (set progress (/ DONE TIME))
- (complete progress)
-
- ; *******************************
- ; *** Install additional docs ***
- ; *******************************
-
- (set dbdest 0)
-
- (if (OR (= instmode 0) (AND (= instmode 1) (IN instopts DOCflag)))
- (
- (set lhafile (tackon AIMsrc "Docs.lha"))
- (working #arc_docs)
- (run lhex" >NIL: <NIL: -m -x x "lhafile" AIMInst:PG/")
- (if (NOT (exists (tackon AIMdest "Docs")))
- (makedir (tackon AIMdest "Docs") (infos))
- )
-
- (if (= instmode 1)
- (
- (set dbdest
- (copyfiles
- (prompt #ask_doc)
- (source Instdir) (dest (tackon AIMdest "Docs"))
- (all)
- (help #help_doc)
- (confirm)
- )
- )
- )
- (
- (set dbdest
- (copyfiles (source Instdir) (dest (tackon AIMdest "Docs"))
- (all) (optional nofail force))
- )
-
- (copyfiles (source (tackon Icondir ".Txt.info")) (dest (tackon AIMdest "Docs"))
- (infos) (files) (newname "AlbIn_MUI.History.info") (optional nofail force))
-
- (copyfiles (source (tackon Icondir ".Txt.info")) (dest (tackon AIMdest "Docs"))
- (infos) (files) (newname "ReadMe_MUI.info") (optional nofail force))
-
- (copyfiles (source (tackon Icondir ".Txt.info")) (dest (tackon AIMdest "Docs"))
- (infos) (files) (newname "Installer.Legal.info") (optional nofail force))
-
- (copyfiles (source (tackon Icondir ".DVI.info")) (dest (tackon AIMdest "Docs"))
- (infos) (files) (newname "AlbIn_MUI.dvi.info") (optional nofail force))
- )
- )
- (run "delete >NIL: AIMInst:PG/#? all force quiet")
- )
- )
-
- (set DONE (+ DONE 5000))
- (set progress (/ DONE TIME))
- (complete progress)
-
- ; *********************************
- ; *** Install example databases ***
- ; *********************************
-
- (set dbdest 0)
-
- (if (OR (= instmode 0) (AND (= instmode 1) (IN instopts DB1flag)))
- (
- (set lhafile (tackon AIMsrc "DB1.lha"))
- (working #arc_db1)
- (run lhex" >NIL: <NIL: -m -x x "lhafile" AIMInst:PG/")
-
- (if (NOT (exists (tackon AIMdest "Databases")))
- (makedir (tackon AIMdest "Databases") (infos))
- )
- (set dbicon (tackon IconDir ".AlbIn_MUI.info"))
-
- (if (= instmode 1)
- (set dbdest
- (copyfiles
- (prompt #ask_db)
- (source Instdir) (dest (tackon AIMdest "Databases"))
- (all)
- (help #help_db)
- (infos)
- (confirm)
- )
- )
- (
- (set dbdest
- (copyfiles (source Instdir) (dest (tackon AIMdest "Databases"))
- (all) (infos) (optional nofail force))
- )
- )
- )
- (run "delete >NIL: AIMInst:PG/#? all force quiet")
- )
- )
-
- ; *** Add the icons for the installed example databases ***
-
- (if (NOT (= dbdest 0))
- (if (= instmode 1)
- (
- (if (exists (tackon dbdest "Media_1.AlbIn_MUI") (noreq))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_1.AlbIn_MUI.info")
- (optional nofail force))
- )
- (if (exists (tackon dbdest "Media_2.AlbIn_MUI") (noreq))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_2.AlbIn_MUI.info")
- (optional nofail force))
- )
- (if (exists (tackon dbdest "Media_3.AlbIn_MUI") (noreq))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_3.AlbIn_MUI.info")
- (optional nofail force))
- )
- (if (exists (tackon dbdest "Media_4.AlbIn_MUI") (noreq))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_4.AlbIn_MUI.info")
- (optional nofail force))
- )
- (if (exists (tackon dbdest "Media_5.AlbIn_MUI") (noreq))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_5.AlbIn_MUI.info")
- (optional nofail force))
- )
- (if (exists (tackon dbdest "Media_6.AlbIn_MUI") (noreq))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_6.AlbIn_MUI.info")
- (optional nofail force))
- )
- (if (exists (tackon dbdest "Media_7.AlbIn_MUI") (noreq))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_7.AlbIn_MUI.info")
- (optional nofail force))
- )
- )
- (
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_1.AlbIn_MUI.info")
- (optional nofail force))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_2.AlbIn_MUI.info")
- (optional nofail force))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_3.AlbIn_MUI.info")
- (optional nofail force))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_4.AlbIn_MUI.info")
- (optional nofail force))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_5.AlbIn_MUI.info")
- (optional nofail force))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_6.AlbIn_MUI.info")
- (optional nofail force))
- (copyfiles (source dbicon) (dest dbdest)
- (infos) (files) (newname "Media_7.AlbIn_MUI.info")
- (optional nofail force))
- )
- )
- )
-
- (set DONE (+ DONE 32500))
- (set progress (/ DONE TIME))
- (complete progress)
-
- ; *** Install Lyrics, cover pictures and exported guide files ***
-
- (if (OR (= instmode 0) (AND (= instmode 1) (IN instopts DB1flag)))
- (
- (set lhafile (tackon AIMsrc "DB2.lha"))
- (working #arc_db2)
- (run lhex" >NIL: <NIL: -m -x x "lhafile" AIMInst:PG/")
-
- (if (NOT (exists (tackon AIMdest "Lyrics")))
- (makedir (tackon AIMdest "Lyrics"))
- )
- (if (NOT (exists (tackon AIMdest "Covers")))
- (makedir (tackon AIMdest "Covers"))
- )
- (if (NOT (exists (tackon AIMdest "Exports")))
- (makedir (tackon AIMdest "Exports") (infos))
- )
- (set dbdest 0)
-
- (if (= instmode 1)
- (
- (copyfiles
- (prompt #ask_lyric)
- (source (tackon Instdir "Lyrics")) (dest (tackon AIMdest "Lyrics"))
- (all)
- (help #help_lyric)
- (confirm)
- )
- (copyfiles
- (prompt #ask_cover)
- (source (tackon Instdir "Covers"))
- (dest (tackon AIMdest "Covers"))
- (all)
- (help #help_cover)
- (confirm)
- )
- (set dbdest
- (copyfiles
- (prompt #ask_export)
- (source (tackon Instdir "Exports"))
- (dest (tackon AIMdest "Exports"))
- (all)
- (help #help_export)
- (confirm)
- )
- )
- (if (NOT (= dbdest 0))
- (if (exists (tackon dbdest "Niklas_Skivor.guide") (noreq))
- (copyfiles (source (tackon IconDir ".guide.info")) (dest dbdest)
- (infos) (files) (newname "Niklas_Skivor.guide.info")
- (optional nofail force))
- )
- )
- )
- (
- (copyfiles (source Instdir) (dest AIMdest)
- (all) (optional nofail force))
- (copyfiles (source (tackon IconDir ".guide.info"))
- (dest (tackon AIMdest "Exports"))
- (newname "Niklas_Skivor.guide.info")
- (infos) (files) (optional nofail force))
- )
- )
- (run "delete >NIL: AIMInst:PG/#? all force quiet")
- )
- )
-
- (set DONE (+ DONE 25000))
- (set progress (/ DONE TIME))
- (complete progress)
-
- (copyfiles (source (tackon AIMsrc "ReadMe")) (dest AIMdest)
- (files) (optional nofail force))
- (copyfiles (source (tackon Icondir ".Txt.info")) (dest AIMdest)
- (newname "ReadMe.info") (infos) (files) (optional nofail force))
-
- ;************
- ;* CLEAN UP *
- ;************
-
- ;REMOVE THE TEMPORARY ASSIGN
- (makeassign "AIMInst" (safe))
-
- ;REMOVE THE TEMPORARY DIRECTORY
- (run (cat "delete >NIL: "Instmain" all force quiet"))
-
- ;DONE WITH THE INSTALL
- (complete 100)
-
- ;DISPLAY README (try 4 different ways!)
- (IF (> (run "Sys:Utilities/MultiView ReadMe") 0)
- (IF (> (run "Sys:Utilities/AmigaGuide ReadMe") 0)
- (IF (> (run "More ReadMe") 0)
- (run "PPMore ReadMe")
- )
- )
- )
-