/*FILE:CADKEY 386 version 6.5*/
@DefineProject
 @Name = "CADKEY" 
 @Version = "7.0.2"
 @Subdir = "\\CADKEY7\\"
 @OutDrive = C
 @Requires @HardDisk
 @InDiskBell = 1
@EndProject

@Display
 @Cls

 @If (@RAMAvail < 400000)

            Installing CADKEY requires at least 400K of conventional 
            memory. Conventional memory is memory below 640K.

            Please try removing installed device drivers and/or 
            terminate and stay resident programs (TSR's) before 
            attempting to run this install procedure again.

            Look in your CONFIG.SYS and AUTOEXEC.BAT files for
            installed device drivers and/or TSR's.

            You currently have @RAMAvail bytes of conventional 
            memory available.


  @Pause
  @Exit

 @EndIf

 @If (@CPU < 386)

            CADKEY requires an 80386 or 80486 CPU.
            Your computer is running on a 80@CPU CPU.

  @Pause
  @Exit

 @EndIf

@Cls
 @If (!(@Exists ("@StartupDrive:\\CADEXE.RED")))
            When installing CADKEY you MUST log onto the drive
            where you inserted disk number one. To do this
            please do the following:

                B: <ENTER>
                INSTALL <ENTER>

            Note:
                In this example drive B is the drive with disk number 
                one in it.

            DO NOT try to install CADKEY using the following syntax:

                B:INSTALL <ENTER>

  @Pause
  @Exit
 @Endif

@EndDisplay      
@Display
 @Cls

    This program installs CADKEY @Version on your computer system 
    and verifies the integrity of the distribution files. 

    The following files have been updated for version 7.0.2:

                CADKEY.EXE
                INTRO.DAT
                VIBSECK.CFG

 @Pause
@EndDisplay

@DefineVars
@Drive @OutDrive2 = C
@EndVars

get_dir_info:

 @GetOutDrive
 @Suppress A
 @Suppress B
 @Cls

       Choose the drive where CADKEY 7.0 or CADKEY 7.0.1 is installed.















   Use the <Up Arrow>, <Down Arrow>, <PgUp>, & <PgDn> to move the light-
   bar to the disk drive on which you want to install and then press the
   <Enter> key.
   
   @EndOutDrive
   @GetSubdir
   @Cls

   Enter the name you used for your CADKEY subdirectory. This
   subdirectory is the location on your disk where CADKEY resides.

   @Prompt = " Which subdirectory ([Enter] = @Subdir)? "
   @EndSubdir



 @GetOption
 @SetOption (5000)  

        In @OutDrive:@Subdir you will be installing :
                          CADKEY                      
 @Checkbox
 @LocalWindow (16,35)
 @Option 5000 = "Is this Correct?"
 @Move (17,10)
        Use the space bar to toggle between "Yes" and "No".

 @EndOption

@If (!(5000 [= @Option))
       @FlushOptions()
       @Goto get_dir_info
@EndIf

@DefineDisk
@Label = "DISK 1 OF 1"
 @File intro.dat @Out \@Subdir\english\*.*
 @BeginLib CADEXE.RED
    @File *.* @Out \@Subdir\*.*
 @EndLib
@EndDisk      
@Finish

        CADKEY 7.0.2 has been successfully installed.

@Pause
@EndFinish
