; CDpro (V2.2) Installerscript 08.01.95 © by PackMAN

(set #notV37
(cat "CD pro benötigt OS2 (V37.175) oder höher..."))

(set #msg
(cat "\n\n"
     " > CD pro *CRACKED* <  Installer script.\n\n"
     "Dieses Script installiert > CD pro CRACKED < auf Ihrem Amiga.\n\n"
     "Hinweise: Install.Liesmich\n\n"
     "CD pro © 1993-1995 Falk Zühlsdorff\n"
     "All rights reserved.\n"
     "Cracked by SOB 1995.\n"))

(set #0
(cat "Ziellaufwerk auswählen..."))
(set #1
(cat "Verzeichnis: CDpro anlegen ?"))

;=============================================================================
; OS2 ?

(if (< (/ (getversion) 65536) 37)
(
    (abort #notV37)
))

;=============================================================================

(message #msg)
(welcome)

(set name
    (askdir
        (prompt "\n" #0)
        (help @askdir-help)
        (default "SYS:")
    )
)
(makedir (tackon name "CDpro")
    (prompt "\n\n\n\n\n" #1)
    (help "Ist bei Erstinstallation sinnvoll")
    (infos)
    (confirm)
)
(copyfiles
    (prompt "CDpro V2.2 Hauptdatei")
    (help "Die Datei ist wohl nötig !!")
    (source ":CDpro/CDpro")
    (dest (tackon name "CDpro"))
    (infos)
    (confirm)
)
(copyfiles
    (prompt "CDpro V2.2 Dokumentation")
    (help "Würde ich auch installieren...")
    (source ":CDpro/CDpro.DOK")
    (dest (tackon name "CDpro"))
    (infos)
    (confirm)
)
(copyfiles
    (prompt "Beispielliste von CDpro V2.2")
    (help "Bitte auch folgende Datei mitkopieren.")
    (source ":CDpro/BspListe.CDpro")
    (dest (tackon name "CDpro"))
    (infos)
    (confirm)
)
(copyfiles
    (prompt "Pufferdatei von CDpro V2.2")
    (help "Bsp.Puffer, wenn BspListe kopiert mitkopieren.")
    (source ":CDpro/BspPuffer.CDpro")
    (dest (tackon name "CDpro"))
    (confirm)
)
(copyfiles
    (prompt "Konvertierungsprogramm CD-->CDpro")
    (help "nur für alte CD1.1-CD1.3 >Hasen< nötig")
    (source ":CDpro/CD-->CDpro-Konvert")
    (dest (tackon name "CDpro"))
    (infos)
    (confirm)
)
(copyfiles
    (prompt "Registrierkarte")
    (help "zum registrieren notwendig")
    (source ":CDpro/Registrierkarte")
    (dest (tackon name "CDpro"))
    (infos)
    (confirm)
)

(copyfiles
    (prompt "PURITY-Pascal-PD-Serie INTERESSANT !!!!!")
    (help "the best of PASCAL...")
    (source ":CDpro/PURITY-PD")
    (dest (tackon name "CDpro"))
    (infos)
    (confirm)
)
(copyfiles
    (prompt "Reqtools.library installieren ?")
    (help @copyfiles-help)
    (source ":CDpro/Libs/reqtools.library")
    (dest "Libs:")
    (confirm)
)
(copyfiles
    (prompt "Textanzeiger ZMore")
    (help "Installieren oder Defaulttools der Icons ändern...")
    (source ":CDpro/C/ZMore")
    (dest "C:" )
    (confirm)
)