/*
 * Motorola Inc.
 *
 * Project: QUANTAR RSS
 * Version: R09.07.00
 * Author : Claude Zientek
 *
 * Date   : 07/09/98
 */

@DefineProject
	@Name = "QUANTAR RSS"
	@Version = "R09.07.00"
	@Subdir   = "\\MRSS\\QUANTAR\\REL_0970"
	@OutDrive = C
@EndProject

@Display
	@Cls


			    Installation Utility

				  for the

				@Name  

			      Ver: @Version

			       July 9, 1998



	 (C) Copyright MOTOROLA Inc. (1992-1998) All Rights Reserved.

   @Pause
@EndDisplay

@Display
   @Cls
   This utility will install the @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.

   INSTALL will ask you several questions during 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.


	@Pause
@EndDisplay

@If (@CPU < 286)
   @Display
   The @Name will NOT run on your machine!!
   You need a PC whose microprocessor is a 286 or better.
   A PC with a 386 or 486 microprocessor is HIGHLY RECOMMENDED!
   
   @Abort
   @EndDisplay
@EndIf

@If (@CPU < 386)
   @Display
   The @Name will run VERY SLOWLY on your machine!!
   To take full advantage of the @Name you should
   install it on a PC whose microprocessor is a 386 or better.
   
   @Pause
   @EndDisplay
@EndIf

// get the output drive where the RSS will be installed
// omit Drive A: and Drive B: since they are, for the most part
// floppy drives and the RSS must be installed in a hard disk !
@GetOutDrive
   @Suppress A
   @Suppress B
	@Cls

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













@EndOutDrive

@If (@Removable)
   @Display
   You CAN NOT install the @Name onto a floppy drive!

   @Abort
   @EndDisplay
@EndIf

@If (@DiskFree(@OutDrive) < 4010000)
   @Display
   You need at least 4010000 (4.01 Meg) bytes of Hard-Disk space to 
   install @Name

   @Abort
   @EndDisplay
@EndIf

@GetSubdir
	@Cls
   Enter a Directory name where the @Name will be installed.


	@Prompt = "Enter Directory: "
@EndSubdir

// if the RAM available is less than 450 K, then inform the user
// that he does not have enough memory available to run all of
// the RSS screens.
// 
@If (@RAMAvail < 460800)
   @Display

   Due to the complexity of the @Name, the minimum amount of RAM
   needed to run @Name is 460800 (450 K) bytes.

	       Your PC has only @RAMAvail bytes of RAM available.

   The @Name program will not be installed in your machine !

   It is HIGHLY recomended that you remove all device drivers
   and Terminate and Stay Resident (TSR) programs from your PC
   to install and run this RSS application.

   See your DOS manual for information about device drivers and TSR's.

   @Pause
   @Abort
   @EndDisplay
@EndIf

// Add the following at the end of the FILE lines
// @Out @OutDrive:\@Subdir
// @Out @OutDrive:\@Subdir\ARCHIVE\TRAINING.CP
@DefineDisk
	@Label = "Disk 1"
	@BeginLib RSS.001
		@F CLIST.TXT @S 17799 @Out @OutDrive:\@Subdir
		@F ENC_DEC.DAT @S 1057680 @Out @OutDrive:\@Subdir
		@F ENTERP.VVD @S 487003 @Out @OutDrive:\@Subdir
		@F ERRMSG.TXT @S 46369 @Out @OutDrive:\@Subdir
		@F HELP.TXT @S 598393 @Out @OutDrive:\@Subdir
		@F QUANTAR.EXE @S 1570576 @Out @OutDrive:\@Subdir
	@EndLib
@EndDisk


@DefineDisk
	@Label = "Disk 2"
	@BeginLib RSS.002
		@F QUANTAR.EXE @A QUANTAR.EXE
		@F SLATE.PDB @S 192646 @Out @OutDrive:\@Subdir
		@F SWAPFILE.RSC @S 33690 @Out @OutDrive:\@Subdir
		@F TRAINING.CP @S 3269 @Out @OutDrive:\@Subdir\ARCHIVE\TRAINING.CP
	@EndLib
@EndDisk

@Display
   To PRINT the CODEPLUG from the @Name application
   your AUTOEXEC.BAT file must be updated.

   To properly run/execute the @Name application
   your CONFIG.SYS file may need to be updated.

   @Pause
@EndDisplay

@Display
   @Cls
   The variable SL_PDB needs to be set properly 
   in order to use the printer utilities for this
   RSS release.  The variable will be added to 
   your AUTOEXEC.BAT file if it doesn't exist. 
   If a previous version of the RSS was installed,
   the printer variable will be updated to match
   the setting for this RSS release.

   @Pause
@EndDisplay

@SetAutoexec
   @Terse
   @Overwrite
      @SetReplace("SL_PDB", "@OutDrive:\\@SubDir\\SLATE.PDB")
@EndAutoexec

@Finish
	@ChDrive @OutDrive
	@ChDir   "@SubDir"

	In order for extended memory to work properly with the RSS,
	the following lines in CONFIG.SYS may need to be added.  Please
	copy down these lines and insert them at the beginning of
	your current CONFIG.SYS file. If similar lines already exist 
	in the file, make sure that the arguments match what is listed:

	  Device = C:\DOS\HIMEM.SYS /NUMHANDLES=127
	  Device = C:\DOS\EMM386.EXE FRAME=NONE
	  FILES = 30
	  BUFFERS = 30

	Installation of @Name is now finished.  Please reboot your PC
	if CONFIG.SYS was modified.

	@Pause

@EndFinish

/* end-of-file */

