@DefineProject
	@Name           = "Imagine Pages"               
	@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 < 1500K )
   @Display
      @Cls
      DISK SPACE:

	 @Name requires 1.5 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"
@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 sample images of 
     @Name examples. These may be deleted once viewed.



	@Prompt = "Which images subdirectory ?"
@EndSubdir

@DefineDisk
	@Label = "Imagine Pages CD"
     @File CCKEY.EXE @Overwrite @Out @OutDrive:@Subdir\*.*
     @File PAGES.EXE @Overwrite @Out @OutDrive:@Process\*.*
     @File IPS_IMG.EXE @Overwrite @Out @OutDrive:@Images\*.*
@EndDisk

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

     Unpacking program:

     @Spawn( "PAGES" )
     @Delete( "PAGES.EXE" )
	@ChDir "@Images" 
     @Spawn( "IPS_IMG" )
     @Delete( "IPS_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 CCKEY and record the key
     number. Call 303-759-1024 or Fax the key number to 303-759-0928
     to receive your password. Nah, screw that idea. How about we
     just let you run CCKEY and enter some crap like 1234567890 as
     the password? Sound good? Thought so. Get on 'yer 'nees and
     praise Sir Haxalot.

	@Pause

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

