@DefineProject
	@Name           = "MetaReyes Examples"
	@Version        = "2.0"
	@Subdir         = "\\3ds4"
	@OutDrive       = C
@EndProject

@Display
	@Cls
		     @Name Version @Version

	This program will install @Name on your computer
	system and verify the integrity of the distribution disk(s).
	You may press the [Esc] key at any time to abort the installation.

	Each question has a default answer.  If the default answer is
	correct, press the ENTER key in response to the question.
	Otherwise, type the answer and then press the ENTER key.

	If you make a mistake while typing, press the BACKSPACE key
	and then retype the answer.

   @Pause
@EndDisplay

@GetOutDrive
   @If( @Removable(A) )
      @Suppress A
   @Endif
   @If( @Removable(B) )
      @Suppress B
   @Endif
	@Cls

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













@EndOutDrive

@If( @DiskFree @OutDrive < 5000K )
   @Display
      @Cls
      DISK SPACE:

	 @Name requires 5.0 megabytes of available disk space.

	 You need to free some disk space on the selected drive to be
	 able to install the @Name



      @Pause
      @Abort
   @EndDisplay
@EndIf

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



	@Prompt = "Which subdirectory ?"
@EndSubdir

@DefineVars
     @Dir @Images = "@Subdir\\IMAGES"
     @Dir @Flics = "@Subdir\\FLICS"
     @Dir @Meshes = "@Subdir\\MESHES"
     @Dir @Maps = "@Subdir\\MAPS"
@EndVars

@GetSubdir @Images
	@Cls
     Now you need to specify the location for the example images to be
     placed.



	@Prompt = "Which images subdirectory ?"
@EndSubdir

@GetSubdir @Flics
	@Cls
     Now you need to specify the location for the @Name
     flics files to be placed.



	@Prompt = "Which flics subdirectory ?"
@EndSubdir

@GetSubdir @Meshes
	@Cls
     Now you need to specify the location for the @Name
     3DS mesh files to be placed.



	@Prompt = "Which meshes subdirectory ?"
@EndSubdir

@GetSubdir @Maps
	@Cls
     Now you need to specify the location for the @Name
     3DS material map files to be placed.



	@Prompt = "Which maps subdirectory ?"
@EndSubdir

@DefineDisk
	@Label = "Examples Disk"
     @File MR_IMAGE.EXE @Overwrite @Out @OutDrive:@Images\*.*
     @File MR_MAPS.EXE @Overwrite @Out @OutDrive:@Maps\*.*
     @File MR_FLICS.EXE @Overwrite @Out @OutDrive:@Flics\*.*
     @File MR_MESH.EXE @Overwrite @Out @OutDrive:@Meshes\*.*
@EndDisk


@Finish
	@ChDrive @OutDrive
	@ChDir "@Images"
     @Cls

     Unpacking examples:

     @Spawn( "MR_IMAGE" )
     @Delete( "MR_IMAGE.EXE" )
	@ChDir "@Meshes"
     @Spawn( "MR_MESH" )
     @Delete( "MR_MESH.EXE" )
	@ChDir "@Maps"
     @Spawn( "MR_MAPS" )
     @Delete( "MR_MAPS.EXE" )
	@ChDir "@Flics"
     @Spawn( "MR_FLICS" )
     @Delete( "MR_FLICS.EXE" )

	@Cls
     The @Name have been successfully installed


     Follow the installation instruction to include 
     MetaReyes in your 3DS.SET file. Add MetaReyes 
     to your menu selections to be more efficient.

	@Pause

	@ChDrive @OutDrive
	@ChDir "@Subdir"
@EndFinish

