/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Install script for RIO 6.0
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/

@DefineProject
	@Name 		= "RIO"
	@Version		= "6.00"
	@SubDir 		= "RIO"
	@OutDrive 	= C
	@Requires @HardDisk
	@Immediate	= 1
@EndProject

@DefineVars
	@QString	@SerNumber = ""
@EndVars

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Check for a 386 or greater CPU.
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (@CPU < 386)
	@Display
		@CLS

        @Name @Version will only run on 80386 or above systems.

		@Pause
		@Abort
	@EndDisplay
@Endif

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Check for 4MB or greater memory
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (@ExtTotal < 4000000)
	@Display
		@CLS

        @Name @Version requires 4MB or more of memory.

		@Pause
		@Abort
	@EndDisplay
@Endif

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Welcome screen
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@Display
	@CLS

                      Graphics Software Labs @Name @Version

        This program will install @Name Version @Version on your computer
        system and verify the integrity of the distribution disks.
        During installation, you will be given the option of installing
        only selected parts of @Name (such as fonts).

        During the installation process, you will be asked several
        questions so that the program can be properly configured.
        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.

        You may press ESC at any time to abort the installation.

        Thank you for using @Name from Graphics Software Labs.


@PAUSE
@EndDisplay

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Warrant card information
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@Display
	@CLS

            Your @Name software is provided with a Warranty Form
            that should be filled out and returned to GSL.  Register
            to help us improve @Name and provide additional features
            and functions to fit your needs.  Registering your @Name
            image design and presentation software allows you to receive
            the benefits of Graphics Software Labs customer support
            program.  These benefits include:

               - Five free fonts and clip art
               - Free technical support
               - Product information updates
               - Graphic Scan Lines, GSL's newsletter

            To register your product, complete the information on
            the Warranty Card enclosed with your @Name software,
            and mail it to Graphics Software Labs, Suite 1490,
            8888 Keystone Crossing, Indianapolis, IN 46240.


@PAUSE
@EndDisplay

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Get target installation drive
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@GetOutDrive
	@CLS
                On which disk drive do you wish to install @Name?

        - Use the Up Arrow and Down Arrow keys to move through the list.
        - Press ENTER to confirm your selection.
	@LocalWindow( 15, 40 )
	@Suppress A
	@Suppress B
@EndOutDrive

@Display
	@If (@DiskSize( @OutDrive ) < 4000000)
		@CLS


               The selected output disk drive does not
               have enough free space to install @Name.

		@Pause
		@Abort
	@EndIf
@EndDisplay

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Get target installation directory
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@GetSubdir
	@CLS

               @Name Installation Directory Selection

     Now you need to specify the disk destination 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 need not worry about it, and should press ENTER in response
     to the next prompt.

     If you are using a subdirectory system, and the DOS PATH command,
     and you install @Name in the @SubDir subdirectory, you will 
     probably want to modify the PATH so that it includes the 
     subdirectory @SubDir in addition to the current subdirectories.

	@PROMPT = " Which subdirectory ([Enter] = @SubDir) ? "
@EndSubdir

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Get parts to install.
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@GetGroups
	@CLS
           Please select the parts of @Name that you want to install.

        - Use the Up Arrow and Down Arrow keys to move through the list.
        - Press the SPACE BAR to toggle YES/NO.
        - Press ENTER to confirm your selection(s).

	@LocalWindow( 15, 40 )
	@CheckBox
	@Set R = "The @Name Program"
	@Set P = "@Name Output Device Drivers"
	@Set S = "@Name Scanner Drivers"
	@Set F = "@Name Fonts"
	@Set Y = "@Name Styles"
	@Set A = "All Of The Above"
@EndGroups

