;
;	Installation Script of RACER 96
;	All rights reserved to D'HEEGER Sébastien © 1996-97
;

(complete 0)
(message "Make sure that you have got approx. 3.2 Mb of FREE space on your harddrive.\n\nIf you wish to run RACER ,you will need to have 4 Mb of FAST ram.\nTry to avoid running too many strange programs or utilities in the background.\n")


(set destdir
(askdir
   (prompt "Please select the Directory where you would like to install"
           " RACER : ")
   (help @askdir-help)
   (default @default-dest)
   )
)
   (set @default-dest destdir)

(working "Installing Library")

(complete 10)
(copyfiles   (source "Libs/medplayer.library") 
	     (dest "LIBS:")
             (infos)
	     (prompt "Copying medlibrary to libs:")
	     (help "No help")
)

(working "Installing RACER on HD")

(complete 40)
(set rextract (" lha -r x Racer1.lha %s/ " destdir))
	(debug "Extract " rextract)
	(run (rextract))

(complete 70)
(set rextract (" lha -r x Racer2.lha %s/ " destdir))
	(debug "Extract " rextract)
	(run (rextract))

(complete 90)
(working "Creating Assign on Startup")
(	run "echo Assign DHR: >>S:User-Startup " destdir )

(complete 100)
(message "\n\nRacer has now been installed on your harddrive. I hope you will enjoy this game as much as I do.\nHave Fun!")
(exit)
