:askIt
testdir %1:\sierra\kq5
echo.
echo Would you like to install (S)mall, (C)omplete, or (H)elp:
pick sch small large help

:help
clear
echo
echo
echo You may install one of two ways:
echo
echo SMALL install will only install the STARTUP DISK to your 
echo hard drive. You must play from floppies. 
echo Approximate hard drive space required:	720K
echo
echo COMPLETE install will install all files to your hard drive.
echo The entire game will be played from a hard drive.
echo Approximate hard drive space required:	9.7 Meg
echo
goto askIt

:small
rem	Create the drivers subdirectory and copy the drivers.
godir %1:\sierra\kq5	CantCreate

rem	Copy over the necessary files.
copy %2:ibmkbd.drv
copy %2:joystick.drv
copy %2:vga320.drv
copy %2:mt32.drv
copy %2:tandy.drv
copy %2:tandykbd.drv
copy %2:tandy3v.drv
copy %2:font.000
copy %2:vocab.913
copy %2:vocab.996
copy %2:vocab.999
copy %2:vocab.994
copy %2:vocab.998
copy %2:vocab.995
copy %2:vocab.997
copy %2:install.hlp
copy %2:std.drv
copy %2:sndblast.drv
copy %2:ibmps1.drv
copy %2:adl.drv
copy %2:cms.drv
copy %2:kq5.bat
copy %2:kq52.bat ..\kq5.bat
copy %2:kq53.bat \kq5.bat
copy %2:version
copy %2:sierra.exe
copy %2:resource.000 
copy %2:resource.map 
copy %2:resource.cfg
copy %2:install.exe
copy %2:install.hlp

goto exit

:large
rem	Check to see that there is enough space for the installation.
space %1: 9700	NoSpace

rem	Create the drivers subdirectory and copy the drivers.
godir %1:\sierra\kq5	CantCreate

rem	Copy over the necessary files.
copy %2:ibmkbd.drv
copy %2:joystick.drv
copy %2:vga320.drv
copy %2:mt32.drv
copy %2:tandy.drv
copy %2:tandykbd.drv
copy %2:tandy3v.drv
copy %2:std.drv
copy %2:sndblast.drv
copy %2:font.000
copy %2:vocab.913
copy %2:vocab.996
copy %2:vocab.999
copy %2:vocab.994
copy %2:vocab.998
copy %2:vocab.995
copy %2:vocab.997
copy %2:install.hlp
copy %2:ibmps1.drv
copy %2:adl.drv
copy %2:cms.drv
copy %2:kq54.bat kq5.bat
copy %2:kq55.bat ..\kq5.bat
copy %2:kq56.bat \kq5.bat
copy %2:version
copy %2:sierra.exe
copy %2:resource.000 
copy %2:resource.map 
copy %2:resource.cfg
copy %2:install.exe

rem	Prompt for each disk of the game in succession and copy
rem	everything over from it.

echo Copying game files...

exists %2:resource.001 Please insert the disk labeled "Disk 1" in drive %2.
copy %2:resource.001

exists %2:resource.002 Please insert the disk labeled "Disk 2" in drive %2.
copy %2:resource.002

exists %2:resource.003 Please insert the disk labeled "Disk 3" in drive %2.
copy %2:resource.003

exists %2:resource.004 Please insert the disk labeled "Disk 4" in drive %2.
copy %2:resource.004

exists %2:resource.005 Please insert the disk labeled "Disk 5" in drive %2.
copy %2:resource.005

exists %2:resource.006 Please insert the disk labeled "Disk 6" in drive %2.
copy %2:resource.006

exists %2:resource.007 Please insert the disk labeled "Disk 7" in drive %2.
copy %2:resource.007

exists %2:resource.008 Please insert the disk labeled "Disk 8" in drive %2.
copy %2:resource.008

goto exit

:NoSpace
echo
echo "There is not enough space on %1 to install King's Quest V!"
echo "9.7 megabytes of disk space are necessary."
:warnspace
echo
echo Would you like to install (S)mall, (H)elp or (E)xit:
pick she small help2 Exit2

:help2
clear
echo
echo SMALL install will only install the STARTUP DISK 
echo to your hard drive. You must play from floppies. 
echo We recommend SMALL install because you do not 
echo have enough space on your hard drive.
goto warnspace

:CantCreate
echo "Unable to create directory %1\sierra\kq5"
pause
end

:exit
echo
echo	To play NOW:
echo  Type KQ5 [ENTER].
echo
echo  To play LATER:
echo  From your root directory, type KQ5 and press [ENTER].
echo
pause

:Exit2
end

