@DefineProject
	@Name 		= "Imagine Animated Factory" 		
	@Version	   = "1.0"
	@Subdir 	   = "\\3ds3"	
	@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 @Name?













@EndOutDrive

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

         @Name requires 2.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 @Vpost = "@Subdir\\VPOST"
     @Dir @Meshes = "@Subdir\\MESHES"
     @Dir @Images = "@Subdir\\IMAGES"
@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 @Meshes
	@Cls
     Now you need to specify the location for the example mesh (3DS) files
     for @Name.



	@Prompt = "Which meshes subdirectory ?"
@EndSubdir

@GetSubdir @Vpost
	@Cls
     Now you need to specify the location for the @Name
     example 3DS Video Post files to be placed. 



	@Prompt = "Which video post subdirectory ?"
@EndSubdir

@GetSubdir @Images
	@Cls
     Now you need to specify the location for the sample images of 
     @Name. These may be deleted once viewed.



	@Prompt = "Which images subdirectory ?"
@EndSubdir

@DefineDisk
	@Label = "Installation Disk"
     @File SGKEY.EXE @Overwrite @Out @OutDrive:@Subdir\*.*
     @File ANIMATEF.EXE @Overwrite @Out @OutDrive:@Process\*.*
     @File AFF_VPST.EXE @Overwrite @Out @OutDrive:@Vpost\*.*
     @File AFF_MESH.EXE @Overwrite @Out @OutDrive:@Meshes\*.*
     @File AFF_IMG.EXE @Overwrite @Out @OutDrive:@Images\*.*
@EndDisk

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

     Unpacking program:

     @Spawn( "ANIMATEF" )
     @Delete( "ANIMATEF.EXE" )
	@ChDir "@Vpost" 
     @Spawn( "AFF_VPST" )
     @Delete( "AFF_VPST.EXE" )
	@ChDir "@Meshes" 
     @Spawn( "AFF_MESH" )
     @Delete( "AFF_MESH.EXE" )
	@ChDir "@Images" 
     @Spawn( "AFF_IMG" )
     @Delete( "AFF_IMG.EXE" )

	@Cls
     @Name has been successfully installed


     @Name has been installed in a convertable demo format.

     To convert to a fully working copy run SGKEY and record the key
     number. Call 303-759-1024 or Fax the key number to 303-759-0928
     to receive your password.

	@Pause

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

