clear

echo The install program will now copy Front Page Sports:
echo Football Pro '95 to your hard drive.  You will need
echo to have approximately 11.5 Megabytes of hard drive
echo space available to complete the install procedure.
echo
echo If this installation process fails for any reason, you
echo should consult the troubleshooting section of your
echo game manual as well as the READ.ME file for tips on
echo resolving the problem.
echo
echo The next few screens will provide you with additional
echo information that can help you with your enjoyment of
echo Front Page Sports: Football Pro '95.
echo
echo Do you wish to (C)ontinue or (E)xit?
pick ce Continue Exit

:Continue
clear
%1:
godir %4 CantCreate

exists %2:RESOURCE.000 Please insert the disk labeled "Disk 1" in drive %2:.
clear
echo The first thing we will do is copy the files from the
echo game Disk 1 to the drive and directory you specified.
echo
echo Copying files to %1:%4...
copy %2:*.*

clear
echo Uncompressing Files - We are currently uncompressing
echo the game files from Disk 1.  This process can take
echo anywhere from 1-20 minutes depending on the speed of
echo your computer.
echo
echo You will notice that the light on the floppy drive
echo will not be active.  This is normal.  The computer 
echo will prompt you when the uncompression procedure 
echo has finished.  If you are using a disk caching 
echo program, you may also notice that the hard drive
echo light will not access often.
echo
echo Unchunking %1:%4\resource.000...
unchunk RESOURCE.000 . > nul
if ERRORLEVEL 1 goto BadChunk
del RESOURCE.000

exists %2:RESOURCE.001 Please insert the disk labeled "Disk 2" in drive %2:.
clear
echo Now would be a good time to fill out your Sierra
echo Warranty Registration card.  You will find it 
echo attached to your simulation manual.  Please fill it 
echo out and send the bottom section back (we even pay the 
echo postage!).  Keep the top section for your records.
echo
echo Sending in the Sierra Registration card not only
echo lets us know that you have purchased Football Pro '95,
echo it will also enable you to receive a free subscription 
echo to our InterAction magazine which contains gameplay 
echo tips, strategies, previews and reviews of the most 
echo popular educational and entertainment titles released  
echo by Sierra Publishing.
echo
copy %2:RESOURCE.001 
clear
echo Sending in your Registration card also lets us know a
echo little more about you and your computer so we can do a
echo better job of making the kind of games you want!
echo
echo Have you read the "readme" file yet?  Well, if you
echo haven't, put it on your list of things to do.  The
echo "readme" file contains information that was not
echo available when the manual was sent to the printers.
echo You can view the "readme" file by loading it into your
echo word processor or text editor.  You may also view this
echo file in the install program itself.  The "readme" file 
echo is considered to be part of your Football Pro '95 
echo game documentation, and should not be missed!
echo
echo Unchunking %1:%4\resource.001...
unchunk RESOURCE.001 . > nul
if ERRORLEVEL 1 goto BadChunk
del RESOURCE.001

exists %2:RESOURCE.002 Please insert the disk labeled "Disk 3" in drive %2:.
clear
echo 
echo And don't forget to check out the manual!  The
echo Football Pro '95 manual contains detailed step-by-step
echo instructions describing how to utilize the various
echo features of the simulation.  It will also provide
echo answers to the most common configuration and technical
echo questions you might have.
echo
copy %2:RESOURCE.002
clear
echo
echo Front Page Sports: Football Pro '95 incorporates all
echo the new '95 rule changes.  Try for the 2 point 
echo conversion when the game is coming down to the wire,
echo or reconsider the risk of attempting that long 40 
echo yard field goal attempt when you know the opposing   
echo team will take control of the ball where your attempt
echo was missed!
echo
echo You will have at your disposal the complete team 
echo rosters for all NFL teams.  Review the statistics of
echo all the NFL 1993/1994 players.  Don't agree with the
echo player ratings?  Change them with the new Player
echo Ratings Editor included with the game!
echo
echo Unchunking %1:%4\resource.002...
unchunk RESOURCE.002 . > nul
if ERRORLEVEL 1 goto BadChunk
del RESOURCE.002

