; Install Script for HangInThere! 1.0
;
; Written by Alvaro Thompson
; $VER: 1.0 (??/??/97)

(set #info "- HangInThere! 1.0 -\n\nWritten by Alvaro Thompson\nGraphics by Chris Turpin\nMusic by Steve Clack and Matt Whitfield\n\n*** E-MAILWARE ***")
(set #where "Where do you wish to install HIT?\n(A Drawer WILL be created)")

(message #info)

(set destination
 (askdir
  (prompt #where)
  (help @askdir-help)
  (default "Games:")
 )
)

(makedir (tackon destination "HangInThere!"))

(set trgt (tackon destination "HangInThere!"))

(copyfiles
 (help @copyfiles-help)
 (source "")
 (dest trgt)
 (all)
)

(if (= (exists "/HangInThere!.info"))
 (
  (copyfiles
   (help @copyfiles-help)
   (source "/HangInThere!.info")
   (dest destination)
  )
 ) 
)

(copyfiles
 (help @copyfiles-help)
 (source (tackon trgt "Fonts/"))
 (dest "FONTS:")
 (all)
) 

(copylib
 (help @copylib-help)
 (source (tackon trgt "Libs/reqtools.library"))
 (dest "LIBS:")
) 

(copylib
 (help @copylib-help)
 (source (tackon trgt "Libs/powerpacker.library"))
 (dest "LIBS:")
) 

(delete (tackon trgt "Install"))
(delete (tackon trgt "Install.info"))
(delete (tackon trgt "Fonts" (all)))
(delete (tackon trgt "Libs" (all)))
   

(set @default-dest trgt)
 