echo The game is ready to install
echo
echo Would you like to (I)nstall  or (E)xit?
pick ie large Exit2


:large
clear
space %1: 6200	NoSpace
godir %1:\sierra\mg	CantCreate
rem	Copy over the necessary files.
echo Copying Startup Files ...
copy %2:*.drv
copy %2:scid*.exe
copy %2:interp.err
copy %2:version
copy %2:resource.map 
copy %2:install.exe
copy %2:install.hlp
copy %2:install.txt
copy %2:mgh.bat %1:\sierra\mg.bat
copy %2:sierra.bat 
copy %2:readme
copy %2:*.hep
copy %2:*.scr
copy %2:*.tex
copy %2:*.snd
rem  **** THIS NEXT LINE HAS TO BE CHANGED FOR SHIPPING VERSION TO scidhuv
echo scidhuv  -w 0 0 159 262 %1:resource.cfg> mg.bat
echo %3 > resource.cfg

if exist resource.000 del resource.000
echo Copying Game files...
exists %2:resource.p01 Please insert the disk labeled "Disk 1" in drive %2:.
copy resource.000 + %2:resource.p01
exists %2:resource.p02 Please insert the disk labeled "Disk 2" in drive %2:.
copy resource.000 + %2:resource.p02
exists %2:resource.p03 Please insert the disk labeled "Disk 3" in drive %2:.
copy resource.000 + %2:resource.p03
if exist resource.aud del resource.aud
copy resource.aud + %2:resource.a01
exists %2:resource.a02 Please insert the disk labeled "Disk 4" in drive %2:.
copy resource.aud + %2:resource.a02
exists %2:resource.a03 Please insert the disk labeled "Disk 5" in drive %2:.
copy resource.aud + %2:resource.a03
copy %2:0.map
copy %2:*.p56



:exit
clear
echo
echo ˙To play NOW:
echo ˙   Type mg [ENTER].
echo
echo ˙To play LATER:
echo ˙   From the SIERRA directory of %1:,
echo ˙   Type mg and press [ENTER].
echo
pause
goto Exit2


:NoSpace
clear
echo
echo There is not enough space on %1: to install Mother Goose!
rem determine which message to bring up.
echo
echo 6.2 megabytes of disk space are necessary to
echo install Mother Goose.  You need to free up more 
echo space on your hard drive.
echo
pause
end


:Exit2
end


:CantCreate
alert Unable to create directory %1:\sierra\mg
end



