;Installer V4 For AmiTCP Control Panel V4.2
;
;©Martin Hunt 1995
;
;


(set amitcpdir
   (askdir
       (prompt "Where is AmiTCP installed?")
       (help @askdir-help)
       (default "dh1:amitcp")
   )
)

(makeassign "amitcp" amitcpdir)


(set @default-dest
   (askdir
       (prompt "Where is AmiTCP Control Panel Installed?")
       (help @askdir-help)
       (default "sys:wbstartup")
   )
)

(copyfiles
   (prompt "Copying AmiTCP Control Panel to " @default-dest )
   (help @copyfiles-help)
   (source "cp_MainProg/controlpanel4.2")
   (dest @default-dest)
   (infos)
)
(copyfiles
   (prompt "Copying AmiTCP Control Panel to " @default-dest )
   (help @copyfiles-help)
   (source "cp_MainProg/controlpanel.exe")
   (dest "c:")
)

(set @doc-dest
   (askdir
       (prompt "Where do you want to install AmiTCP Control Panel's Documents?")
       (help @askdir-help)
       (default "amitcp:docs")
   )
)


(copyfiles
   (prompt "Copying AmiTCP Control Panel Docs to " @doc-dest )
   (help @copyfiles-help)
   (source "docs")
   (all)
   (dest @doc-dest)
   (infos)
   (confirm)
)

(copyfiles
   (prompt "Copying AmiTCP Control Panel Scripts and Commands to AmiTCP:bin" )
   (help @copyfiles-help)
   (source "bin")
   (all)
   (dest "Amitcp:bin")
   (infos)
   (confirm)
)

