/*
 *      FILE:Install.dat
 *
 *      DESC:
 *           PowerHits Kids Installer  
 *              
 *              
 */

@DefineProject
	@Name           = "PowerHits Kids"   
	@Version        = "1.00"
	@Subdir         = "Kids"    
	@OutDrive       = C
@EndProject

@Display
	@Cls

	This program will install the @Name
	Version @Version on your computer system.
	You may press the [Esc] key at any time to abort the installation.
	INSTALL will ask you several questions about your computer
	hardware and then give you the option of installing all or some
	of the games of the @Name.

@Pause
@EndDisplay

 @GetOutDrive
	@Suppress A
	@Suppress B
	@Cls

	On which disk drive do you wish to install the 
	@Name pak?















@EndOutDrive

@GetSubdir
	@Cls
	@Name 
	will now be installed to @Subdir subdirectory, to change
	the name of the subdirectory type the new name in the space below.
	To accept the current name press [Enter]

		 @Prompt = "Which subdirectory ([Enter] = @Subdir)"
@EndSubdir

@GetGroups
	@Cls
	Now you need to select which games you wish to install.














   
	If you have a lot of hard drive space you'll probably want to install 
	everything, otherwise select the game you want to install.

	@Set A = "All FOUR"
	@Set B = "LEARN ABOUT ABC'S"
	@Set C = "FUN WITH COLORS"
	@Set D = "DUCKTALES"
	@Set E = "MICKEY'S CROSSWORD PUZZLES"
@EndGroups
 
	@If ( 'A' [= @Group)
	@GOTO TESTMEMALL
	@ELSEIF ( 'B' [= @Group)
	@GOTO TESTMEMABC
	@ELSEIF ( 'C' [= @Group)
	@GOTO TESTMEMCOLOR
	@ELSEIF ( 'D' [= @Group)
	@GOTO TESTMEMDUCK
	@ELSEIF ( 'E' [= @Group)
	@GOTO TESTMEMPUZZLE

START:
@DefineDisk
	@Label = "Disk 1"
		@File   KIDS.BAT
		@Group ABCDEF
		@File   reply.com
		@Group ABCDEF

	@BeginLib LETTERS.LIB
	@If ( 'A' [= @Group || 'B' [= @Group )    
	@File *.*  @Out \@Subdir\LETTERS\*.*
	@Endif                                   
	@EndLib

	@BeginLib BACKGRND.LIB
	@If ( 'A' [= @Group || 'B' [= @Group )    
	@File *.*  @Out \@Subdir\LETTERS\BACKGRND\*.*
	@Endif                                   
	@EndLib

	@BeginLib SOUND.LIB
	@If ( 'A' [= @Group || 'B' [= @Group )    
	@File *.*  @Out \@Subdir\LETTERS\SOUNDS\*.*
	@Endif                                   
	@EndLib

@EndDisk

@DefineDisk
	@Label = "Disk 2"
	
	@BeginLib MPM.LIB
	@If ( 'A' [= @Group || 'E' [= @Group )    
	@File *.*  @Out \LEGACY\MPM\*.*
	@Endif                                   
	@EndLib

	@BeginLib DUCKTALE.LIB
	@If ( 'A' [= @Group || 'D' [= @Group )    
	@File *.*  @Out \@Subdir\DUCKTALE\*.*
	@Endif                                   
	@EndLib

@EndDisk

@DefineDisk
	@LABEL = "DISK 3"

	@BeginLib COLORING.LIB
	@If ( 'A' [= @Group || 'C' [= @Group )  
	@FILE *.* @Out \@Subdir\COLORING\*.* 
	@ENDIF
	@EndLib

	@BeginLib OBJECTS.LIB
	@If ( 'A' [= @Group || 'B' [= @Group )
	@FILE *.* @Out \@Subdir\LETTERS\OBJECTS\*.*
	@ENDIF
	@EndLib

	@BeginLib MUSIC.LIB
	@If ( 'A' [= @Group || 'B' [= @Group )
	@FILE *.* @Out \@Subdir\LETTERS\MUSIC\*.*
	@ENDIF
	@EndLib


@EndDisk

@DefineDisk
	@Label = "Disk 4"
	@BeginLib SPEECH.LIB 
	@If ( 'A' [= @Group || 'B' [= @Group )
	@FILE *.* @Out \@Subdir\LETTERS\SPEECH\*.*
	@ENDIF
	@EndLib

	@BeginLib GAMES.LIB
	@If ( 'A' [= @Group || 'B' [= @Group )      
	@FILE *.* @Out \@Subdir\LETTERS\GAMES\*.* 
	@ENDIF
	@EndLib

	@BeginLib GRAPHICS.LIB    
	@If ( 'A' [= @Group || 'B' [= @Group )
	@FILE *.* @Out \@Subdir\LETTERS\GRAPHICS\*.*
	@ENDIF
	@EndLib
	
@ENDDISK

@Finish
	@Cls
	Type "KIDS" to run the @NAME titles.

	@Pause

	@ChDrive @OutDrive              /* change to the output drive */
	@ChDir "@Subdir"                /* change to the output subdirectory */
      

@EndFinish

TESTMEMALL:
@IF (@DiskFree @OutDrive <6,770,000)
    
    @Display

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

    Good luck.


    @Pause
    @Exit
    @ELSE @GOTO START
    @endif
    @ENDDISPLAY

TESTMEMABC:
@IF (@DiskFree @OutDrive < 3482000)
    
    @Display

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

    Good luck.


    @Pause
    @Exit
    @ELSE @GOTO START
    @endif
    @ENDDISPLAY

TESTMEMCOLOR:
@IF (@DiskFree @OutDrive < 1889000)
    
    @Display

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

    Good luck.


    @Pause
    @Exit
    @ELSE @GOTO START
    @endif
    @ENDDISPLAY

TESTMEMDUCK:
@IF (@DiskFree @OutDrive < 710000)
    
    @Display

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

    Good luck.


    @Pause
    @Exit
    @ELSE @GOTO START
    @endif
    @ENDDISPLAY

TESTMEMPUZZLE:
@IF (@DiskFree @OutDrive < 690000)
    
    @Display

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

    Good luck.


    @Pause
    @Exit
    @ELSE @GOTO START
    @endif
