clear
:Choose
echo
echo You may, if you wish, install the game to your hard
echo drive. This will require approximately 7.4 megabytes 
echo of free space on your hard disk, but the game will 
echo probably play faster and smoother.
echo 
echo If you do install to your hard drive, the audio data 
echo will remain on your Laura Bow II CD so you will 
echo still need to keep it in your CD drive when playing.
echo If you do not install to your hard drive, only a
echo configuration file will be saved to your hard disk. 
echo
echo Do you wish to install everything but the audio files
echo to your hard drive (y/n)?
pick yn installHD installReg

:installHD
space %1: 7500	NoSpaceBig
godir %1:%4 CantCreate
echo Installing to hard drive...
echo Copying Startup Files...
copy %2:*.drv
copy %2:Sierra.exe
copy %2:interp.*
copy %2:version
copy %2:install.*
copy %2:resource.map
copy %2:readme.
copy %2:readme.bat
copy %2:*.hep
copy %2:*.scr
godir %1:%4\audiosfx
copy %2:audiosfx\*.aud
godir %1:%4

echo %3 > resource.cfg
echo audio=%2:\ >> resource.cfg
echo patchDir=.\;audiosfx\. >> resource.cfg
echo @echo off > %1:ra.bat
echo sierra >> %1:ra.bat
echo Copying Game file...
copy %2:resource.000      
goto exit

:installReg
space %1: 1 NoSpaceBig
godir %1:%4 CantCreate
echo Installing to hard drive...
echo Copying Startup Files...
echo %3 > resource.cfg
echo patchDir=%2:\ >> resource.cfg
echo audio=%2:\ >> resource.cfg
echo @echo off > %1:ra.bat
echo %2: >> %1:ra.bat
echo sierra %1:%4\resource.cfg >> %1:ra.bat
echo %1: >> %1:ra.bat

goto exit

:exit
clear
echo
echo ˙To play NOW:
echo ˙   Type ra [ENTER].
echo
echo ˙To play LATER:
echo ˙   From %1:%4,
echo ˙   Type ra and press [ENTER].
echo
pause
goto Exit2

:NoSpaceBig
clear
echo
echo There is not enough space on %1: to install. 
echo 7.5 megabytes of disk space are necessary.
pause
goto Exit2

:CantCreate
alert Unable to create directory %1:%4
goto Exit2

:Exit2
end
