  
/* Installation for the North American OrCAD PLD 386+ update. */ 
  
@DefineProject   
  @Name       = "OrCAD/PLD" 
  @Version    = "v2.01" 
  @OutDrive   = C 
  @SubDir     = "\\" 
@EndProject 
  
@DefineVars 
  @Dir @ORCADPROJ   = "\\ORCAD" 
  @Dir @ORCADEXE    = "\\ORCADEXE" 
  @Dir @ORCADESP    = "\\ORCADESP" 
@EndVars 
  
@Display 
    @Cls 
                                 ATTENTION 
  
  This installation is an update for PLD 386+ rather than an upgrade to it.
  This means that only files that have been modified since the last release
  of PLD 386+ are included in this disk set.  If you choose to install these
  updated files to a directory other than the one where your prior version
  of PLD 386+ resides, please be aware that many of the executables will
  not run from there.  Most of the executables distributed with this update
  work in tandem with other files that are already present in your currently
  installed version of PLD 386+.  They do not run independent of them.
  
  If you wish to try this version before commiting yourself to using it,
  stop this installation by pressing the {Esc} key.  Then make a copy of
  your existing ORCADEXE directory at the location where you will be
  installing this update (Don't forget to temporarily modify your ORCADEXE
  environment variable).  Next restart this installation and let it complete.
  Using this technique will enable you to safely try this version on your
  system without disturbing your present installation.
  
  
    @Pause 
@EndDisplay 
  
@GetOption 
    @CheckBox 
    @Option 7 = "Do you want to customize installation settings?" 
    @Cls 
  
  
  
  
  
  Choosing not to customize the installation settings will result in the 
  directory structures and environment variables for your OrCAD files more 
  closely resembling those used in the documentation. 
  
  The current defaults are: 
  
    @OutDrive:@ORCADEXE will contain executables. 
    @OutDrive:@ORCADPROJ will contain design files. 
    @OutDrive:@ORCADESP will contain global product files. 
  
  
@EndOption 
  
@If (7 [= @Option ) 
    @GetOption 
        @CheckBox 
        @Cls 
             Do you want to modify any of the following items? 
                       CURRENT INSTALLATION PARAMETERS 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
        @Option  9 = "Change source floppy drive from:           @InDrive:" 
        @Option 10 = "Change target hard drive from:             @OutDrive:" 
        @Option 11 = "Change executable program directory from:  @ORCADEXE " 
        @Option 12 = "Change ESP directory from:                 @ORCADESP " 
        @Option 13 = "Change project directory from:             @ORCADPROJ" 
    @EndOption 
  
    @If ( 9 [= @Option ) 
        @GetInDrive 
            @CLS 
  
                 Which disk drive will contain the floppy disk? 
        @EndInDrive 
    @EndIf 
  
    @If ( 10 [= @Option ) 
        @GetOutDrive 
            @CLS 
                   Where do you want to install the software? 
        @EndOutDrive 
    @EndIf 
  
    @If ( 11 [= @Option ) 
        @GetSubdir @ORCADEXE 
    @ORCADEXE 
    is the default path to the PLD 386+ executables.  You may change this if 
    you wish. 
        @Prompt = "Where should the executables be installed? ([Enter] = default) " 
        @EndSubDir 
    @EndIf 
  
    @If ( 12 [= @Option ) 
        @GetSubdir @ORCADESP   
    @ORCADESP  
    is the default directory path which functions as the parent for the PLD 
    386+ library and netlist subdirectires.  You may change this if you wish. 
        @Prompt = "Where should this directory be located? ([Enter] = default) " 
        @EndSubDir 
    @EndIf 
  
    @If ( 13 [= @Option ) 
        @GetSubdir @ORCADPROJ 
    @ORCADPROJ 
    is the default directory which functions as the parent for all of your 
    design directories.  This includes the TEMPLATE directory which acts 
    as a model for each new design directory you create.  You may change 
    this if you wish. 
        @Prompt = "Where should this directory be located? (<Enter> = default) " 
        @EndSubDir 
    @EndIf 
@EndIf 
  
@DefineDisk 
  @Label = "PLD Disk 1" 
  
  @File       README.201 
    @Out0k  \\@ORCADESP\\PLD\\README.201 
  
   @BeginLib  EXE.PLB 
     @File   *.* 
       @Out0k  \\@ORCADEXE\\*.* 
   @EndLib 
  
   @BeginLib   NET.PLB 
     @File FOHDLNET.EXE 
        @Out0K \\@OrCADESP\\SDT\\NETFORMS\\*.NEW 
   @EndLib 
  
   @BeginLib  DEV.PLB 
     @File   *.* 
       @Out0k  \\@ORCADESP\\PLD\\LIBRARY\\*.* 
   @EndLib 
  
   @BeginLib  DOC.PLB 
     @File   *.* 
       @Out0k  \\@ORCADESP\\PLD\\*.* 
   @EndLib 
@EndDisk 
  
@Finish 
    @Cls 
    @ChDrive @OutDrive 
  
   @ChDir  "@OutDrive:@ORCADEXE" 
  
    @ChDir  "@OutDrive:@ORCADESP\\SDT\\NETFORMS" 
    @If (@Exists "@OutDrive:FOHDLNET.EXE") 
      @System "@OutDrive:@ORCADEXE\\CopyNew @OutDrive:FOHDLNET.NEW @OutDrive:FOHDLNET.EXE" 
    @Else 
      @System "Ren @OutDrive:FOHDLNET.NEW FOHDLNET.EXE" 
    @EndIf 
    @If (@Exists "@OutDrive:FOHDLNET.NEW") 
      @System "Del @OutDrive:FOHDLNET.NEW > NUL" 
    @EndIf 
  
    @If (@Exists "@OutDrive:@ORCADEXE\\COPYNEW.EXE") 
      @System "Del @OutDrive:@ORCADEXE\\COPYNEW.EXE > NUL" 
    @EndIf 
  
    @If (@Exists "@OutDrive:@ORCADPROJ\\TEMPLATE\\SDT.CFG") 
      @ChDir "@OutDrive:@ORCADPROJ\\TEMPLATE" 
    @Else 
      @ChDir "\\" 
    @EndIf 
  
      @Cls 
  
  
  
  
  
  
  
  
  
  
             OrCAD Programmable Logic Design Tools 386+ @Version 
  
                             Update Complete 
  
  
  
  
  
    @Pause 
@EndFinish 