@If ('A' [= @Group)
	@SetGroup( R )
	@SetGroup( P )
	@SetGroup( S )
	@SetGroup( F )
	@SetGroup( Y )
@EndIf

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Get the display board type if we're installing the RIO program
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (('R' [! @Group) && ('A' [! @Group))
	@GoTo DoneDisplay
@EndIf

@GetOption
	@CLS
                      @Name Graphics Display Board Selection

        - Use the Up Arrow and Down Arrow keys to move through the list.
        - Press ENTER to confirm your selection.

	@LocalWindow( 15, 40 )
	@Option 9000 = "Targa 16, 24, or 32"
	@Option 9001 = "Targa+"
	@Option 9002 = "ATVista"
	@Option 9003 = "Matrox Illuminator Pro"
	@Option 9004 = "16-Color VGA"
	@Option 9005 = "256-Color VGA"
	@Option 9006 = "Diamond Stealth VGA"
	@Option 9007 = "Orchid Farenheit 1280 VGA"
	@Option 9008 = "Orchid Pro-Designer II VGA"
	@Option 9009 = "Renoir VGA"
	@Option 9010 = "Renoir NT VGA"
	@Option 9011 = "Renoir 24-Bit VGA"
	@Option 9012 = "Speedstar High-Color VGA"
	@Option 9013 = "Ultimate VGA"
	@Option 9014 = "Generic Tseng 16-Bit High-Color VGA"
	@Option 9015 = "Generic Tseng 24-Bit High-Color VGA"
	@Option 9016 = "Generic S3 High-Color VGA"
@EndOption

DoneDisplay:

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Get the pointing device type if we're installing the main program
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (('R' [! @Group) && ('A' [! @Group))
	@GoTo DonePointer
@EndIf

@GetGroups
	@CLS
                         @Name Pointing Device Selection

        - Use the Up Arrow and Down Arrow keys to move through the list.
        - Press ENTER to confirm your selection.

	@LocalWindow( 15, 40 )
	@Set M = "Mouse"
	@Set T = "Tablet"
	@Set G = "Mouse and Tablet"

@EndGroups

DonePointer:

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Get printer selections
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (('P' [! @Group) && ('A' [! @Group))
	@GoTo DonePrinters
@EndIf

@GetOption
	@CLS
                         @Name Output Device Selection

        - Use the Up Arrow and Down Arrow keys to move through the list.
        - Press the SPACE BAR to toggle YES/NO.
        - Press ENTER to confirm your selection(s).

	@LocalWindow( 15, 40 )
	@CheckBox
	@Option 101 = "Agfa Forte (GPIB)"
	@Option 102 = "Agfa Forte (SCSI)"
	@Option 103 = "Agfa PCR"
	@Option 104 = "Agfa PCR-II (GPIB)"
	@Option 105 = "Agfa PCR-II (SCSI)"
	@Option 106 = "Agfa ProColor"
	@Option 107 = "Agfa ProPremier (GPIB)"
	@Option 108 = "Agfa ProPremier (SCSI)"
	@Option 109 = "Agfa QCR-D"
	@Option 110 = "Agfa QCR-Z"
	@Option 301 = "Calcomp CMP6603"
	@Option 302 = "Calcomp CMP6613"
	@Option 303 = "Calcomp Colormaster"
	@Option 304 = "Calcomp CV5912"
	@Option 305 = "Calcomp CV5913"
	@Option 306 = "Calcomp Plotmaster"
	@Option 502 = "Canon FP-510"
	@Option 600 = "Hewlett Packard DeskJet 500C"
	@Option 501 = "Hewlett Packard PaintJet"
	@Option 602 = "Hewlett Packard PaintJet XL300"
	@Option 700 = "Hitachi VY-PE5000"
	@Option 503 = "Howtek Pixelmaster"
	@Option 900 = "Kodak SV6500"
	@Option 901 = "Kodak XL7700"
	@Option 902 = "Kodak XLT7720"
	@Option 1001 = "Lasergraphics LFR"
	@Option 1002 = "Lasergraphics LFRPlus"
	@Option 1003 = "Lasergraphics PFR"
	@Option 111 = "MGI Solitaire 8K (GPIB)"
	@Option 1303 = "Mitsubishi G370"
	@Option 1301 = "Mitsubishi G500"
	@Option 1302 = "Mitsubishi G650"
	@Option 1401 = "Mitsubishi S340"
	@Option 1403 = "Mitsubishi S3600"
	@Option 1500 = "Nikon CP-3000D"
	@Option 1700 = "PostScript"
	@Option 1004 = "PT Montage FR1"
	@Option 2201 = "Shinko 335"
	@Option 2202 = "Shinko 345"
	@Option 2203 = "Shinko 445"
	@Option 2204 = "Shinko 635"
	@Option 2205 = "Shinko 645"
	@Option 2206 = "Shinko 645B"
	@Option 2300 = "Sony UP-D7000"
	@Option 2601 = "Tektronix 4693D (4MB)"
	@Option 2602 = "Tektronix 4693D (8MB)"
	@Option 2603 = "Tektronix 4693D (12MB)"
	@Option 2604 = "Tektronix 4696"
	@Option 2605 = "Tektronix Colorquick"
	@Option 504 = "Xerox 4020"
@EndOption

/*
**	See if any devices requiring MITSDYE.DRX have been selected
*/
@If ((1401 [= @Option) || (1403 [= @Option))
	@SetOption( 1400 )
@EndIf

/*
**	See if any devices requiring KODK7700.DRX have been selected
*/
@If ((901 [= @Option) || (902 [= @Option))
	@SetOption( 903 )
@EndIf

/*
**	See if any devices requiring AGFAFILM.DRX have been selected
*/
@If ((101 [= @Option) || (102 [= @Option) || (103 [= @Option))
	@SetOption( 100 )
@EndIf
@If ((104 [= @Option) || (105 [= @Option) || (106 [= @Option))
	@SetOption( 100 )
@EndIf
@If ((107 [= @Option) || (108 [= @Option) || (109 [= @Option))
	@SetOption( 100 )
@EndIf
@If ((110 [= @Option) || (111 [= @Option))
	@SetOption( 100 )
@EndIf

/*
**	See if any devices requiring CALCOMP.DRX have been selected
*/
@If ((301 [= @Option) || (302 [= @Option) || (303 [= @Option))
	@SetOption( 300 )
@EndIf
@If ((304 [= @Option) || (305 [= @Option) || (306 [= @Option))
	@SetOption( 300 )
@EndIf

/*
**	See if any devices requiring INKJET.DRX have been selected
*/
@If ((501 [= @Option) || (502 [= @Option))
	@SetOption( 500 )
@EndIf
@If ((503 [= @Option) || (504 [= @Option) || (600 [= @Option))
	@SetOption( 500 )
@EndIf

/*
**	See if any devices requiring LSRGRAPH.DRX have been selected
*/
@If ((1001 [= @Option) || (1002 [= @Option))
	@SetOption( 1000 )
@EndIf
@If ((1003 [= @Option) || (1004 [= @Option))
	@SetOption( 1000 )
@EndIf

/*
**	See if any devices requiring MITSUBI.DRX have been selected
*/
@If ((1301 [= @Option) || (1302 [= @Option) || (1303 [= @Option))
	@SetOption( 1300 )
@EndIf

/*
**	See if any devices requiring SHINKO.DRX have been selected
*/
@If ((2201 [= @Option) || (2202 [= @Option) || (2203 [= @Option))
	@SetOption( 2200 )
@EndIf
@If ((2204 [= @Option) || (2205 [= @Option) || (2206 [= @Option))
	@SetOption( 2200 )
@EndIf

/*
**	See if any devices requiring TEKPRN.DRX have been selected
*/
@If ((2601 [= @Option) || (2602 [= @Option) || (2603 [= @Option))
	@SetOption( 2600 )
@EndIf
@If ((2604 [= @Option) || (2605 [= @Option))
	@SetOption( 2600 )
@EndIf

DonePrinters:

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Get scanner selections
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (('S' [! @Group) && ('A' [! @Group))
	@GoTo DoneScanners
@EndIf

@GetOption
	@CLS
                         @Name Scanner Device Selection

        - Use the Up Arrow and Down Arrow keys to move through the list.
        - Press the SPACE BAR to toggle YES/NO.
        - Press ENTER to confirm your selection(s).

	@LocalWindow( 15, 40 )
	@CheckBox
	@Option 5000 = "Hewlett Packard ScanJet IIc"
	@Option 5100 = "Howtek Personal Scanner"
	@Option 5201 = "Howtek Scanmaster"
	@Option 5202 = "Howtek Scanmaster/Transparency"
	@Option 5203 = "Howtek Scanmaster II"
	@Option 5204 = "Howtek Scanmaster 35"
	@Option 5205 = "Howtek Scanmaster 35+"
	@Option 5206 = "Howtek Scanmaster 35II"
	@Option 5207 = "Howtek Scanmaster 3"
	@Option 5208 = "Howtek Scanmaster 3+"
	@Option 5209 = "Mitsubishi SC-7500"
	@Option 5231 = "Nikon LS-3500"
	@Option 5232 = "Nikon LS-3510"
	@Option 5210 = "Sharp JX-300"
	@Option 5211 = "Sharp JX-320"
	@Option 5212 = "Sharp JX-320/Transparency"
	@Option 5213 = "Sharp JX-450"
	@Option 5214 = "Sharp JX-450/Transparency"
	@Option 5215 = "Sharp JX-600"
	@Option 5216 = "Sharp JX-610"
@EndOption

/*
**	See if any devices requiring NIKONDRV.DRX have been selected
*/
@If ((5231 [= @Option) || (5232 [= @Option))
	@SetOption( 5230 )
@EndIf

/*
**	See if any devices requiring SCANDRV.DRX have been selected
*/
@If ((5201 [= @Option) || (5202 [= @Option) || (5203 [= @Option))
	@SetOption( 5200 )
@EndIf
@If ((5204 [= @Option) || (5205 [= @Option) || (5206 [= @Option))
	@SetOption( 5200 )
@EndIf
@If ((5207 [= @Option) || (5208 [= @Option) || (5209 [= @Option))
	@SetOption( 5200 )
@EndIf
@If ((5210 [= @Option) || (5211 [= @Option) || (5212 [= @Option))
	@SetOption( 5200 )
@EndIf
@If ((5213 [= @Option) || (5214 [= @Option) || (5215 [= @Option))
	@SetOption( 5200 )
@EndIf
@If (5216 [= @Option)
	@SetOption( 5200 )
@EndIf

DoneScanners:


/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Get font selections
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (('F' [! @Group) && ('A' [! @Group))
	@GoTo DoneFonts
@EndIf

@GetOption
	@CLS
            Please select the @Name fonts that you wish to install.
          (Note: Each set adds 3 to 5 minutes to installation time.)

        - Use the Up Arrow and Down Arrow keys to move through the list.
        - Press the SPACE BAR to toggle YES/NO.
        - Press ENTER to confirm your selection(s).

	@LocalWindow( 15, 40 )
	@CheckBox
	@Option 1 = "Set 1: Abbess - Clarendon"
	@Option 2 = "Set 2: Cleveland - FutanaItal"
	@Option 3 = "Set 3: Gallant - MercyItal"
	@Option 4 = "Set 4: Mesmer - Reinhard"
	@Option 5 = "Set 5: Renaldo - WordaBold"
	@Option 6 = "All of the above"
@EndOption

@If (6 [= @Option)
	@SetOption( 1 )
	@SetOption( 2 )
	@SetOption( 3 )
	@SetOption( 4 )
	@SetOption( 5 )
@EndIf

DoneFonts:


/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	If installing the main program, ask for the serial number
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (('R' [! @Group) && ('A' [! @Group))
	@GoTo DoneSerial
@EndIf
@If ((9000 [= @Option) || (9001 [= @Option))
	@GoTo DoneSerial
@EndIf
@If ((9002 [= @Option) || (9003 [= @Option))
	@GoTo DoneSerial
@EndIf

@GetString @SerNumber
	@CLS

       Please enter your @Name serial number.  The serial number
       can be found printed on the outside of your @Name box.

	@Prompt = "Serial number? "

@EndString

DoneSerial:

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Confirm selections
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@Display
	@CLS

        You have selected the following for installation ...

	@If (('R' [= @Group) || ('A' [= @Group))
		@If ((9000 [= @Option) || (9001 [= @Option)
								|| (9002 [= @Option) || (9003 [= @Option))
			@Move( 4, 10, "The @Name Program" )
		@Else
			@Move( 4, 10, "The @Name Program (Serial Number @SerNumber)" )
		@Endif
		@Move( 5, 10, "Display:" )
		@If (9000 [= @Option)
			@Move( 5, 19, "Targa 16, 24, or 32" )
		@ElseIf (9001 [= @Option)
			@Move( 5, 19, "Targa+" )
		@ElseIf (9002 [= @Option)
			@Move( 5, 19, "ATVista" )
		@ElseIf (9003 [= @Option)
			@Move( 5, 19, "Matrox Illuminator Pro" )
		@ElseIf (9004 [= @Option)
			@Move( 5, 19, "16-Color VGA" )
		@ElseIf (9005 [= @Option)
			@Move( 5, 19, "256-Color VGA" )
		@ElseIf (9006 [= @Option)
			@Move( 5, 19, "Diamond Stealth VGA" )
		@ElseIf (9007 [= @Option)
			@Move( 5, 19, "Orchid Farenheit 1280 VGA" )
		@ElseIf (9008 [= @Option)
			@Move( 5, 19, "Orchid Pro-Designer II VGA" )
		@ElseIf (9009 [= @Option)
			@Move( 5, 19, "Renoir VGA" )
		@ElseIf (9010 [= @Option)
			@Move( 5, 19, "Renoir NT VGA" )
		@ElseIf (9011 [= @Option)
			@Move( 5, 19, "Renoir 24-Bit VGA" )
		@ElseIf (9012 [= @Option)
			@Move( 5, 19, "Speedstar High-Color VGA" )
		@ElseIf (9013 [= @Option)
			@Move( 5, 19, "Ultimate VGA" )
		@ElseIf (9014 [= @Option)
			@Move( 5, 19, "Generic Tseng 16-Bit High-Color VGA" )
		@ElseIf (9015 [= @Option)
			@Move( 5, 19, "Generic Tseng 24-Bit High-Color VGA" )
		@Else
			@Move( 5, 19, "Generic S3 High-Color VGA" )
		@EndIf
		@If ('M' [= @Group)
			@Move( 6, 10, "Pointing Device: Mouse" )
		@ElseIf ('T' [= @Group)
			@Move( 6, 10, "Pointing Device: Tablet" )
		@Else
			@Move( 6, 10, "Pointing Device: Mouse and Tablet" )
		@Endif
	@EndIf
	@If ('P' [= @Group)
		@Move( 7, 10, "Output Device Drivers" )
	@Endif
	@If ('S' [= @Group)
		@Move( 8, 10, "Scanner Drivers" )
	@Endif
	@If ('F' [= @Group)
		@Move( 9, 10, "@Name Fonts" )
	@Endif
	@If ('Y' [= @Group)
		@Move( 10, 10, "@Name Styles" )
	@Endif


	@Move ( 15, 10, "... to @OutDrive:\\@SubDir" )





	@Pause
@EndDisplay

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	If installing the main program, make RIO.BAT, RIOPARAM.INF, and RIOMENU.INF
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (('R' [! @Group) && ('A' [! @Group))
	@GoTo DoneBatFiles
@EndIf

@MkDir( "@OutDrive:\\@SubDir\\DRIVERS" )
@MkDir( "@OutDrive:\\@SubDir\\SCENES" )
@MkDir( "@OutDrive:\\@SubDir\\STYLES" )
@MkDir( "@OutDrive:\\@SubDir\\COLORS" )
@MkDir( "@OutDrive:\\@SubDir\\FONTS" )
@MkDir( "@OutDrive:\\@SubDir\\PICS" )

@Write( "@OutDrive:\\@SubDir\\RIO.BAT", "wt", "@@ECHO OFF\n" )
@Write( , , "EXIT\n" )
@Write( , , "ECHO RIO 6.0 by GSL\n\n" )
@Write( , , "@OutDrive:\n" )
@Write( , , "CHDIR \\@SubDir\n" )
@Write( , , "RIOROOT RIOMAIN.EXE\n" )

@Write( "@OutDrive:\\@SubDir\\RIOMENU.INF", "wt", "\n" )
@If ((9000 [= @Option) || (9001 [= @Option)
								|| (9002 [= @Option) || (9003 [= @Option))
	@Write( , ,  "MENUWEIGHT 0\n" )
@Else
	@Write( , ,  "MENUWEIGHT 1\n" )
@EndIf

@Write( "@OutDrive:\\@SubDir\\RIOPARAM.INF", "wt", "\n" )
@Write( , ,  "SCENEDIR @OutDrive:\\@SubDir\\SCENES\n" )
@Write( , ,  "STYLEDIR @OutDrive:\\@SubDir\\STYLES\n" )
@Write( , ,  "OBJECTDIR @OutDrive:\\@SubDir\\SCENES\n" )
@Write( , ,  "COLORDIR @OutDrive:\\@SubDir\\COLORS\n" )
@Write( , ,  "FONTDIR @OutDrive:\\@SubDir\\FONTS\n" )
@Write( , ,  "IMAGEDIR @OutDrive:\\@SubDir\\PICS\n" )
@Write( , ,  "IMAGEOUTDIR @OutDrive:\\@SubDir\\PICS\n" )
@Write( , ,  "DRIVERPATH @OutDrive:\\@SubDir\\DRIVERS\n" )
@Write( , ,  "EXTERNAL UTILITY Black&White... BNWS.EXT\n" )
@Write( , ,  "EXTERNAL UTILITY Contrast... CONTRAST.EXT\n" )
@Write( , ,  "EXTERNAL UTILITY Emboss... EMBOSS.EXT\n" )
@Write( , ,  "EXTERNAL UTILITY Flip&Rotate... FLIP.EXT\n" )
@Write( , ,  "EXTERNAL UTILITY Negative... NEGS.EXT\n" )
@Write( , ,  "EXTERNAL UTILITY Overlay... OVLS.EXT\n" )
@Write( , ,  "EXTERNAL UTILITY Pixelize... PIXELIZE.EXT\n" )
@Write( , ,  "EXTERNAL UTILITY Posterize... POSTERIZ.EXT\n" )
@Write( , ,  "EXTERNAL UTILITY Soften... SOFTEN.EXT\n" )
@Write( , ,  "EXTERNAL BUILD SPACE SPACE\n" )
@Write( , ,  "EXTERNAL BUILD Barchart1... BARCHART.EXT\n" )
@Write( , ,  "EXTERNAL BUILD Barchart2... BARCHRT2.EXT\n" )
@Write( , ,  "EXTERNAL BUILD Piechart... PIECHART.EXT\n" )
@Write( , ,  "EXTERNAL BUILD 3D-Piechart... PIE3D.EXT\n" )
@If (('M' [= @Group) && ('G' [= @Group))
	@Write( , ,  "POINTER MOUSE\n" )
@EndIf
@If (('T' [= @Group) && ('G' [= @Group))
	@Write( , ,  "POINTER TABLET\n" )
@EndIf
@If (9000 [= @Option)
	@Write( , , "DISPLAY TARGA\n" )
	@Write( , ,  "ONESCREEN 0\n" )
@EndIf
@If (9001 [= @Option)
	@Write( , , "DISPLAY TARGAPLS\n" )
	@Write( , ,  "ONESCREEN 0\n" )
@EndIf
@If (9002 [= @Option)
	@Write( , , "DISPLAY VISTA\n" )
	@Write( , ,  "ONESCREEN 0\n" )
@EndIf
@If (9003 [= @Option)
	@Write( , , "DISPLAY ILLUM\n" )
	@Write( , ,  "ONESCREEN 0\n" )
@EndIf
@If (9004 [= @Option)
	@Write( , , "DISPLAY VGA\n" )
	@Write( , ,  "ONESCREEN 1\n" )
@EndIf
@If (9005 [= @Option)
	@Write( , , "DISPLAY VESA256\n" )
	@Write( , ,  "ONESCREEN 1\n" )
@EndIf
@If ((9008 [= @Option) || (9009 [= @Option) ||
				(9013 [= @Option) || (9014 [= @Option))
	@Write( , , "DISPLAY TSENG\n" )
	@Write( , ,  "ONESCREEN 1\n" )
	@SetOption( 9802 )
@EndIf
@If ((9011 [= @Option) || (9015 [= @Option))
	@Write( , , "DISPLAY TSENG24\n" )
	@Write( , ,  "ONESCREEN 1\n" )
	@SetOption( 9803 )
@EndIf
@If (9012 [= @Option)
	@Write( , , "DISPLAY SPEEDSTR\n" )
	@Write( , ,  "ONESCREEN 1\n" )
@EndIf
@If ((9006 [= @Option) || (9007 [= @Option) ||
				(9010 [= @Option) || (9016 [= @Option))
	@Write( , , "DISPLAY S3\n" )
	@Write( , ,  "ONESCREEN 1\n" )
	@SetOption( 9801 )
@EndIf

DoneBatFiles:


/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Install disks
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@DefineDisk
	@LABEL = "RIO Disk 1"
	@BeginLib RIOMAIN.RED
		@File RIOROOT.EXE @Size 3714 @Group RA
		@File RIOMAIN.EXE @Size 1414806 @Group RA
		@File RIO.PIF @Size 545 @Group RA
		@File BARCHART.EXT @Size 7000 @Group RA @Out DRIVERS\*.*
		@File BARCHRT2.EXT @Size 7612 @Group RA @Out DRIVERS\*.*
		@File BNWS.EXT @Size 17643 @Group RA @Out DRIVERS\*.*
		@File CONTRAST.EXT @Size 15127 @Group RA @Out DRIVERS\*.*
		@File EMBOSS.EXT @Size 32685 @Group RA @Out DRIVERS\*.*
		@File NEGS.EXT @Size 17963 @Group RA @Out DRIVERS\*.*
		@File OVLS.EXT @Size 10523 @Group RA @Out DRIVERS\*.*
		@File PIE3D.EXT @Size 9504 @Group RA @Out DRIVERS\*.*
		@File PIECHART.EXT @Size 6832 @Group RA @Out DRIVERS\*.*
		@File PIXELIZE.EXT @Size 14075 @Group RA @Out DRIVERS\*.*
		@File POSTERIZ.EXT @Size 14335 @Group RA @Out DRIVERS\*.*
		@File SOFTEN.EXT @Size 15137 @Group RA @Out DRIVERS\*.*
		@File FLIP.EXT @Size 13291 @Group RA @Out DRIVERS\*.*
		@File TGA2PCX.EXE @Size 40316 @Group RA
		@File PRNSETUP.PS @Size 535 @Group RA
		@File CB.EXE @Size 11539 @Group RA
		@File WINDOWS.DOC @Size 5737 @Group RA
		@File BITPAD.COM @Size 1654 @Group AGT
		@File SUMMA.COM @Size 1782 @Group AGT
		@File SUMMA486.COM @Size 1782 @Group AGT
		@File WGSL.COM @Size 8220 @Group AGT
		@File WGSL.DOC @Size 1805 @Group AGT
	@EndLib
	@BeginLib RIODEV.RED
		@File AGFAFILM.DRX @Size 40335 @Option 100 @Out DRIVERS\*.*
		@File FORTE.STP @Size 213 @Option 101 @Out DRIVERS\*.*
		@File FORTES.STP @Size 213 @Option 102 @Out DRIVERS\*.*
		@File PCR.STP @Size 204 @Option 103 @Out DRIVERS\*.*
		@File PCR2.STP @Size 214 @Option 104 @Out DRIVERS\*.*
		@File PCR2S.STP @Size 214 @Option 105 @Out DRIVERS\*.*
		@File PROCOLOR.STP @Size 209 @Option 106 @Out DRIVERS\*.*
		@File PREMIER.STP @Size 218 @Option 107 @Out DRIVERS\*.*
		@File PREMIERS.STP @Size 218 @Option 108 @Out DRIVERS\*.*
		@File QCRD.STP @Size 206 @Option 109 @Out DRIVERS\*.*
		@File QCRZ.STP @Size 206 @Option 110 @Out DRIVERS\*.*
		@File MGSOL.STP @Size 219 @Option 111 @Out DRIVERS\*.*
		@File CALCOMP.DRX @Size 32201 @Option 300 @Out DRIVERS\*.*
		@File CMP6603.STP @Size 244 @Option 301 @Out DRIVERS\*.*
		@File CMP6613.STP @Size 244 @Option 302 @Out DRIVERS\*.*
		@File CLRMSTR.STP @Size 248 @Option 303 @Out DRIVERS\*.*
		@File CV5912.STP @Size 243 @Option 304 @Out DRIVERS\*.*
		@File CV5913.STP @Size 243 @Option 305 @Out DRIVERS\*.*
		@File PLOTMSTR.STP @Size 247 @Option 306 @Out DRIVERS\*.*
		@File INKJET.DRX @Size 38616 @Option 500 @Out DRIVERS\*.*
		@File PAINTJET.STP @Size 239 @Option 501 @Out DRIVERS\*.*
		@File CANON510.STP @Size 240 @Option 502 @Out DRIVERS\*.*
		@File PIXMAST.STP @Size 246 @Option 503 @Out DRIVERS\*.*
		@File XERX4020.STP @Size 238 @Option 504 @Out DRIVERS\*.*
		@File HP500C.STP @Size 200 @Option 600 @Out DRIVERS\*.*
		@File HPXL300.DRX @Size 37196 @Option 602 @Out DRIVERS\*.*
		@File HPXL300.STP @Size 171 @Option 602 @Out DRIVERS\*.*
		@File HPXL300.LUT @Size 119960 @Option 602 @Out DRIVERS\*.*
		@File HITACHI.DRX @Size 24624 @Option 700 @Out DRIVERS\*.*
		@File HITACHI.STP @Size 242 @Option 700 @Out DRIVERS\*.*
		@File KODAKSV.DRX @Size 9972 @Option 900 @Out DRIVERS\*.*
		@File KODAKSV.STP @Size 155 @Option 900 @Out DRIVERS\*.*
		@File KODK7700.DRX @Size 28596 @Option 903 @Out DRIVERS\*.*
		@File KODK7700.STP @Size 240 @Option 901 @Out DRIVERS\*.*
		@File KODK7720.STP @Size 240 @Option 902 @Out DRIVERS\*.*
		@File LSRGRAPH.DRX @Size 12720 @Option 1000 @Out DRIVERS\*.*
		@File LFR.STP @Size 109 @Option 1001 @Out DRIVERS\*.*
		@File LFRPLUS.STP @Size 113 @Option 1002 @Out DRIVERS\*.*
		@File PFR.STP @Size 109 @Option 1003 @Out DRIVERS\*.*
		@File MONTAGE.STP @Size 106 @Option 1004 @Out DRIVERS\*.*
		@File MITSUBI.DRX @Size 31237 @Option 1300 @Out DRIVERS\*.*
		@File MITG500.STP @Size 244 @Option 1301 @Out DRIVERS\*.*
		@File MITG650.STP @Size 244 @Option 1302 @Out DRIVERS\*.*
		@File MITG370.STP @Size 240 @Option 1303 @Out DRIVERS\*.*
		@File MITSDYE.DRX @Size 24396 @Option 1400 @Out DRIVERS\*.*
		@File MITSDYE.STP @Size 240 @Option 1401 @Out DRIVERS\*.*
		@File MITS3600.STP @Size 240 @Option 1403 @Out DRIVERS\*.*
		@File NIKONPRN.DRX @Size 24696 @Option 1500 @Out DRIVERS\*.*
		@File NIKONPRN.STP @Size 240 @Option 1500 @Out DRIVERS\*.*
		@File PSCRIPT.DRX @Size 6800 @Option 1700 @Out DRIVERS\*.*
		@File PSCRIPT.STP @Size 137 @Option 1700 @Out DRIVERS\*.*
		@File SHINKO.DRX @Size 32217 @Option 2200 @Out DRIVERS\*.*
		@File SH335.STP @Size 238 @Option 2201 @Out DRIVERS\*.*
		@File SH345.STP @Size 238 @Option 2202 @Out DRIVERS\*.*
		@File SH445.STP @Size 238 @Option 2203 @Out DRIVERS\*.*
		@File SH635.STP @Size 238 @Option 2204 @Out DRIVERS\*.*
		@File SH645.STP @Size 238 @Option 2205 @Out DRIVERS\*.*
		@File SH645B.STP @Size 239 @Option 2206 @Out DRIVERS\*.*
		@File UPD7000.DRX @Size 15412 @Option 2300 @Out DRIVERS\*.*
		@File UPD7000.STP @Size 300 @Option 2300 @Out DRIVERS\*.*
		@File TEKPRN.DRX @Size 37060 @Option 2600 @Out DRIVERS\*.*
		@File T4693D4.STP @Size 249 @Option 2601 @Out DRIVERS\*.*
		@File T4693D8.STP @Size 249 @Option 2602 @Out DRIVERS\*.*
		@File T4693D12.STP @Size 348 @Option 2603 @Out DRIVERS\*.*
		@File TEK4696.STP @Size 242 @Option 2604 @Out DRIVERS\*.*
		@File CLRQCK.STP @Size 248 @Option 2605 @Out DRIVERS\*.*
		@File SCANJET.DRX @Size 15100 @Option 5000 @Out DRIVERS\*.*
		@File SCANJ2C.SCP @Size 119 @Option 5000 @Out DRIVERS\*.*
		@File HPSDRV.DRX @Size 39580 @Option 5100 @Out DRIVERS\*.*
		@File HTPCS.SCP @Size 192 @Option 5100 @Out DRIVERS\*.*
		@File SCANDRV.DRX @Size 55514 @Option 5200 @Out DRIVERS\*.*
		@File HTSCMSTR.SCP @Size 194 @Option 5201 @Out DRIVERS\*.*
		@File HTSCANTX.SCP @Size 194 @Option 5202 @Out DRIVERS\*.*
		@File HTSCANII.SCP @Size 197 @Option 5203 @Out DRIVERS\*.*
		@File HTSC35.SCP @Size 121 @Option 5204 @Out DRIVERS\*.*
		@File HTSC35P.SCP @Size 121 @Option 5205 @Out DRIVERS\*.*
		@File HTSC35II.SCP @Size 47 @Option 5206 @Out DRIVERS\*.*
		@File HTSCAN3.SCP @Size 196 @Option 5207 @Out DRIVERS\*.*
		@File HTSCAN3P.SCP @Size 201 @Option 5208 @Out DRIVERS\*.*
		@File MSC7500.SCP @Size 195 @Option 5209 @Out DRIVERS\*.*
		@File SHJX300.SCP @Size 189 @Option 5210 @Out DRIVERS\*.*
		@File SHJX320.SCP @Size 189 @Option 5211 @Out DRIVERS\*.*
		@File SHJX320T.SCP @Size 189 @Option 5212 @Out DRIVERS\*.*
		@File SHJX450.SCP @Size 189 @Option 5213 @Out DRIVERS\*.*
		@File SHJX450T.SCP @Size 196 @Option 5214 @Out DRIVERS\*.*
		@File SHJX600.SCP @Size 209 @Option 5215 @Out DRIVERS\*.*
		@File SHJX610.SCP @Size 209 @Option 5216 @Out DRIVERS\*.*
		@File NIKONDRV.DRX @Size 46576 @Option 5230 @Out DRIVERS\*.*
		@File NKLS3500.SCP @Size 237 @Option 5231 @Out DRIVERS\*.*
		@File NKLS3510.SCP @Size 237 @Option 5232 @Out DRIVERS\*.*
	@EndLib
	@BeginLib FILMLUT.RED
		@File PC35MP2K.LUT @Size 3805 @Option 100 @Out COLORS\*.*
		@File PC35MP4K.LUT @Size 3805 @Option 100 @Out COLORS\*.*
		@File PR35MP2K.LUT @Size 3808 @Option 100 @Out COLORS\*.*
		@File PR35MP4K.LUT @Size 3808 @Option 100 @Out COLORS\*.*
		@File QD4X5K2K.LUT @Size 3795 @Option 100 @Out COLORS\*.*
		@File QD4X5K4K.LUT @Size 3795 @Option 100 @Out COLORS\*.*
		@File QD810K4K.LUT @Size 3796 @Option 100 @Out COLORS\*.*
		@File QZ4X5K2K.LUT @Size 5331 @Option 100 @Out COLORS\*.*
		@File QZ4X5K4K.LUT @Size 5331 @Option 100 @Out COLORS\*.*
		@File QZ810K4K.LUT @Size 5332 @Option 100 @Out COLORS\*.*
	@EndLib
	@BeginLib KODAKLUT.RED
		@File G10B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G10BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G10BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G10BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G10BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G12B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G12BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G12BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G12BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G12BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G14B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G14BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G14BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G14BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G14BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G16B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G16BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G16BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G16BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G16BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G18B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G18BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G18BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G18BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G18BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G20B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G20BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G20BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G20BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G20BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G22B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G22BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G22BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G22BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G22BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G25B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G25BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G25BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G25BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G25BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G28B0.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G28BN10.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G28BN20.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G28BN30.TBL @Size 2130 @Option 901 @Out COLORS\*.*
		@File G28BN40.TBL @Size 2130 @Option 901 @Out COLORS\*.*
	@EndLib
	@File SRLZ.EXE @Size 47879 @Group RA
@EndDisk

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	Chain to the next disk
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
@If (('R' [= @Group) || ('A' [= @Group) || ('Y' [= @Group))
	@GoTo DoRIO2
@ElseIf (1 [= @Option)
	@GoTo DoFonts1
@ElseIf (2 [= @Option)
	@GoTo DoFonts2
@ElseIf (3 [= @Option)
	@GoTo DoFonts3
@ElseIf (4 [= @Option)
	@GoTo DoFonts4
@ElseIf (5 [= @Option)
	@GoTo DoFonts5
@Else
	@GoTo AllDone
@EndIf

DoRIO2:
	@Chain( "RIO Disk 2" )
DoFonts1:
	@Chain ("RIO Fonts Disk 1")
DoFonts2:
	@Chain ("RIO Fonts Disk 2")
DoFonts3:
	@Chain ("RIO Fonts Disk 3")
DoFonts4:
	@Chain ("RIO Fonts Disk 4")
DoFonts5:
	@Chain ("RIO Fonts Disk 5")

/*
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
**	All done with installation.
** - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
AllDone:
@Finish

	@CLS

	@Name @Version is installed.  Type @Name to begin.
	@Pause

	@ChDrive @OutDrive
	@ChDir "@SubDir"

@EndFinish

