; APrint (V3.0) Installerscript (c) by PackMAN

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

(set #msg
(cat "\n\n"
     " > APrint <  Installer script.\n\n"
     "Dieses Script installiert > APrint < auf Ihrem Amiga.\n\n"
     "APrint © 1993-1995 Falk Zühlsdorff\n"
     "All rights reserved."))

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

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

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

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

(message #msg)
(welcome)

(set name
    (askdir
        (prompt "\n" #0)
        (help @askdir-help)
        (default "SYS:")
    )
)
(copyfiles
    (prompt "APrint V3.0")
    (source "")
    (help "...")
    (dest (tackon name "APrint"))
    (pattern "#?")
    (infos)
    (confirm)
)
(TOOLTYPE (DEST (tackon name "APrint/APrint"))
          (SETTOOLTYPE "GERMAN" "YES")
)
(copyfiles
    (prompt "Libraries installieren ?")
    (help @copyfiles-help)
    (pattern "#?")
    (source "Libs/")
    (dest "Libs:")
    (confirm)
)
(copyfiles
    (prompt "Textanzeiger ZMore")
    (help "Installieren oder Defaulttools der Icons ändern...")
    (source "ZMore")
    (dest "C:" )
    (confirm)
)
