@DefineProject
	@Name = "MANHOLE"
	@Version = "1.01"
	@OutDrive = C
	@SubDir = "\\MANHOLE\\"
	@immediate = 1
	@Requires @Harddisk
@EndProject

@Display
				the MANHOLE:

		    Install and Configuration Program


 This program will install and/or configure the MANHOLE 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 the MANHOLE onto your hard drive.
	Before the Manhole 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 the MANHOLE?











	Use the arrow keys or the numeric keypad to move the flashing
    cursor to the 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 MANHOLE
    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\\Manhole.exe")
    @GetGroups
    @LocalWindow(12,38)
    @SET N = "Just Configure the MANHOLE"
    @SET Y = "Install the MANHOLE Again"
    @Cls

   the MANHOLE appears to have been installed.  Do you want
   to re-install the MANHOLE?


    @EndGroups

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

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

    Well it looks like hard disk @OutDrive: doesn't have quite enough
    room.  You'll need to have at least 8,000,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 MANHOLE.EXE
	@FILE MANHOLE.DAT
	@Beginlib MANHOLE.001
		@File MANHOLE.PRJ
	@Endlib
@EndDisk
 
@Chain ("Disk 2") 

SETUP:


@Display
@cls
		   the MANHOLE: Configure Program


  This program will allow you to specify what sound cards
  you want the MANHOLE to use.  Normally the MANHOLE
  will attempt to detect devices automatically.  Configuring
  the MANHOLE allows you 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 music device:
    @LocalWindow(13,38)
    @Option 1 = "Roland MT-32 or LAPC-1"
    @Option 2 = "Ad-Lib, SoundBlaster, or Compatible"
    @Option 3 = "PS/1 Sound Card"
    @Option 4 = "Tandy Music System"
    @Option 5 = "PC Speaker"
    @Option 6 = "Auto-Detect"
    @Option 7 = "No Music At All"
   
   If you know what music device you have, select it by hitting [Enter].
 






@EndOption

@GetOption
    @LocalWindow(13,38)
    Please select your digital audio device:

    @Option 15 = "LifeSize Sound Enhancer"
    @Option 11 = "SoundBlaster or Thunder Board"
    @Option 12 = "Pro Audio Spectrum"
    @Option 13 = "PS/1 Sound Card"
    @Option 14 = "Tandy Advanced Digital Audio"
    @Option 16 = "Disney Sound Source"
    @Option 17 = "Covox Speech Master"
    @Option 18 = "Auto-Detect"
    @Option 19 = "No Digital Audio At All"

    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("MANHOLE.BAT","wt","MANHOLE ")
@if (1 [= @OPTION)
    @Write("MANHOLE.BAT","at","-r ")
@endif

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

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

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

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

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

@if (11 [= @OPTION)
    @Write("MANHOLE.BAT","at","-b ")
@endif

@if (12 [= @OPTION)
    @Write("MANHOLE.BAT","at","-m ")
@endif

@if (13 [= @OPTION)
    @Write("MANHOLE.BAT","at","-p ")
@endif

@if (14 [= @OPTION)
    @Write("MANHOLE.BAT","at","-t ")
@endif

@if (15 [= @OPTION)
    @Write("MANHOLE.BAT","at","-l ")
@endif

@if (16 [= @OPTION)
    @Write("MANHOLE.BAT","at","-d ")
@endif

@if (17 [= @OPTION)
    @Write("MANHOLE.BAT","at","-c ")
@endif

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



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


@Display
@CLS

		    the MANHOLE: Has been configured.

		  Type MANHOLE and hit [Enter] to play.

				Enjoy!


  @Pause
  @exit
@EndDisplay



 
