;Install-Script für FLM-Shareware-Version (noDisk) (c) 1995 Denis Unger

(set @default-dest "FLM/")

;Workbench-Version bestimmen
(set vernum (getversion))
(set ver (/ vernum 65536))
;(message
;        ("Workbench-Version %ld" ver)
;)

(if (< ver 38)
       (copyfiles
            (prompt "")
            (help "")
            (all)
            (source "HotHelp")
            (dest @default-dest )
       )
;   ELSE...
       (copylib
            (prompt "\nKopiere HotHelpLib.catalog nach Locale:")
            (help "Kopiert den HotHelpLib.catalog, welche für die Hilfe "
                  "notwendig ist ins Locale: - Verzeichnis.")
            (source "locale/catalogs/deutsch/hothelplib.catalog")
            (dest "locale:catalogs/deutsch")
            (confirm)
            (safe)
        )
)

(copylib
    (prompt "\nKopiere HotHelp.library nach LIBS:")
    (help "Kopiert die HotHelp.library, welche für die Hilfe "
          "notwendig ist ins LIBS: - Verzeichnis.")
    (source "libs/hothelp.library")
    (dest "libs:")
    (confirm)
    (safe)
)

(copylib
    (prompt "Kopiert HotHelpHandler nach L:")
    (help "Kopiert den HotHelpHandler, welcher für die Hilfe "
          "notwendig ist ins L: - Verzeichnis.")
    (source "l/HotHelpHandler")
    (dest "L:")
    (confirm)
    (safe)
)

(exit)

