/*
 *  Plug and Play Kit for MS-DOS (ICU and CM) installation
 *  Copyright 1993, 1994 Intel Corporation.  All Rights Reserved.
 */

@DefineProject
    @Name     = "Plug and Play Kit for MS-DOS"
    @Version  = "R1.45"
    @OutDrive = C
    @SubDir   = "\\PLUGPLAY\\"
	@Requires @HardDisk
	@Requires 2500000
	@Verify
@EndProject

//@DefineVars
//    @Qstring @FileOpt = "/NOLOCK"
//@EndVars

@Display
    @ChDrive(@BootDrive)
    @Cls

			 Plug and Play Kit for MS-DOS
			 ============================


   This  program  installs  the  Plug and Play Kit for MS-DOS* on your hard
   disk.  The ISA Configuration Utility (ICU) and the Configuration Manager
   (CM) are included in the kit.

   Press the [Esc] key at any time to quit the installation.




   * MS-DOS is a registered trademark of Microsoft Corporation.
   * Windows is a trademark of Microsoft Corporation.


    @Pause
@EndDisplay

@Display
    @Cls



   The  installation program used to install this kit, INSTALL, is licensed
   software provided by  Knowledge Dynamics  Corp., P.O.   Box  780068, San
   Antonio, Texas  78278 (U.S.A.).   INSTALL is Copyright  (c) 1987-1993 by
   Knowledge  Dynamics  Corp.,  which  reserves  all  copyright  protection
   worldwide.   INSTALL is  provided to  you for  the exclusive  purpose of
   installing the Plug and Play Kit  for  MS-DOS.    Intel  Corporation  is
   exclusively responsible for the  support of  the Plug  and Play  Kit for
   MS-DOS, including  support during the  installation phase.   In no event
   will Knowledge Dynamics  Corp.   provide any  technical support  for the
   Plug and Play Kit for MS-DOS.





    @Pause
@EndDisplay


@If (@RAMAvail < 488K)
	@Display
	The installation program has detected that this system has less
	than 488K of free conventional memory.

	This product requires a total of 488K of conventional memory for
	installation.
	











		@Pause
		@Abort
	@EndDisplay
@EndIF

@GetOutDrive
    @Suppress A
    @Suppress B
    @Cls















   Select the  drive where you  want to install  the Plug and  Play Kit for
   MS-DOS.  If you have  already  installed  the  Plug  and  Play  Kit  for
   Windows, we suggest you use the same drive.

   Use  the [Up Arrow], [Down Arrow], [Pg Up], and [Pg Dn] keys to move the
   highlighted selection bar, then press [Enter] to accept the choice.
@EndOutDrive



 @GetSubDir
    @Cls

   Select the directory where you want to install the Plug and Play Kit for
   MS-DOS.  You can accept the default destination directory  @SubDir  by
   pressing [Enter],  or change  it by  pressing [Esc]  and entering  a new
   pathname.   If  you change  the destination  directory pathname,  do not
   include  the disk drive letter, e.g., type \MYDIR, not C:\MYDIR.  If you
   have already installed the Plug and Play Kit for Windows, we suggest you
   use the same directory.

   @Prompt = "  Destination directory ([Enter] = @SubDir)  "

@EndSubDir

@GetOption
    @Option 10 = "Yes - Read Release Notes"
    @Option 11 = "No - Read Release Notes later"
    @Cls








   Additional information about the  Plug and  Play Kit  for MS-DOS  can be
   found in the text file README.TXT, which will be copied to the directory
   @OutDrive:@SubDir.

   These product release notes contain important information compiled after
   the documentation was printed and information for the advanced user.

   Do you want to read the release notes when installation is complete?

@EndOption

