/*
 * INSTALL.DAT
 *
 * Project: PSpice DOS Evaluation
 *
 */

/*
 * Project Definitions
 */

@DefineProject
	@Name = "IBM-PC PSpice Evaluation"
	@Version = "5.0a"
	@Subdir = "\\PSEVAL50"
	@OutDrive = C
	@InDiskBell = 1
	@Requires @HardDisk
@EndProject

/*
 * Begin Install
 */

@Display

	This program will install the @Name version @Version
	program files on your computer system's hard disk and verify the
	integrity of the distribution disks.  You may press the [Esc] key
	at any time to abort the installation.

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

/*
 * System check
 */

@Display

SYSTEM CHECKS

@If (@CPU < 286)
     WARNING:  @CPU processor found (@Name requires a
               286, 386, or 486 processor.  While the program may run on
               an XT class processor, it is not supported.)
@Else
     @CPU processor found:  OK
@EndIf
@If (((@OSMajor * 100) + @OSMinor) < 300)
     ERROR:  DOS @OSMajor.@OSMinor found (@Name requires DOS 3.0
             or greater)

     @Pause
     @Abort
@Else
     DOS @OSMajor.@OSMinor found: OK
@EndIf
@If (@RAMTotal < 620k)
     WARNING:  Less than 640K of installed conventional memory has
               been detected on your system.  A full 640K is
               recommended to run larger circuits.
@EndIf
@If (@RAMAvail < 500k)
     WARNING:  Less than 500K of available conventional memory has
               been detected on your system.  Significantly more than
               500K must be available to run PSpice.

@Endif
@Pause
@EndDisplay

@GetOutDrive
	@Suppress A 	/* Don't allow disk drive A */
	@Suppress B 	/* Don't allow disk drive B */
  
	@LocalWindow(12,53)
	@Cls

    On which disk drive do you wish to install the PSpice program files?

    Use the [Up Arrow], [Down Arrow],
    [Pg Up], & [Pg Dn] keys to move the
    bar to select the drive and then press
    the [Enter] key.

@EndOutDrive

@GetSubdir

	Now you need to specify the disk destination subdirectory for
	the PSpice program files.
	@Prompt = " What program files subdirectory ? "
@EndSubdir

/*
 * Setup Autoexec.bat and Config.sys files
 */

@SetAutoexec
	@AskOverwrite
	@Path = "@OutDrive:\\@Subdir"
	@SetReplace("PSpiceLib", "@OutDrive:@Subdir" )
@EndAutoexec

@SetConfig
	@AskOverwrite
	@Buffers=20
	@Files=20
@EndConfig

/*
 * Distribution Disk Structure of Files
 */

@DefineDisk
	@Label = "Diskette 1 of 2"
	@BeginLib PSEVAL50.001
		@F CONFIG.SYS @S 22 @O CONFIG.SYS
		@F EVAL.CIR @S 8202 @O EVAL.CIR
		@F EVAL.IND @S 4113 @O EVAL.IND
		@F EVAL.LIB @S 52515 @O EVAL.LIB
		@F EVAL.OUT @S 54805 @O EVAL.OUT
		@F EVALOSC.CIR @S 843 @O EVALOSC.CIR
		@F EVALOSC.OUT @S 24072 @O EVALOSC.OUT
		@F EVALPWRS.CIR @S 2050 @O EVALPWRS.CIR
		@F EVALPWRS.OUT @S 4596 @O EVALPWRS.OUT
		@F PARTS.EXE @S 410688 @O PARTS.EXE
		@F PARTS.HLP @S 33583 @O PARTS.HLP
		@F PARTS.MSG @S 8762 @O PARTS.MSG
		@F PROBE.EXE @S 666016 @O PROBE.EXE
		@F PROBE.MSG @S 30854 @O PROBE.MSG
		@F PS.EXE @S 17136 @O PS.EXE
		@F PSHELL.EXE @S 636896 @O PSHELL.EXE
	@EndLib
@EndDisk

@DefineDisk
	@Label = "Diskette 2 of 2"
	@BeginLib PSEVAL50.002
		@F PSHELL.EXE @S 636896 @A PSHELL.EXE
		@F PSPICE.BAT @S 115 @O PSPICE.BAT
		@F PSPICE.HLP @S 34392 @O PSPICE.HLP
		@F PSPICE.NDX @S 2362 @O PSPICE.NDX
		@F PSPICE1.EXE @S 806128 @O PSPICE1.EXE
		@F README.DOC @S 8780 @O README.DOC
		@F SETUPDEV.EXE @S 27519 @O SETUPDEV.EXE
		@F STMED.EXE @S 598736 @O STMED.EXE
		@F STMED.HLP @S 6756 @O STMED.HLP
		@F STMED.MSG @S 8762 @O STMED.MSG
	@EndLib
@EndDisk

@Finish
     @ChDrive @OutDrive
     @ChDir "@Subdir"

     The installation of the PSpice program files is finished.  You
     should now do the following:

     1.  Take the time to read the information in the README.DOC
         file contained with this distribution.  You will find
         there the latest information about PSpice that may not
         have made it into the User's Guide.

     2.  Run the program SETUPDEV.  This will allow you to specify
         the type of display and hard copy device attached to your
         computer system.

     3.  Finally, reboot your system to insure the proper operation
         of this software.

     @Pause

@EndFinish

/* end-of-file */