@DefineProject
	@Name 		= "Museum Madness"
	@Version	= "1.0"
	@Subdir 	= "\\MECC\\MUSEUM\\"
	@Requires @HardDisk
	@OutDrive 	= c
@EndProject

@DefineVars
	@Qstring @ICLAS = ""
@EndVars


@Display
	@Cls
            	      @Name Installation Program
            	      ====================================

        This program will install @Name on your computer.

        You may press the ESC key at any time to stop the installation.

        You will be asked several questions about where you want to
        install @Name on your computer.

        Each question has a suggested answer.  If our suggestions are
        okay with you (and in most cases they should be), just press
        the ENTER key when you see each question.

	@Pause
@EndDisplay

@If (@Exists("CONFIG.CLS"))

	@GetString @ICLAS
		@Prompt = " Are you installing to an ICLAS Network (Y/N)? "
	@EndString


	@If ("@StrHead(@ICLAS,1)" == "Y")
		@Subdir 	= "\\COURSES\\MUSEUM\\"
	@EndIF

@EndIf


@GetOutDrive
	@Suppress A
	@Suppress B
	@Cls
	Use the arrow keys to highlight the drive to install
	@Name on and press ENTER.
@EndOutDrive


@Display
	@If (@DiskFree @OutDrive < 10000000)
	The selected output disk only has
	@DiskFree @OutDrive bytes. This product
	requires 10,000,000 bytes.
	@Pause
	@Abort
	@EndIf
@EndDisplay

@GetSubdir
	@Cls
		Now you need to specify the subdirectory. The
		subdirectory is the location on your disk where
		@Name will be installed.

		If you don't know what a "subdirectory" is, you probably
		don't need to change it, and should press ENTER.

		If you want to change it, type the appropriate subdirectory
		and then press the ENTER key. If you make a mistake while typing,
		press the BACKSPACE key and then retype the answer.



	@Prompt = "The default subdirectory is @Subdir. Press ENTER if this is okay."
@EndSubdir


@DefineDisk
	@Label = "DISK 1"
	@File	  PRODUCT.PF
	@BeginLib MUSEUM.RED
		@File SETUP.EXE @Size 33521
		@File MUSEUM.COM @Size 686
		@File MUSEUM.NDX @Size 32416
		@File MUSEUMG.OVL @Size 187066
		@File MUSEUMW.OVL @Size 342078
		@File MUSEUMA.OVL @Size 368544
		@File MUSEUMN.OVL @Size 338144
		@File MUSEUMS.OVL @Size 348486
		@File MUSEUMT.OVL @Size 308292
	@EndLib
	@BeginLib museum.001
		@File museum.res  @Out museum.res
	@EndLib
@EndDisk

@DefineDisk
	@Label = "DISK 2"
	@BeginLib museum.002
		@File museum.res  @Out museum.res
	@EndLib
@EndDisk

@DefineDisk
	@Label = "DISK 3"
	@BeginLib museum.003
		@File museum.res  @Out museum.res
	@EndLib
@EndDisk

@DefineDisk
	@Label = "DISK 4"
	@BeginLib museum.004
		@File museum.res  @Out museum.res
	@EndLib
@EndDisk

@DefineDisk
        @Label = "DISK 5"
        @BeginLib museum.005
		@File museum.res  @Out museum.res
	@EndLib
@EndDisk

@DefineDisk
        @Label = "DISK 6"
        @BeginLib museum.006
		@File museum.res  @Out museum.res
	@EndLib
@EndDisk


@Finish
    @ChDrive @OutDrive		/* change to the output drive */

	@ChDir ("\\")

	@If (@OutDrive == C)

		@Write("@OutDrive:\\museum.bat", "wt", "@@echo off\n")
		@Write("@OutDrive:\\museum.bat", "at", "@OutDrive:\n")
		@Write("@OutDrive:\\museum.bat", "at", "cd @SubDir\n")
		@Write("@OutDrive:\\museum.bat", "at", "museum\n")
		@Write("@OutDrive:\\museum.bat", "at", "cd \\ \n")

	@EndIf

    @ChDir "@Subdir"		/* change to the output subdirectory */
    @Cls
    @Name Audio Setup
 

	If you have a sound and/or music card you will want to set up
	@Name to sound its best.  The next part of the installation
	will allow you to select and configure audio for your system.

	You may want to change your sound and/or music card setup
	at a later time. At the @OutDrive:@Subdir prompt type 
	SETUP and press ENTER.

    @Pause	

    @System("setup.exe")

	@Cls
	@Name installation is complete. 
    
	If you wish to start @Name right away, at the DOS prompt
	type MUSEUM and press the ENTER key. 
    
	@Name places a batch file in your C: directory to simplify
	starting the program at a later time. At the C: prompt 
	type MUSEUM and press ENTER.

	If you changed the default subdirectory, or you remove this batch 
	file from your C: directory, you may have to use DOS commands to 
	change your drive and/or subdirectory.
    
	At the @OutDrive: prompt you would type CD @Subdir and
	press ENTER. To start @Name, type MUSEUM and press ENTER.

	There may be a README file in the @OutDrive:@Subdir subdirectory.
	This text file will contain any last minute information that did
	not make it into the manual. To view this file type TYPE README 
	and press ENTER.


    @Pause	
@EndFinish