@Display
    @If (11 [= @Option)
    @Cls







   Please read the Release Notes in @OutDrive:@SubDir\README.TXT
   before using this software!









    @Pause
    @Endif
@EndDisplay

// Search for an existing ESCD.RF file and prompt the user 
// for overwrite.
 @If (@Exists("@BootDrive:\\ESCD.RF"))
	@GetOption
		An ESCD.RF file exists on the Target Disk. Do you wish
		to overwrite the existing file ?

		@Option 20 ="Yes"
		@Option 21 ="No"
	@EndOption
@EndIf
// Backup the ESCD.RF file if it exists and they specified overwrite.

	@If (20 [= @Option)
		@If (@Exists("@BootDrive:\\ESCD.RF"))
			@COPY("@BootDrive:\\ESCD.RF", "@BootDrive:\\ESCD.BAK")
		@EndIf
	@EndIf


@DefineDisk @Label = "Disk 1 of 2"


    // install ESCD.RF at the system root - existing file has been backed up
    @File ESCD.RF               @Out @BootDrive:\ESCD.RF @Option 20
    @File ESCD.RF               @Out @BootDrive:\ESCD.RF @NoOverwrite

    // install ESCD.RF in DRIVERS\DOS directory - overwrite only if
    // installation file is newer than existing file

    @If (@FileDate( "@OutDrive:\\@Subdir\\DRIVERS\\DOS\\ESCD.RF" ) <
	 @FileDate( "@InDrive:\\ESCD.RF" ))
	@File ESCD.RF       @Out DRIVERS\DOS\*.*
    @EndIf

    // install everything else

    @If (@FileDate( "@OutDrive:\\Subdir\\README.TXT" ) <
	 @FileDate( "@InDrive:\\README.TXT" ))
	@File README.TXT        @Out @Subdir\\*.*
    @EndIf

  

// Extract Compressed Files
// COMMENTED OUT 2/9/93 FOR R1.2

	@BeginLib PLUGPLAY.RED
		@File CONMOD.EXE      @Out ICU\*.* 
		@File CASSIST.EXE     @Out ICU\*.* 
		@File CASSIST.CNF     @Out ICU\*.* 
		@File ICU.EXE         @Out ICU\*.* 
		@File UNICODE.DAT     @Out ICU\*.* 
		@File UNICODE.FNT     @Out ICU\*.* 
		@File ICUHELP.DAT     @Out ICU\*.* 
		@File DIR_WIN.DAT     @Out ICU\*.* 
		@File DWCFGMG.SYS     @Out @Subdir\DRIVERS\DOS\*.* 
	@EndLib      
  
@EndDisk

// Make Disk 2 - the Config Files Disk

@DefineDisk @Label = "Disk 2 of 2"


		@File CFGNDX.EXE      @Out ICU\DB\*.* 
	@BeginLib DB.RED
		@File !DPTBC01.CFG               @Out ICU\DB\*.*
		@File !ICU1920.CFG               @Out ICU\DB\*.*
		@File !ICU19A0.CFG               @Out ICU\DB\*.*
		@File !ICU02E0.CFG               @Out ICU\DB\*.*
		@File !ICU1930.CFG               @Out ICU\DB\*.*
		@File !ICU0180.CFG               @Out ICU\DB\*.*
		@File !ICU1140.CFG               @Out ICU\DB\*.*
		@File !ICU1680.CFG               @Out ICU\DB\*.*
		@File !ICU06F0.CFG               @Out ICU\DB\*.*
		@File !ICU05E0.CFG               @Out ICU\DB\*.*
		@File !ICU0310.CFG               @Out ICU\DB\*.*
		@File !ICU0330.CFG               @Out ICU\DB\*.*
		@File !ICU0320.CFG               @Out ICU\DB\*.*
		@File !HWP18C0.CFG               @Out ICU\DB\*.*
		@File !ICU03D0.CFG               @Out ICU\DB\*.*
		@File !ICU1710.CFG               @Out ICU\DB\*.*
		@File !ICU0050.CFG               @Out ICU\DB\*.*
		@File !ICU02A0.CFG               @Out ICU\DB\*.*
		@File !ICU02F1.CFG               @Out ICU\DB\*.*
		@File !ICU0091.CFG               @Out ICU\DB\*.*
		@File !ICU02B0.CFG               @Out ICU\DB\*.*
		@File !ICU02F0.CFG               @Out ICU\DB\*.*
		@File !OLC0701.CFG               @Out ICU\DB\*.*
		@File !ICU0010.CFG               @Out ICU\DB\*.*
		@File !ICU05B0.CFG               @Out ICU\DB\*.*
		@File !ICU02C1.CFG               @Out ICU\DB\*.*
		@File !ATI3010.CFG               @Out ICU\DB\*.*
		@File !ICU1910.CFG               @Out ICU\DB\*.*
		@File !ICU03C0.CFG               @Out ICU\DB\*.*
		@File !ICU0051.CFG               @Out ICU\DB\*.*
		@File !HWP1C00.CFG               @Out ICU\DB\*.*
		@File !ISY0040.CFG               @Out ICU\DB\*.*
		@File !ISAB704.CFG               @Out ICU\DB\*.*
		@File !INT1000.CFG               @Out ICU\DB\*.*
		@File !ICU1740.CFG               @Out ICU\DB\*.*
		@File !ICU01D0.CFG               @Out ICU\DB\*.*
		@File !ICU1990.CFG               @Out ICU\DB\*.*
		@File !ICU1751.CFG               @Out ICU\DB\*.*
		@File !ICU1950.CFG               @Out ICU\DB\*.*
		@File !ICU1331.CFG               @Out ICU\DB\*.*
		@File !DEC20A0.CFG               @Out ICU\DB\*.*
		@File !ICU02C0.CFG               @Out ICU\DB\*.*
		@File !ICU1060.CFG               @Out ICU\DB\*.*
		@File !ICU0190.CFG               @Out ICU\DB\*.*
		@File !ICU03A0.CFG               @Out ICU\DB\*.*
		@File !ICU1720.CFG               @Out ICU\DB\*.*
		@File !ICU0041.CFG               @Out ICU\DB\*.*
		@File !ICU0710.CFG               @Out ICU\DB\*.*
		@File !HWP1820.CFG               @Out ICU\DB\*.*
		@File !SMC8003.CFG               @Out ICU\DB\*.*
		@File !ICU1581.CFG               @Out ICU\DB\*.*
		@File !ICU1570.CFG               @Out ICU\DB\*.*
		@File !ICU1980.CFG               @Out ICU\DB\*.*
		@File !ICU01A3.CFG               @Out ICU\DB\*.*
		@File !ICU0110.CFG               @Out ICU\DB\*.*
		@File !ICU05A0.CFG               @Out ICU\DB\*.*
		@File !ICU00C0.CFG               @Out ICU\DB\*.*
		@File !ICU0850.CFG               @Out ICU\DB\*.*
		@File !ICU03F0.CFG               @Out ICU\DB\*.*
		@File !ICU0220.CFG               @Out ICU\DB\*.*
		@File !ICU0880.CFG               @Out ICU\DB\*.*
		@File !ISY0010.CFG               @Out ICU\DB\*.*
		@File !ICU01E0.CFG               @Out ICU\DB\*.*
		@File !ICU1050.CFG               @Out ICU\DB\*.*
		@File !ICU0430.CFG               @Out ICU\DB\*.*
		@File !ICU0230.CFG               @Out ICU\DB\*.*
		@File !ICU0460.CFG               @Out ICU\DB\*.*
		@File !ICU1560.CFG               @Out ICU\DB\*.*
		@File !ICU1580.CFG               @Out ICU\DB\*.*
		@File !ICU0260.CFG               @Out ICU\DB\*.*
		@File !ICU03E0.CFG               @Out ICU\DB\*.*
		@File !ICU1550.CFG               @Out ICU\DB\*.*
		@File !SMC8013.CFG               @Out ICU\DB\*.*
		@File !IBM5250.CFG               @Out ICU\DB\*.*
		@File !INT0703.CFG               @Out ICU\DB\*.*
		@File !ICU1230.CFG               @Out ICU\DB\*.*
		@File !ATI4410.CFG               @Out ICU\DB\*.*
		@File !ICU1100.CFG               @Out ICU\DB\*.*
		@File !ICU1030.CFG               @Out ICU\DB\*.*
		@File !ICU0440.CFG               @Out ICU\DB\*.*
		@File !ICU0520.CFG               @Out ICU\DB\*.*
		@File !ICU04C0.CFG               @Out ICU\DB\*.*
		@File !ICU0020.CFG               @Out ICU\DB\*.*
		@File !ICU0030.CFG               @Out ICU\DB\*.*
		@File !ICU0120.CFG               @Out ICU\DB\*.*
		@File !ICU0060.CFG               @Out ICU\DB\*.*
		@File !ICU0070.CFG               @Out ICU\DB\*.*
		@File !ICU0080.CFG               @Out ICU\DB\*.*
		@File !ICU1994.CFG               @Out ICU\DB\*.*
		@File !ICU01A4.CFG               @Out ICU\DB\*.*
		@File !ICU0350.CFG               @Out ICU\DB\*.*
		@File !ICU0390.CFG               @Out ICU\DB\*.*
		@File !ICU04E0.CFG               @Out ICU\DB\*.*
		@File !ICU0370.CFG               @Out ICU\DB\*.*
		@File !ICU0380.CFG               @Out ICU\DB\*.*
		@File !ICU00B0.CFG               @Out ICU\DB\*.*
		@File !ICU06E2.CFG               @Out ICU\DB\*.*
		@File !ICU01B0.CFG               @Out ICU\DB\*.*
		@File !ICU03B0.CFG               @Out ICU\DB\*.*
		@File !ICU0400.CFG               @Out ICU\DB\*.*
		@File !ICU1993.CFG               @Out ICU\DB\*.*
		@File !ICU00D0.CFG               @Out ICU\DB\*.*
		@File !ICU0150.CFG               @Out ICU\DB\*.*
		@File !ICU0610.CFG               @Out ICU\DB\*.*
		@File !ICU0900.CFG               @Out ICU\DB\*.*
		@File !ICU04F0.CFG               @Out ICU\DB\*.*
		@File !ICU06E0.CFG               @Out ICU\DB\*.*
		@File !ICU05F0.CFG               @Out ICU\DB\*.*
		@File !ICU0450.CFG               @Out ICU\DB\*.*
		@File !ICU0560.CFG               @Out ICU\DB\*.*
		@File !ICU0480.CFG               @Out ICU\DB\*.*
		@File !ICU00E0.CFG               @Out ICU\DB\*.*
		@File !ICU0490.CFG               @Out ICU\DB\*.*
		@File !ICU0360.CFG               @Out ICU\DB\*.*
		@File !ICU0420.CFG               @Out ICU\DB\*.*
		@File !ICU04D0.CFG               @Out ICU\DB\*.*
		@File !ICU0500.CFG               @Out ICU\DB\*.*
		@File !ICU0970.CFG               @Out ICU\DB\*.*
		@File !ICU0590.CFG               @Out ICU\DB\*.*
		@File !ICU0530.CFG               @Out ICU\DB\*.*
		@File !ICU0510.CFG               @Out ICU\DB\*.*
		@File !ICU0570.CFG               @Out ICU\DB\*.*
		@File !ICU1640.CFG               @Out ICU\DB\*.*
		@File !ICU04A0.CFG               @Out ICU\DB\*.*
		@File !ICU04B0.CFG               @Out ICU\DB\*.*
		@File !ICU0640.CFG               @Out ICU\DB\*.*
		@File !ICU1590.CFG               @Out ICU\DB\*.*
		@File !ICU0470.CFG               @Out ICU\DB\*.*
		@File !ICU0680.CFG               @Out ICU\DB\*.*
		@File !ICU0550.CFG               @Out ICU\DB\*.*
		@File !ICU06E1.CFG               @Out ICU\DB\*.*
		@File !ICU0620.CFG               @Out ICU\DB\*.*
		@File !NIC1601.CFG               @Out ICU\DB\*.*
		@File !ICU0690.CFG               @Out ICU\DB\*.*
		@File !ICU0740.CFG               @Out ICU\DB\*.*
		@File !ICU05D0.CFG               @Out ICU\DB\*.*
		@File !ICU0540.CFG               @Out ICU\DB\*.*
		@File !ICU06A0.CFG               @Out ICU\DB\*.*
		@File !ISY0020.CFG               @Out ICU\DB\*.*
		@File !ICU0410.CFG               @Out ICU\DB\*.*
		@File !ICU05C0.CFG               @Out ICU\DB\*.*
		@File !ICU1181.CFG               @Out ICU\DB\*.*
		@File !ICU1630.CFG               @Out ICU\DB\*.*
		@File !ICU0660.CFG               @Out ICU\DB\*.*
		@File !ICU0890.CFG               @Out ICU\DB\*.*
		@File !ICU06B0.CFG               @Out ICU\DB\*.*
		@File !ICU0650.CFG               @Out ICU\DB\*.*
		@File !ICU06C0.CFG               @Out ICU\DB\*.*
		@File !ICU0681.CFG               @Out ICU\DB\*.*
		@File !ICU1020.CFG               @Out ICU\DB\*.*
		@File !ICU0630.CFG               @Out ICU\DB\*.*
		@File !ICU06E4.CFG               @Out ICU\DB\*.*
		@File !ICU0130.CFG               @Out ICU\DB\*.*
		@File !ICU01A0.CFG               @Out ICU\DB\*.*
		@File !ICU06E6.CFG               @Out ICU\DB\*.*
		@File !ICU01A1.CFG               @Out ICU\DB\*.*
		@File !ICU1130.CFG               @Out ICU\DB\*.*
		@File !ICU06D0.CFG               @Out ICU\DB\*.*
		@File !ICU0910.CFG               @Out ICU\DB\*.*
		@File !ICU01A2.CFG               @Out ICU\DB\*.*
		@File !ICU1992.CFG               @Out ICU\DB\*.*
		@File !ICU0720.CFG               @Out ICU\DB\*.*
		@File !ICU1040.CFG               @Out ICU\DB\*.*
		@File !ICU1940.CFG               @Out ICU\DB\*.*
		@File !ICU0200.CFG               @Out ICU\DB\*.*
		@File !ICU1200.CFG               @Out ICU\DB\*.*
		@File !ICU0270.CFG               @Out ICU\DB\*.*
		@File !ICU0750.CFG               @Out ICU\DB\*.*
		@File !ICU1341.CFG               @Out ICU\DB\*.*
		@File !ICU1080.CFG               @Out ICU\DB\*.*
		@File !ICU0920.CFG               @Out ICU\DB\*.*
		@File !ICU1090.CFG               @Out ICU\DB\*.*
		@File !ICU0860.CFG               @Out ICU\DB\*.*
		@File !ICU1000.CFG               @Out ICU\DB\*.*
		@File !ICU1260.CFG               @Out ICU\DB\*.*
		@File !ICU0580.CFG               @Out ICU\DB\*.*
		@File !ICU1190.CFG               @Out ICU\DB\*.*
		@File !ICU0960.CFG               @Out ICU\DB\*.*
		@File !ICU0600.CFG               @Out ICU\DB\*.*
		@File !ICU1250.CFG               @Out ICU\DB\*.*
		@File !ICU1600.CFG               @Out ICU\DB\*.*
		@File !ICU1150.CFG               @Out ICU\DB\*.*
		@File !ICU1010.CFG               @Out ICU\DB\*.*
		@File !ICU0290.CFG               @Out ICU\DB\*.*
		@File !ICU06E7.CFG               @Out ICU\DB\*.*
		@File !DPTA701.CFG               @Out ICU\DB\*.*
		@File !ICU1620.CFG               @Out ICU\DB\*.*
		@File !ICU0231.CFG               @Out ICU\DB\*.*
		@File !ICU0980.CFG               @Out ICU\DB\*.*
		@File !ICU0250.CFG               @Out ICU\DB\*.*
		@File !ICU0280.CFG               @Out ICU\DB\*.*
		@File !ICU0100.CFG               @Out ICU\DB\*.*
		@File !ICU06E3.CFG               @Out ICU\DB\*.*
		@File !ICU02D0.CFG               @Out ICU\DB\*.*
		@File !ICU06E5.CFG               @Out ICU\DB\*.*
		@File !ICU0300.CFG               @Out ICU\DB\*.*
		@File !ICU06E8.CFG               @Out ICU\DB\*.*
		@File !ICU1300.CFG               @Out ICU\DB\*.*
		@File !ICU0340.CFG               @Out ICU\DB\*.*
		@File !INT0701.CFG               @Out ICU\DB\*.*
		@File !ICU0561.CFG               @Out ICU\DB\*.*
		@File !ICU0840.CFG               @Out ICU\DB\*.*
		@File !ICU1670.CFG               @Out ICU\DB\*.*
		@File !ICU01A5.CFG               @Out ICU\DB\*.*
		@File !ICU06F1.CFG               @Out ICU\DB\*.*
		@File !ICU0730.CFG               @Out ICU\DB\*.*
		@File !ICU0760.CFG               @Out ICU\DB\*.*
		@File !ICU1660.CFG               @Out ICU\DB\*.*
		@File !ICU1240.CFG               @Out ICU\DB\*.*
		@File !ICU0770.CFG               @Out ICU\DB\*.*
		@File !ICU1360.CFG               @Out ICU\DB\*.*
		@File !ICU0700.CFG               @Out ICU\DB\*.*
		@File !ICU1730.CFG               @Out ICU\DB\*.*
		@File !ICU1750.CFG               @Out ICU\DB\*.*
		@File !ICU0780.CFG               @Out ICU\DB\*.*
		@File !ICU1610.CFG               @Out ICU\DB\*.*
		@File !ICU1650.CFG               @Out ICU\DB\*.*
		@File !ICU0790.CFG               @Out ICU\DB\*.*
		@File !ICU1700.CFG               @Out ICU\DB\*.*
		@File !ATI5810.CFG               @Out ICU\DB\*.*
		@File !ICU1690.CFG               @Out ICU\DB\*.*
		@File !ISAB701.CFG               @Out ICU\DB\*.*
		@File !ICU0800.CFG               @Out ICU\DB\*.*
		@File !ICU1970.CFG               @Out ICU\DB\*.*
		@File !ICU0240.CFG               @Out ICU\DB\*.*
		@File !ICU1991.CFG               @Out ICU\DB\*.*
		@File !ICU1160.CFG               @Out ICU\DB\*.*
		@File !ICU19B0.CFG               @Out ICU\DB\*.*
		@File !ARC0020.CFG               @Out ICU\DB\*.*
		@File !ICU0810.CFG               @Out ICU\DB\*.*
		@File !ICU1911.CFG               @Out ICU\DB\*.*
		@File !HWP18A0.CFG               @Out ICU\DB\*.*
		@File !ICU0820.CFG               @Out ICU\DB\*.*
		@File !ICU01C0.CFG               @Out ICU\DB\*.*
		@File !ICU0870.CFG               @Out ICU\DB\*.*
		@File !ICU0830.CFG               @Out ICU\DB\*.*
		@File !ICU1951.CFG               @Out ICU\DB\*.*
		@File !ICU0950.CFG               @Out ICU\DB\*.*
		@File !ICU1900.CFG               @Out ICU\DB\*.*
		@File !ATI1C10.CFG               @Out ICU\DB\*.*
		@File !ISY0060.CFG               @Out ICU\DB\*.*
		@File !ISY0070.CFG               @Out ICU\DB\*.*
		@File !ISY0100.CFG               @Out ICU\DB\*.*
		@File !ICU1120.CFG               @Out ICU\DB\*.*
		@File !NIC1602.CFG               @Out ICU\DB\*.*
		@File !ICU19D0.CFG               @Out ICU\DB\*.*
		@File !ICU01F0.CFG               @Out ICU\DB\*.*
		@File !ICU00A1.CFG               @Out ICU\DB\*.*
		@File !OEM5120.CFG               @Out ICU\DB\*.*
		@File !ISY0030.CFG               @Out ICU\DB\*.*
		@File !ISY0050.CFG               @Out ICU\DB\*.*
		@File !HWP1832.CFG               @Out ICU\DB\*.*
		@File !ICU0040.CFG               @Out ICU\DB\*.*
		@File !ARC0010.CFG               @Out ICU\DB\*.*
		@File !ICU1995.CFG               @Out ICU\DB\*.*
		@File !HWP1400.CFG               @Out ICU\DB\*.*
		@File !ICU19C0.CFG               @Out ICU\DB\*.*
		@File !ISAB703.CFG               @Out ICU\DB\*.*
		@File !SMC8115.CFG               @Out ICU\DB\*.*
		@File !SMC8216.CFG               @Out ICU\DB\*.*
		@File !SMC8416.CFG               @Out ICU\DB\*.*
		@File !KTC0201.CFG               @Out ICU\DB\*.*
		@File !ICU1310.CFG               @Out ICU\DB\*.*
		@File !IIN0B01.CFG               @Out ICU\DB\*.*
		@File !ICU1952.CFG               @Out ICU\DB\*.*
		@File !ICU1960.CFG               @Out ICU\DB\*.*
		@File !ICU01E1.CFG               @Out ICU\DB\*.*
		@File !ICU0211.CFG               @Out ICU\DB\*.*
		@File !ICU0210.CFG               @Out ICU\DB\*.*
@EndLib      


@EndDisk

//Deal with the CONFIG.SYS @File changes
@GetOption
		May I create/modify your CONFIG.SYS File if needed?

		@Option 50 ="Yes"
		@Option 51 ="No"

@EndOption


@If (50 [= @Option)
//If they want to modify config.sys, do this:

   // Backup the CONFIG.SYS @File if it exists.
   @If (@Exists("@BootDrive:\\CONFIG.SYS"))
   @COPY("@BootDrive:\\CONFIG.SYS", "@BootDrive:\\CONFIG.BAK")
   @EndIf

   //Change the CONFIG.SYS file
   @SetConfig
      @Overwrite
      @Device = "@OutDrive:\\@SubDir\\DRIVERS\\DOS\\DWCFGMG.SYS"
      @Buffers=20
   @EndConfig


   @Else
   //If they do not want to modify config.sys, 
   //Tell them what changes they need to make

      @Display


      @Cls
	The following changes must be incorporated into CONFIG.SYS:

	1. Add the following line to the beginning of the file:
	
	   Device=@OutDrive:@SubDir\DRIVERS\DOS\DWCFGMG.SYS


	2. Make sure the size of BUFFERS is greater than or equal to 20.

      @Pause 
      @EndDisplay
@EndIf

@Finish
    @Cls

    //Delete old readme files from the user's file structure

    @Delete ("@OutDrive:\\@Subdir\\ICU\\README.DOS")
    @Delete ("@OutDrive:\\@Subdir\\ICU\\README.CM")
    @Delete ("@OutDrive:\\@Subdir\\ICU\\README.WIN")
    @Delete ("@OutDrive:\\@Subdir\\README.CM")
    @Delete ("@OutDrive:\\@Subdir\\README.DDK")
    @Delete ("@OutDrive:\\@Subdir\\PDDK\\README.PDK")

    //If we changed the config.sys file, run conmod.exe
    @If (50 [= @Option)

    // make dwcfgmg.sys as the first driver in the config.sys if 
    // it is in config.sys 

	@If (@Spawn( "@OutDrive:\\@SubDir\\icu\\conmod.exe " ))
	@EndIf

    @EndIf
    @Delete("@OutDrive:\\@SubDir\\icu\\conmod.EXE")

    // Display README file if previously requested
    @If (10 [= @Option)
	@If (@System( "more < @OutDrive:\\@SubDir\\README.TXT" ))
	@EndIf
    @Endif

	// Build the ICU.NDX file in @OutDrive:\\@SubDir\\ICU\\DB .
    @ChDrive( @OutDrive )
    @ChDir( "@OutDrive:\\@SubDir\\ICU\\DB" )
    @If (@Spawn("@OutDrive:\\@SubDir\\ICU\\DB\\CFGNDX.EXE"))
    @EndIf
   // Do not delete cfgndx.exe
   // @Delete("@OutDrive:\\@SubDir\\ICU\\DB\\CFGNDX.EXE")
    @ChDir( "@OutDrive:\\@SubDir\\ICU" )

	// Make the CASSIST.CNF file Read-only
	// @FileAttr("@OutDrive:@SubDir\\ICU\\CASSIST.CNF", "r+")

    @Cls

   Installation of the Plug and Play Kit for MS-DOS is complete.  

   You must reboot your system to use this software.

    @Pause

@EndFinish

