; $VER: Install_PNG-Box.script V1.00 (18.1.97)
; © 19997 by Andreas R. Kleinert.


(set @app-name "PNG-Box")
(welcome "PNG-Box Installation")


; *** english is default language

    (set #Msg_wrong_OS       (cat "You need at least AmigaOS V2.04 to run PNG-Box !\n\n"
                                  "PNG-Box will not run with your system configuration !"))
    (set #Msg_InstallingPNG-Box   "Installing PNG-Box now. Libraries have to be installed separately !")
    (set #Msg_SelectPath          "Select path to install PNG-Box to")
    (set #Msg_DoInstallPNG-Box    "PNG-Box has been installed.")


(set #OS_VER (/ (getversion) 65536) )

(if(< #OS_VER 37)
  (abort #Msg_wrong_OS)
)

(complete 0)

(copyfiles
  (prompt #Msg_Installing)
  (help @copyfiles-help)
  (source "")
  (set #svcomdir
              (askdir
                     (prompt #Msg_SelectPath)
                     (help @askdir-help)
                     (newpath)
                     (default "SYS:PNG-Box")
              )
  )
  (dest #svcomdir)
  (all)
  (confirm)
)

(complete 100)

(exit #Msg_DoInstallPNG-Box)
