(complete 1)

(set instdir (askdir 
(default @default-dest)
  (prompt "What directory would you like to install Nostromo Cheats "
  "Version 5.00 into ?,The choice is yours! ")
  (help "The installer needs to know where to put the files. You can "
"put V5.00 anywhere, "
        "I have mine in the GAMES directory,but anywhere will do. "
"If you don`t have a directory set up,then select the "
"Make new drawer option.This will create a new directory "
"for you to put the cheats into.")))


(complete 8)



(if (NOT (= 2 (exists instdir (noreq)))) (makedir instdir (infos)) )

(if (exists (tackon instdir "V5") (noreq))
   
 (if (askbool ((prompt "Hmm, it looks like there's a copy (or partial "
"copy) "
            "of V5.00 already here. Do you want to reinstall "
            "over the file(s) here, or abort the install? ")
           (help "V5.00 might already be installed; I found a file "
"called V5 "
                 "in the directory already. Should I stop the "
"installation? " )
           (choices "Abort" "Overwrite")))
   (abort "Installation Aborted.")))

(complete 15)


(complete 25)
(working "Copying V5.00 Program")
(complete 30)

(copyfiles (source "cheats5:v5") (dest instdir))
(complete 60)

(working "Copying V5.00 Support Files")

(copyfiles (source "cheats5:V5.info") (dest instdir))
(copyfiles (source "cheats5:alert") (dest instdir))
(copyfiles (source "cheats5:laugh") (dest instdir))
(copyfiles (source "cheats5:monkey") (dest instdir))
(copyfiles (source "cheats5:vocal") (dest instdir))

(complete 70)
(copyfiles (all) (source "cheats5:chts") (dest (tackon instdir "chts")))
(complete 80)
(copyfiles (all) (source "cheats5:solves") (dest (tackon instdir "solves")))
(complete 85)
(set instdir
(askdir
(default instdir)
(prompt "Select your FONTS directory ")
(help "The FONTS need a home so that V5 will work,it is advisable "
"for you to put the fonts in your FONTS directory,otherwise "
"the cheats program won`t know where to find them and then "
"the cheats program looks BORING!! If you are unsure about "
"where to put stuff have a look at the Install-Readme "
"file,this explains things in depth.               "
"            Nostromo."
)))
(working "Copying More Stuff")
(copyfiles  (all) (source "cheats5:fonts") (dest instdir))

(set instdir
(askdir
(default instdir)
(prompt "Now somewhere for the LIBS ")
(help " These librarys are needed for V5 to "
"run properly  *see install help for more info*  "
"The best place to put the librarys is in your LIBS "
"directory.If you put them somewhere else then the "
"cheats program will EXPLODE!! HA HA only joking "
"...Or am I ??                               "
"          Nozzie.")))
(working "Here go the Librarys")
(copyfiles (all) (source "cheats5:libs") (dest instdir))


(complete 100)
