@DefineProject
	@Name 	   = "Sculptor"	
	@Version	   = "1.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.

	There are three disks in this install, versus one referred to
	in the printed documentation.  Please follow the on-line
	instructions which follow.  The extra disks contain examples
     and images.

   @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 @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 @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 @Name
	will be installed. 



	@Prompt = "Which subdirectory ?"
@EndSubdir

@DefineVars
     @Dir @Process = "@Subdir\\PROCESS"
     @Dir @Images = "@Subdir\\IMAGES"
     @Dir @Meshes = "@Subdir\\MESHES"
     @Dir @Maps = "@Subdir\\MAPS"
@EndVars

@GetSubdir @Process
	@Cls
     Now you need to specify the location for the IPAS routines to be 
     placed.



	@Prompt = "Which IPAS process subdirectory ?"
@EndSubdir

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



	@Prompt = "Which images subdirectory ?"
@EndSubdir

@GetSubdir @Meshes
	@Cls
     Now you need to specify the location for the @Name
     example 3DS and TXT model files to be placed. 



	@Prompt = "Which meshes subdirectory ?"
@EndSubdir

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



	@Prompt = "Which maps subdirectory ?"
@EndSubdir

@DefineDisk
	@Label = "Installation Disk"
     @File SC_PROC.EXE @Overwrite @Out @OutDrive:@Process\*.*
     @File SC_MAPS.EXE @Overwrite @Out @OutDrive:@Maps\*.*
     @File SC_IMG1.EXE @Overwrite @Out @OutDrive:@Images\*.*
@EndDisk

@DefineDisk
	@Label = "Examples Disk"
     @File SC_MESH.EXE @Overwrite @Out @OutDrive:@Meshes\*.*
@EndDisk

@DefineDisk
	@Label = "Images Disk"
     @File SC_IMG2.EXE @Overwrite @Out @OutDrive:@Images\*.*
@EndDisk

@Finish 
	@ChDrive @OutDrive 
	@ChDir "@Process" 
     @Cls

     Unpacking files:

     @Spawn( "SC_PROC" )
     @Delete( "SC_PROC.EXE" )
	@ChDir "@Meshes" 
     @Spawn( "SC_MESH" )
     @Delete( "SC_MESH.EXE" )
	@ChDir "@Maps" 
     @Spawn( "SC_MAPS" )
     @Delete( "SC_MAPS.EXE" )
	@ChDir "@Images" 
     @Spawn( "SC_IMG1" )
     @Delete( "SC_IMG1.EXE" )
     @Spawn( "SC_IMG2" )
     @Delete( "SC_IMG2.EXE" )

	@Cls
     @Name has been successfully installed


     Follow the installation instruction to include Sculptor
     in your 3DS.SET file. Add Sculptor to your menu selections to be
     able to run Sculptor from any module.

     Several images have been placed in the selected images directory.
     The image files may be deleted after viewing.

	@Pause

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





