@DefineProject
	@Name       = "WWII"
	@Version    = "1.0"
	@Subdir     = "\\WWII"
	@Outdrive   = C
	@Requires   @HardDisk
	@InDiskBell=@TRUE
	@Terse
@EndProject

@If (@RAMAvail < 528K)
	@Display
	The install file expander needs at least 540,000 bytes of
	available DOS memory to run. You will need to free up some memory.


	You can create a minimum boot floppy disk by formatting a
	blank disk with the FORMAT A:/S or FORMAT B:/S DOS commands.
	You can copy the CONFIG.SYS and AUTOEXEC.BAT files from WWII disk2
	or copy and edit your normal files.
	Rebooting your machine with this in the disk drive should give
	you enough free memory.
	@Pause
	@Abort
	@EndDisplay
@EndIf

@Display
	@Cls
	DOMARK                                                     SIMIS

					   -WWII-
				  D-DAY and MIDWAY 
					 +
				  FST TOOLS UPDATE


			   Hard Disk Installation Program



	You may press the [Esc] key at any time to abort the installation.
	Use Up and Down Arrow keys to select options and Enter to accept.


	@Pause
@EndDisplay

@GetGroups
	@Cls
	FST/WWII                                               INSTALLATION

	There are two installation options:

	GAME installation - This installs both scenarios for non FST users.
	FST TOOLS installation - This provides updates for FST users.

	The GAME installation requires about 10Mb of disk space.

	Please select an option:






	If you select GAME installation you can subsequently install the
	FST Tools by re-running this program.
	
	
	@LocalWindow(14, 37)
	@Set A = "GAME      - Install both D-DAY and MIDWAY scenarios."
	@Set B = "FST TOOLS - Install FST Tools updates for FST users."
@EndGroups

@If ('A' [= @Group)
@GetOutDrive
	@Cls
	WWII D-DAY/MIDWAY                                      INSTALLATION









		Which drive would you like to install @Name onto?
@EndOutDrive

@If (@Removable)
	@Display
		You can't install @Name onto a floppy
		drive!
		@Abort
	@EndDisplay
@EndIf

@GetSubdir
	Which directory would you like to install @Name into?
	@Prompt = "(Default [Enter] is @Subdir)"
@EndSubdir

@If (@DiskFree @OutDrive < 13312000)
	@Display
	@Name requires 13.0 Mbytes of disk space for installation.
	Please free up space or install to another drive.
	@Abort
	@EndDisplay
@EndIf
@EndIf

@If ('B' [= @Group)

@GetOutDrive
	@Cls
	FST TOOLS                                              INSTALLATION
		  Please highlight the drive that contains your
		  current                             FST TOOLS







				   *** WARNING:***  

	The new WORLD.EXE editing Tool IS NOT completely compatible with 
	older FST scenarios, due primarily to the additional features such 
	as Teams and Bombers that "FST: WWII" adds.  If you have a scenario 
	that you've developed with the -OLD- FST WORLD.EXE editing Tool, 
	DO NOT try to edit it with the -NEW- WORLD.EXE.  This will result in 
	many of the old scenario's variables becoming scrambled, and will not
	run with EITHER version of FST. 

@EndOutDrive

@If (@Removable)
	@Display
		You can't install @Name onto a floppy
		drive!
		@Abort
	@EndDisplay
@EndIf

@GetSubdir
	Please enter the name of your exisiting FST Tools Directory
	@Prompt = "(Default [Enter] is @Subdir)"
@EndSubdir

@If (@DiskFree @OutDrive < 300000)
	@Display
	@Name requires 300K of disk space for installation.
	Please free up space or install to another drive.
	@Abort
	@EndDisplay
@EndIf

@Endif

@If ('A' [= @Group)
@DefineDisk
	@Label = "Disk 1"
	@File WWII.EXE
	@File MIDWAY.EXE
	@File LODETAIL.EXE
	@File COMMON.EXE
@EndDisk
@Endif

@If ('A' [= @Group)
@DefineDisk
	@Label = "Disk 2"
	@File D-DAY.EXE
@EndDisk
@Endif

@If ('B' [= @Group)
@DefineDisk
	@Label = "Disk 1"
@EndDisk
@Endif

@If ('B' [= @Group)
@DefineDisk
	@Label = "Disk 2"
	@File TOOLS.EXE
	@File README.TXT
@EndDisk
@Endif
@Finish
	@If ('A' [= @Group)
		@ChDrive @OutDrive
		@ChDir "@Subdir"
		@Cls
	WWII D-DAY/MIDWAY                                      INSTALLATION


		Decompressing @Name... Please Wait

		@Spawn("WWII -s")
		@Spawn("MIDWAY midway -s")
		@Spawn("COMMON midway -s")
		@Spawn("LODETAIL d-day -s")
		@Spawn("COMMON d-day -s")               
		@Spawn("D-DAY d-day -s")
		
		@Delete ("MIDWAY.EXE")
		@Delete ("D-DAY.EXE")
		@Delete ("COMMON.EXE")
		@Delete ("LODETAIL.EXE")
		@Delete ("WWII.EXE")

	@EndIf

	@If ('B' [= @Group)
		@ChDrive @OutDrive
		@ChDir "@Subdir"
		@Cls
	FST TOOLS                                              INSTALLATION

		Decompressing FST TOOLS. Please Wait....

		@Spawn ("TOOLS -s")
		@Delete ("TOOLS.EXE")
	@Endif

	@Cls
	Installation of @Name is finished.

	Please read the README.TXT file now!

	@Pause          
@EndFinish
