; This is test of many of the features of the Installer
; Prints out debugging info if run from CLI

(if (= @language "français")

(
(set #where_install "Où voulez-vous installer\nle répertoire 'Collector2.5' ?")
(set #copying "Copie de Collector vers %s...")
(set #copying_lib "Copie des bibliothèques...")
)

; ---- English ----
(
(set #where_install "Where do you want to put\nthe 'Collector2.5' directory ?")
(set #copying "Copying Collector to %s...")
(set #copying_lib "Copying libraries...")
)

)

(set @default-dest
        (askdir
                (prompt #where_install)
                (help @askdir-help)
                (default "SYS:")
        )
)

(set @default-dest (tackon @default-dest "Collector2.5"))


(makedir @default-dest
        (infos)
)

(copyfiles
        (prompt #copying @default-dest)
        (help @copyfiles-help)
        (source "Collector2.5")
        (dest @default-dest)
    (infos)
    (all)
)

(copylib
        (prompt #copying_lib)
        (help @copylib-help)
        (source "Libs/Reqtools.Library")
        (dest "LIBS:")
        (confirm)
)

(copylib
        (prompt #copying_lib)
        (help @copylib-help)
        (source "Libs/MPImage.Library")
        (dest "LIBS:")
        (confirm)
)