exists %2:RESOURCE.003 Please insert the disk labeled "Disk 4" in drive %2:.
clear
echo 
echo As an added bonus, FPS: Football Pro '95 also
echo includes over 3000 offensive and defensive
echo plays!  Have at your disposal even more offensive
echo and defensive plays to help you stomp your
echo opponent!
echo 
echo After this initial installation is finished, try
echo running the XTRAPLYS program from your FBPRO95
echo directory...  
echo 
copy %2:RESOURCE.003 
clear
echo 
echo Before attempting to install the extra bonus plays,
echo you must verify that you have enough available 
echo hard drive space.
echo
echo The XTRAPLYS program will show you how much hard
echo drive space is available on your system, and will 
echo indicate how much space is needed on your computer.    
echo Follow the on-screen instructions of this program
echo before attempting to use these additional plays!!!
echo
echo Unchunking %1:%4\resource.003...
unchunk RESOURCE.003 . > nul
if ERRORLEVEL 1 goto BadChunk

del RESOURCE.003

exists %2:RESOURCE.004 Please insert the disk labeled "Disk 5" in drive %2:.
clear
echo If you like Front Page Sports: Football Pro '95, then
echo check out Front Page Sports: Baseball!  The best PC
echo sports series just gets better.  Capture the pennant by
echo choosing a winning coaching strategy in the Manage-only
echo mode, or become part of the action by taking control of
echo the players on the field against the computer or one of
echo your friends.  Track your players' performance with
echo over 500 statistics accumulated for weekly, seasonal
echo and career categories.  With game play is based on a
echo real physics model, see why Front Page Sports: Baseball
echo is destined to become the classic Baseball simulation!
echo
copy %2:RESOURCE.004
copy %2:*.res
clear
echo This is the final disk.  We are confident that you
echo will enjoy the game and spend many enjoyable hours
echo exploring the variety of options available to you.
echo
echo    Have fun!  And, thank you for purchasing
echo     Front Page Sports:  Football Pro '95!
echo
echo Unchunking %1:%4\resource.004...
unchunk RESOURCE.004 . > nul
if ERRORLEVEL 1 goto BadChunk

del RESOURCE.004

md custom > nul
md tapes  > nul
md tapes\game > nul
md tapes\user > nul

clear
echo It appears that Football Pro '95 has been
echo successfully installed to your hard drive.  To play
echo Football Pro '95, use the MS-DOS(r) CD command to
echo change to the %1:%4 directory as in:
echo
echo CD %4 [ENTER]
echo
echo Then type HIKE and hit [ENTER] to run the game.
echo
echo Please write this down for future reference.
echo
echo Press the 'C' key to (C)ontinue...
pick c exit
end

:NoSpace
clear
echo
alert There is not enough space on %1: to install Front Page Sports: Football Pro '95 on your hard drive.  At least 11.5 megabytes of disk space are necessary for a successful installation.
end

:CantCreate
clear
echo
alert Unable to create directory %4
end

:Corrupted
alert Corrupted files exist.  Please run install again.
end

:BadChunk
if ERRORLEVEL 6 goto ERR6
if ERRORLEVEL 5 goto ERR5
if ERRORLEVEL 4 goto ERR4
if ERRORLEVEL 3 goto ERR3
if ERRORLEVEL 2 goto ERR2
if ERRORLEVEL 1 goto ERR1
alert Unable to extract resource file.  Please run install again.
end

:ERR1
alert Unable to read resource file.  Make sure the drive door is shut and run install again.
end
:ERR2
alert Unable to write resource file to hard drive.  This program only installs games on hard drives.  Run install again.  If you get this message again you may have a problem with your hard drive.
end
:ERR3
alert Not enough memory to run extraction program.  The extraction program needs a minimum of 550k to operate.
end
:ERR4
alert The resource file is bad.  Run install again.  If you get this message again, you probably received a bad disk.
end
:ERR5
alert Unable to open the resource file for reading.  A possible solution might be to increase the value of the FILES setting in your CONFIG.SYS file.
end
:ERR6
alert Unable to open the target file for writing.  A possible solution might be to increase the value of the FILES setting in your CONFIG.SYS file.
end

:exit

end
