@DefineProject
	@Name = "RODNEYS"
	@Version = "1.00"
	@OutDrive = C
	@SubDir = "\\RODNEYS\\"
	@immediate = 1
	@Requires @Harddisk
@EndProject

@Display
			  RODNEY'S FUNSCREEN:

		    Install and Configuration Program


  This program will install and/or configure Rodney's Funscreen
  onto your hard drive.

  During this process you will be asked some questions.
  You can use your cursor keys to select the items.
  If an item is flashing, and you press [Enter], that item will be
  selected.


  @Pause
@EndDisplay

@Display

  Now it's time to install Rodney's Funscreen onto your hard drive.
  Before Rodney's is installed, we will look to make sure there is 
  enough room on you hard drive, and will let you know if you need 
  more space.
 


  @Pause
@EndDisplay



@GetOutDrive
	@Suppress A
	@Suppress B
	@LocalWindow(12,38)

    To which hard drive would you like to install Rodney's Funscreen?











	Use the arrow keys or the numeric keypad to move the flashing
    selected drive, then press [Enter].  If only one choice is shown,
    then just press [Enter].
@EndOutDrive



@GetSubDir
    In which directory on drive @OutDrive would you like the Rodney's
    Funscreen files to be installed?

    To install the files in the directory @Subdir, just press [Enter].

    To install the files in a different directory, type the directory's
    full path name, then press [Enter].
    @Prompt = "    Which directory? "
@EndSubDir



@If (@Exists "@OutDrive:\\@SubDir\\Rodneys.exe")
    @GetGroups
    @LocalWindow(12,38)
    @SET N = "Just Configure Rodney's Funscreen"
    @SET Y = "Install Rodney's Funscreen Again"
    @Cls

   Rodney's Funscreen appears to have been installed.  Do you want
   to re-install Rodney's Funscreen?


    @EndGroups

    @If ('N' [= @Group)
	 @Goto SETUP
    @EndIf

    @if (@DiskFree @OutDrive < 2200000)
    @Display

    Well it looks like hard disk @OutDrive: doesn't have quite enough
    room.  You'll need to have at least 2,200,000 bytes free.
    Your disk only has @DiskFree @OutDrive bytes free.

    Good luck.


    @Pause
    @Exit
    @endif

@Endif


@Display

    Now we have to copy the files to your hard drive.

    You'll be prompted to insert the disks that the install program will
    need.  After inserting the requested disk, press [Enter].

    During this process, if you need to stop the installation, you
    have to press [CTRL-BREAK]. Doing this will require you to run the
    install program again.

    Here we go!

    @Pause

@EndDisplay
 

@ChDrive @OutDrive
@ChDir "@SubDir"

@DefineDisk
	@Label = "Disk 1"
	@File INSTALL.DAT
	@File SETUPDOS.EXE 
	@FILE RODNEYS.EXE
	@FILE RODNEYS.DAT
	@Beginlib RODNEYS.001
		@File RODNEYS.PRJ
	@Endlib
@EndDisk
 
@Chain ("Disk 2") 

SETUP:


@Display

		 Rodney's Funscreen: Configure Program


  This program will allow you to specify what sound cards
  you want Rodney's Funscreen to use.  Normally Rodney's Funscreen
  will attempt to detect devices automatically.  Configuring
  allows Rodney's Funscreen to support devices which cannot be
  automatically detected and/or allows you to override an automatic
  selection of a device.  For example, the LifeSize Sound Enhancer
  sometimes provides better quality speech than a sound card.


  @Pause
@EndDisplay


@GetOption     Please select your digital audio device:
    @LocalWindow(13,38)
    @Option 1 = "LifeSize Sound Enhancer"
    @Option 2 = "SoundBlaster, Thunder Board or Pro Audio Spectrum"
    @Option 3 = "PS/1 Sound Card"
    @Option 4 = "Tandy Advanced Digital Audio"
    @Option 5 = "Disney Sound Source"
    @Option 6 = "Covox Speech Master"
    @Option 7 = "MVPro Plus / 16 Digital Audio"
    @Option 8 = "Auto-Detect"

    If you know what audio device you have, select it by hitting
    [Enter].  In some cases the LifeSize Sound Enhancer will provide
    higher quality speech than a sound card.
@ENDOPTION

@Write("Rodney.BAT","wt","RODNEYS ")

@if (1 [= @OPTION)
    @Write("Rodney.BAT","at","-L ")
@endif

@if (2 [= @OPTION)
    @Write("Rodney.BAT","at","-B ")
@endif

@if (3 [= @OPTION)
    @Write("Rodney.BAT","at","-P ")
@endif

@if (4 [= @OPTION)
    @Write("Rodney.BAT","at","-T ")
@endif

@if (5 [= @OPTION)
    @Write("Rodney.BAT","at","-D ")
@endif

@if (6 [= @OPTION)
    @Write("Rodney.BAT","at","-C ")
@endif

@if (7 [= @OPTION)
    @Write("Rodney.BAT","at","-M ")
@endif

@if (8 [= @OPTION)
    @Write("Rodney.BAT","at"," ")
@endif


@Write("Rodney.BAT","at","\n")


@Display
@CLS

		Rodney's Funscreen: Has been configured.

		  Type RODNEY and hit [Enter] to play.

				Enjoy!


  @Pause
  @exit
@EndDisplay

