/*               Installation for the Domestic version             */
/*          Printed Circuit Board Layout Tools Version 2.22        */

@DefineProject
    @Name      = "OrCAD/PCB"
    @Version   = "V2.22n"
    @OutDrive  = C
    @SubDir    = "\\ORCADESP\\"
@EndProject

/* The following section initializes two variables called ESPFLAG and
   EMSFLAG. ESPFLAG is only set if Install finds ORCAD.EXE and ESPMAIN.EXE
   in the executable directory. EMSFLAG is set when a EMS LIM 4.0 (or higher)
   driver is found by INSTALL.

   The truth table of the two variables is as follows:

      ESP        EMS
      FLAG       FLAG
       0          0    ESP not installed, EMS not installed.
       0          1    ESP not installed, EMS     installed.
       1          0    ESP     installed, EMS not installed.
       1          1    ESP     installed, EMS     installed.

    If ESP is installed and EMS is found then INSTALL can configure PCB II to
    use the special video handler to patch PCB II to the video driver usually
    installed in EMS when the framework is running. Any other condition will
    ask the user if they want to override a standalone installation in 
    preparation of installing the framework and/or an EMS driver.
*/

@If ( ((@EMMMajor*10) + @EMMMinor) < 40 )
    @DefineVars
        @Integer @EMSFlag = 0
    @EndVars
@Else
    @DefineVars
        @Integer @EMSFlag = 1
    @EndVars
@EndIf

@If ( @Exists "@OutDrive:\\ORCADEXE\\ORCAD.EXE"
   && @Exists "@OutDrive:\\ORCADESP\\DRV\\MODPLTR.DRV"
   && @Exists "@OutDrive:\\ORCAD\\TEMPLATE\\ORCADESP.DAT" )
    @DefineVars
        @Integer @ESPFlag = 1
    @EndVars
@Else
    @DefineVars
        @Integer @ESPFlag = 0
    @EndVars
@EndIf

@If ( @ESPFLAG == 1 )
    @DefineVars
        @Dir @ORCADPROJ = "\\ORCAD"
        @Dir @ORCADEXE = "\\ORCADEXE"
        @Dir @ORCADESP = "\\ORCADESP"
        @Dir @DESIGN = "\\TEMPLATE"
    @EndVars
@Else
    @GetOption
        @Cls
       It appears that the OrCAD ESP design environment isn't installed.
               Do you want to install PCB II for use under ESP?












    NOTE: Choosing YES assumes that you will install ESP for PCB II's 
          use after it is installed.
                 
          The arrow keys and PGUP/PGDN keys move the selection up and down.

          Press <ENTER> when you have finished selecting.
        @Option 20 = "YES"
        @Option 21 = " NO"
    @EndOption

    @If ( 20 [= @Option )
        @DefineVars
            @Dir @ORCADPROJ = "\\ORCAD"
            @Dir @ORCADEXE = "\\ORCADEXE"
            @Dir @ORCADESP = "\\ORCADESP"
            @Dir @DESIGN = "\\TEMPLATE"
        @EndVars
    @Else
        @DefineVars
            @Dir @ORCADPROJ = "\\ORCAD"
            @Dir @ORCADEXE = "\\ORCAD\\PCB"
            @Dir @ORCADESP = "\\ORCAD"
            @Dir @DESIGN = "\\DESIGN"
        @EndVars
    @EndIf

    @GetOption
        @CheckBox
        @Cls
        Do you want to modify ONE or MORE of the following items?
                      CURRENT INSTALLATION PARAMETERS












        The SPACE BAR toggles the selection between yes and no. 
        The arrow keys and PGUP/PGDN keys move the selection up and down.
        'Y' sets all entries to YES, 'N' sets all to NO.
        Press <ENTER> when you have finished selecting.
        @Option 25 = "Change Source Floppy Drive from:              @InDrive: "
        @Option 26 = "Change Target Hard drive from:                @OutDrive:"
        @If ( 20 [= @Option )
        @Option 27 = "Change Main Driver/Library directory from:    @ORCADESP "
        @Option 28 = "Change Project directory from:                @ORCADPROJ"
        @Option 29 = "Change Executable program directory from:     @ORCADEXE "
        @Option 30 = "Change Installation design directory from:    @DESIGN   "
        @Else
        @Option 27 = "Change Driver/Library ROOT directory from:    @ORCADESP "
        @Option 28 = "Change Design ROOT directory from:            @ORCADPROJ"
        @Option 29 = "Change Executable program SUBdirectory from:  @ORCADEXE "
        @Option 30 = "Change Design SUBdirectory from:              @DESIGN   "
        @EndIf
    @EndOption

    @If ( 25 [= @Option )
        @GetInDrive
            @CLS

    Which disk drive will contain the floppy disk?
        @EndInDrive
    @EndIf

    @If ( 26 [= @Option )
        @GetOutDrive
            @CLS

    Where do you want to install the software?
        @EndOutDrive
    @EndIf

    @If ( 27 [= @Option )
        @If ( 20 [= @Option )
            @GetSubdir @ORCADESP  
    The @ORCADESP directory contains a subdirectory for each of the OrCAD
    tools.  Those subdirectories contain files that are not particular
    to a specific design, but are global in nature like libraries and
    device models.  The default name for this directory is @ORCADESP.
                @Prompt = "ROOT directory for ORCADESP ([Enter] = @ORCADESP) ?"
            @EndSubDir
        @Else
            @GetSubdir @ORCADESP  
    The @ORCADESP directory has subdirectories that contain files that
    are not particular to a specific design, but are global in nature like
    libraries and device drivers.  The default name for this directory is
    @ORCADESP.
                @Prompt = "ROOT for Driver/Library directories ([Enter] = @ORCADESP) ?"
            @EndSubDir
        @EndIf
    @EndIf

    @If ( 30 [= @Option )
        @If ( 20 [= @Option )
            @GetSubdir @DESIGN
    The @DESIGN subdirectory contains default configuration files for every 
    OrCAD tool you have (or will have) installed.  The default name for this
    subdirectory is @DESIGN
                @Prompt = "SUBdirectory for default configuration files ([Enter] = @DESIGN) ?"
            @EndSubDir
        @Else
            @GetSubdir @DESIGN
    The @DESIGN directory is where all of your design files will be stored.
    The default name for this directory is @DESIGN
                @Prompt = "SUBdirectory for design files ([Enter] = @DESIGN) ?"
            @EndSubDir
        @EndIf
    @EndIf
    
    @If ( 28 [= @Option )
        @If ( 20 [= @Option )
            @GetSubdir @ORCADPROJ
    The @ORCADPROJ directory contains a subdirectory for each design
    that you will be working with.  It will also contain the @DESIGN
    design directory.  The default name for this directory is @ORCADPROJ 
                @Prompt = "ROOT directory for OrCAD designs ([Enter] = @ORCADPROJ) ?"
            @EndSubDir
        @Else
            @GetSubdir @ORCADPROJ
    The @ORCADPROJ directory contains the subdirectory for your designs.
    The default path to your designs will be @ORCADPROJ@DESIGN.
    The default name for this directory is @ORCADPROJ 
                @Prompt = "ROOT directory for the @DESIGN subdirectory ([Enter] = @ORCADPROJ) ?"
            @EndSubDir
        @EndIf
    @EndIf

    @If ( 29 [= @Option )
        @If ( 20 [= @Option )
            @GetSubdir @ORCADEXE
    The @ORCADEXE directory contains the executable files for every OrCAD
    tool you have (or will have) installed.  The default name for this
    directory is @ORCADEXE
                @Prompt = "SUBdirectory for ALL OrCAD executables ([Enter] = @ORCADEXE) ?"
            @EndSubDir
        @Else
            @GetSubdir @ORCADEXE
    The @ORCADEXE directory contains the executable files for Printed 
    Circuit Board Tools (Version 2.21).  The default name for this
    directory is @ORCADEXE
                @Prompt = "SUBdirectory for PCB II executables ([Enter] = @ORCADEXE) ?"
            @EndSubDir
        @EndIf
    @EndIf
@EndIf

@If ( @EMSFLAG == 0 )
    @If ( 20 [= @Option || (@ESPFLAG == 1) )
        @GetOption
            @Cls
         It appears that a LIM 4.0 or greater EMS driver isn't installed.
   Do you want to configure PCB II as if it had EMS for the ESP video driver?









    NOTE: If you choose YES a special video handler will be installed as the 
          default video driver and the ESP framework video driver will be
          used for PCB II.
          Choosing YES assumes that you will install a LIM 4.0 or greater
          EMS driver for ESP's use after PCB II is installed.
                 
          The arrow keys and PGUP/PGDN keys move the selection up and down.

          Press <ENTER> when you have finished selecting.
            @Option 22 = "YES"
            @Option 23 = " NO"
        @EndOption
    @EndIf
@EndIf

@GetOption
    @Cls
                        Select one of the following items:

















 NOTE:  If you haven't installed Printed Circuit Board Layout Tools V2.21
        (PCB II) from these disks yet don't choose any of the reinstallation
        choices, choose the standard install.
        @Option 1 = " Standard   Installation of PCB II     PRODUCT files"
        @Option 2 = "          Reinstallation of PCB II  EXECUTABLE files"
        @Option 3 = "          Reinstallation of PCB II      MODULE files"
        @Option 4 = "          Reinstallation of PCB II    STRATEGY files"
        @Option 5 = "          Reinstallation of PCB II FIELD STUFF files"
        @Option 6 = "          Reinstallation of PCB II      DRIVER files"
        @Option 7 = "          Reinstallation of PCB II SDT LIBRARY files"
        @Option 8 = "          Reinstallation of PCB II       TUTOR files"
@EndOption

@If ( 21 [= @Option || 23 [= @Option || 6 [= @Option )
    @GetOption
        @CheckBox 
        @Cls
        Select one or more display drivers to install onto your system.
                                DISPLAY DRIVERS














    
        The SPACE BAR toggles the selection between yes and no. 
        The arrow keys and PGUP/PGDN keys move the selection up and down.
        'Y' sets all entries to YES, 'N' sets all to NO.
        Press <ENTER> when you have finished selecting.
        @Option 200 =  "   EGA16E   640 x  350  16  EGA Enhanced monitor  "
        @Option 201 =  "     HGC2   720 x  348   1  Hercules Monochrome   "
        @Option 202 =  "   VGA640   640 x  480  16  IBM PS/2 VGA          "
        @Option 203 =  "     CGA4   320 x  200   4  Color Graphics Adapter"
        @Option 204 =  "     CGA2   640 x  200   2  Color Graphics Adapter"
        @Option 205 =  "  EGA16C2   640 x  200  16  EGA standard monitor  "
        @Option 206 =  "   TGM16N   640 x  200  16  Tecmar Graphics Master"
        @Option 207 =  "     EGA2   640 x  350   1  EGA Monochrome monitor"
        @Option 208 =  "    EGA4E   640 x  350   4  EGA (64K RAM)         "
        @Option 209 =  "    ATT2C   640 x  400   2  AT&T 6300             "
        @Option 210 =  " HPVECTRA   640 x  400   2  HP Vectra Multi-Video "
        @Option 211 =  "     NCR2   640 x  400   2  NCR graphics adapter  "
        @Option 212 =  "  TANDY2k   640 x  400   2  Tandy 2000 Graphics   "
        @Option 213 =  "  TELECAT   640 x  400   2  Televideo TeleCAT     "
        @Option 214 =  "    T3100   640 x  400   2  Toshiba 3100 Laptop   "
        @Option 215 =  " WYSE700a   640 x  400   2  Wyse-700              "
        @Option 216 =  "     NCR4   640 x  400   4  NCR graphics adapter  "
        @Option 217 =  "   ATT16C   640 x  400  16  AT&T 6300 DEB         "
        @Option 218 =  " SIGMA400   640 x  400  16  Sigma 400             "
        @Option 219 =  "   TGM16I   640 x  400  16  Tecmar Graphics Master"
        @Option 220 =  "  MCGA480   640 x  480   1  IBM PS/2 MCGA         "
        @Option 221 =  "    TGM4N   720 x  200   4  Tecmar Graphics Master"
        @Option 222 =  "   CPTHGC   720 x  348   1  CPT 9000 Half Screen  "
        @Option 223 =  "    TGM2N   720 x  348   1  Tecmar Graphics Master"
        @Option 224 =  "    TGM4I   720 x  400   4  Tecmar Graphics Master"
        @Option 225 =  "    TGM2I   720 x  696   1  Tecmar Graphics Master"
        @Option 226 =  "  CPTFULL   720 x  728   1  CPT 9000 Full screen  "
        @Option 227 =  "   GENIUS   768 x 1008   1  MDS Genius / AXTEL 530"
        @Option 228 =  "      ADS  1024 x  768  16  Applied Data Systems  "
        @Option 229 =  "  AHEAD1K  1024 x  768  16  Ahead System Wizard   "
        @Option 230 =  "    ATI1K  1024 x  768  16  ATI VGA Wonder (Ver4+)"
        @Option 231 =  "  CHIPS1K  1024 x  768  16  Chips & Tech. VGA 512K"
        @Option 232 =  "  GENOA1K  1024 x  768  16  Genoa SuperVGA        "
        @Option 233 =  "  GEN641K  1024 x  768  16  Genoa SuperVGA 6400   "
        @Option 234 =  " TECMAR1K  1024 x  768  16  TECMAR VGA/AD         "
        @Option 235 =  "   VEGA1K  1024 x  768  16  Video 7 VRAM VGA      "
        @Option 236 =  "  VECT768  1024 x  768  16  Vectrix PEPE/Presto   "
        @Option 237 =  "    TRI1K  1024 x  768  16  Zymos Poach Set       "
        @Option 238 =  " VECTRXAT  1024 x 1024  16  Vectrix PEPE (AT)     "
        @Option 239 =  " VECTRXPC  1024 x 1024  16  Vectrix PEPE (PC)     "
        @Option 240 =  " VECT1280  1280 x 1024  16  Vectrix PEPE/Presto   "
        @Option 241 =  " WYSE700b  1280 x  400   2  Wyse-700              "
        @Option 242 =  " WYSE700c  1280 x  800   2  Wyse-700              "
        @Option 243 =  "     TIGA  Variable Res 16  TIGA Version 1.1      "
    @EndOption
@EndIf

@If ( 21 [= @Option || 23 [= @Option )
     @GetOption
        @Cls
	        @Option 500 = "   EGA16E   640 x  350  16  EGA Enhanced monitor  "
	        @Option 501 = "     HGC2   720 x  348   1  Hercules Monochrome   "
	        @Option 502 = "   VGA640   640 x  480  16  IBM PS/2 VGA          "
        @If ( 203 [= @Option)
	        @Option 503 = "     CGA4   320 x  200   4  Color Graphics Adapter"
        @Endif
        @If ( 204 [= @Option)
	        @Option 504 = "     CGA2   640 x  200   2  Color Graphics Adapter"
        @Endif
        @If ( 205 [= @Option)
	        @Option 505 = "  EGA16C2   640 x  200  16  EGA standard monitor  "
        @Endif
        @If ( 206 [= @Option)
	        @Option 506 = "   TGM16N   640 x  200  16  Tecmar Graphics Master"
        @Endif
        @If ( 207 [= @Option)
	        @Option 507 = "     EGA2   640 x  350   1  EGA Monochrome monitor"
        @Endif
        @If ( 208 [= @Option)
	        @Option 508 = "    EGA4E   640 x  350   4  EGA (64K RAM)         "
        @Endif
        @If ( 209 [= @Option)
	        @Option 509 = "    ATT2C   640 x  400   2  AT&T 6300             "
        @Endif
        @If ( 210 [= @Option)
	        @Option 510 = " HPVECTRA   640 x  400   2  HP Vectra Multi-Video "
        @Endif
        @If ( 211 [= @Option)
	        @Option 511 = "     NCR2   640 x  400   2  NCR graphics adapter  "
        @Endif
        @If ( 212 [= @Option)
	        @Option 512 = "  TANDY2k   640 x  400   2  Tandy 2000 Graphics   "
        @Endif
        @If ( 213 [= @Option)
	        @Option 513 = "  TELECAT   640 x  400   2  Televideo TeleCAT     "
        @Endif
        @If ( 214 [= @Option)
	        @Option 514 = "    T3100   640 x  400   2  Toshiba 3100 Laptop   "
        @Endif
        @If ( 215 [= @Option)
	        @Option 515 = " WYSE700a   640 x  400   2  Wyse-700              "
        @Endif
        @If ( 216 [= @Option)
	        @Option 516 = "     NCR4   640 x  400   4  NCR graphics adapter  " 
        @Endif
        @If ( 217 [= @Option)
	        @Option 517 = "   ATT16C   640 x  400  16  AT&T 6300 DEB         "
        @Endif
        @If ( 218 [= @Option)
	        @Option 518 = " SIGMA400   640 x  400  16  Sigma 400             "
        @Endif
        @If ( 219 [= @Option)
            @Option 519 = "   TGM16I   640 x  400  16  Tecmar Graphics Master"
        @EndIF
        @If ( 220 [= @Option)
            @Option 520 = "  MCGA480   640 x  480   1  IBM PS/2 MCGA         "
        @EndIf
        @If ( 221 [= @Option)
            @Option 521 = "    TGM4N   720 x  200   4  Tecmar Graphics Master"
        @EndIf
        @If ( 222 [= @Option)
            @Option 522 = "   CPTHGC   720 x  348   1  CPT 9000 Half Screen  "
        @EndIf
        @If ( 223 [= @Option)
            @Option 523 = "    TGM2N   720 x  348   1  Tecmar Graphics Master"
        @EndIf
        @If ( 224 [= @Option)
            @Option 524 = "    TGM4I   720 x  400   4  Tecmar Graphics Master"
        @EndIf
        @If ( 225 [= @Option)
            @Option 525 = "    TGM2I   720 x  696   1  Tecmar Graphics Master"
        @EndIf
        @If ( 226 [= @Option)
            @Option 526 = "  CPTFULL   720 x  728   1  CPT 9000 Full screen  "
        @EndIf
        @If ( 227 [= @Option)
            @Option 527 = "   GENIUS   768 x 1008   1  MDS Genius / AXTEL 530"
        @EndIf
        @If ( 228 [= @Option)
            @Option 528 = "      ADS  1024 x  768  16  Applied Data Systems  "
        @EndIf
        @If ( 229 [= @Option)
            @Option 529 = "  AHEAD1K  1024 x  768  16  Ahead System Wizard   "
        @EndIf
        @If ( 230 [= @Option)
            @Option 530 = "    ATI1K  1024 x  768  16  ATI VGA Wonder (Ver4+)"
        @EndIf
        @If ( 231 [= @Option)
            @Option 531 = "  CHIPS1K  1024 x  768  16  Chips & Tech. VGA 512K"
        @EndIf
        @If ( 232 [= @Option)
            @Option 532 = "  GENOA1K  1024 x  768  16  Genoa SuperVGA        "
        @EndIf
        @If ( 233 [= @Option)
            @Option 533 = "  GEN641K  1024 x  768  16  Genoa SuperVGA 6400   "
        @EndIf
        @If ( 234 [= @Option)
            @Option 534 = " TECMAR1K  1024 x  768  16  TECMAR VGA/AD         "
        @EndIf
        @If ( 235 [= @Option)
            @Option 535 = "   VEGA1K  1024 x  768  16  Video 7 VRAM VGA      "
        @EndIf
        @If ( 236 [= @Option)
            @Option 536 = "  VECT768  1024 x  768  16  Vectrix PEPE/Presto   "
        @EndIf
        @If ( 237 [= @Option)
            @Option 537 = "    TRI1K  1024 x  768  16  Zymos Poach Set       "
        @EndIf
        @If ( 238 [= @Option)
            @Option 538 = " VECTRXAT  1024 x 1024  16  Vectrix PEPE (AT)     "
        @EndIf
        @If ( 239 [= @Option)
            @Option 539 = " VECTRXPC  1024 x 1024  16  Vectrix PEPE (PC)     "
        @EndIf
        @If ( 240 [= @Option)
            @Option 540 = " VECT1280  1280 x 1024  16  Vectrix PEPE/Presto   "
        @EndIf
        @If ( 241 [= @Option)
            @Option 541 = " WYSE700b  1280 x  400   2  Wyse-700              "
        @EndIf
        @If ( 242 [= @Option)
            @Option 542 = " WYSE700c  1280 x  800   2  Wyse-700              "
        @EndIf
        @If ( 243 [= @Option)
            @Option 543 = "     TIGA  Variable Res 16  TIGA Version 1.1      "
        @EndIf
        @Cls
           Please select your generic display adapter type for PCB II:
















        The SPACE BAR toggles the selection between yes and no. 


        Press <ENTER> when you have finished selecting.
    @EndOption
@EndIf

@If ( 1 [= @Option || 6 [= @Option )
    @GetOption
        @CheckBox
        @Cls
        Select one or more plotter drivers to install onto your system.
                                PLOTTER DRIVERS















        The SPACE BAR toggles the selection between yes and no. 
        The arrow keys and PGUP/PGDN keys move the selection up and down.
        'Y' sets all entries to YES, 'N' sets all to NO.
        Press <ENTER> when you have finished selecting.
        @Option 300 = " APPLE410  Apple 410                                             "
        @Option 301 = " CALCOMP1  Calcomp (Intelligent)                                 "
        @Option 302 = " CALCOMP2  Calcomp (Non-Intelligent)                             "
        @Option 303 = "      DXF  DXF (interface to AutoCad, Generic CAD, etc.)         "
        @Option 304 = "     EPS1  Encapsulated PostScript Letter size Portrait mode     "
        @Option 305 = "     EPS2  Encapsulated PostScript Letter size Landscape mode    "
        @Option 306 = "     EPS3  Encapsulated PostScript Legal size Landscape mode     "
        @Option 307 = "     EPS4  Encapsulated PostScript Legal size Portrait mode      "
        @Option 308 = "  GENERIC  Generic vector command output (ASCII)                 "
        @Option 309 = "   GERBER  GERBER PhotoPlotter (2.3 format)                      "
        @Option 310 = " GERBER2X  GERBER PhotoPlotter (2.3 format OLD MODEL PLOTTERS)   "
        @Option 311 = " GERBER34  GERBER PhotoPlotter (3.4 format)                      "
        @Option 312 = "      HP2  Fujitsu FPG 315                                       "
        @Option 313 = "       HI  Houston Instrument DMP 40/41/42/51/52/56/etc. (DM/PL) "
        @Option 314 = "     HI29  Houston Instrument DMP 29 (DM/PL  Etx is _)           "
        @Option 315 = "       HP  HP 7475/7550/7580/7585/7586/etc (HP-GL) (.00098/unit) "
        @Option 316 = "      HP2  HP different units (HP-GL) (1016 units/inch)          "
        @Option 317 = "      HPX  HP compatibles (not correct HP-GL emulation)          "
        @Option 318 = "  PSCRIPT  Post Script (Letter Paper   8.5 x 11 )                "
        @Option 319 = " PSCRIPT2  Post Script (Ledger Paper    11 x 17 )                "
        @Option 320 = "   DXY101  Roland DXY-101                                        "
        @Option 321 = "   DXY800  Roland DXY-800                                        "
        @Option 322 = "       WG  Western Graphtec MP2000/FP5301                        "
        @Option 323 = "    PWORD  Post Script Driver for MSWord                        "
    @EndOption        

    @GetOption
        @CheckBox
        @Cls
        Select one or more printer drivers to install onto your system.
                                PRINTER DRIVERS















        The SPACE BAR toggles the selection between yes and no. 
        The arrow keys and PGUP/PGDN keys move the selection up and down.
        'Y' sets all entries to YES, 'N' sets all to NO.
        Press <ENTER> when you have finished selecting.
        @Option 400 = "      AMT  120 x 120  AMT          Office Printer              "
        @Option 401 = " AMT_ACEL  120 x 120  AMT          ACCEL-500                   "
        @Option 402 = " CITH1550  136 x 144  C. ITOH      1550/8510                   "
        @Option 403 = " CITOH310  136 x 144  C. ITOH      P310                        "
        @Option 404 = " CANON150  150 x 150  Canon        LBP-8 A1                    "
        @Option 405 = " CANON300  300 x 300  Canon        LBP-8 A2                    "
        @Option 406 = "  CANON75   75 x  75  Canon        LBP-8 A2                    "
        @Option 407 = " IBMCOLOR  165 x 165  DataProducts 8012                        "
        @Option 408 = "    EPSON   60 x  72  Epson                                    "
        @Option 409 = "  EPSONMX  120 x 216  Epson        MX                          "
        @Option 410 = " EPSONFX2  120 x 108  Epson        MX/FX/RX                    "
        @Option 411 = "  EPSONFX  240 x 216  Epson        FX/RX                       "
        @Option 412 = " LQ1000_2   90 x  90  Epson        LQ800/LQ1000/LQ1500         "
        @Option 413 = "   LQ1000  180 x 180  Epson        LQ800/LQ1000/LQ1500         "
        @Option 414 = "  EPSONVP  180 x 180  Epson        VP 7690                     "
        @Option 415 = "  HPDESK1   75 x  75  HP           DeskJet      (Letter Paper) "
        @Option 416 = "  HPDESK2  100 x 100  HP           DeskJet      (Letter Paper) "
        @Option 417 = "  HPDESK3  150 x 150  HP           DeskJet      (Letter Paper) "
        @Option 418 = "  HPDESK4  300 x 300  HP           DeskJet      (Letter Paper) "
        @Option 419 = "  HPDESK5   75 x  75  HP           DeskJet      (Legal Paper)  "
        @Option 420 = "  HPDESK6  100 x 100  HP           DeskJet      (Legal Paper)  "
        @Option 421 = "  HPDESK7  150 x 150  HP           DeskJet      (Legal Paper)  "
        @Option 422 = "  HPDESK8  300 x 300  HP           DeskJet      (Legal Paper)  "
        @Option 423 = " HPLASER1   75 x  75  HP           LaserJet+/II (Letter Paper) "
        @Option 424 = " HPLASER2  100 x 100  HP           LaserJet+/II (Letter Paper) "
        @Option 425 = " HPLASER3  150 x 150  HP           LaserJet+/II (Letter Paper) "
        @Option 426 = " HPLASER4  300 x 300  HP           LaserJet+/II (Letter Paper) "
        @Option 427 = " HPLASER5   75 x  75  HP           LaserJet+/II (Legal Paper)  "
        @Option 428 = " HPLASER6  100 x 100  HP           LaserJet+/II (Legal Paper)  "
        @Option 429 = " HPLASER7  150 x 150  HP           LaserJet+/II (Legal Paper)  "
        @Option 430 = " HPLASER8  300 x 300  HP           LaserJet+/II (Legal Paper)  "
        @Option 431 = "    HP2K1   75 x  75  HP           Laser 2000   (Ledger Paper) "
        @Option 432 = "    HP2K2  100 x 100  HP           Laser 2000   (Ledger Paper) "
        @Option 433 = "    HP2K3  150 x 150  HP           Laser 2000   (Ledger Paper) "
        @Option 434 = "    HP2K4  300 x 300  HP           Laser 2000   (Ledger Paper) "
        @Option 435 = " HPINKJET   96 x  96  HP           ThinkJet                    "
        @Option 436 = " HPQUIET1   96 x  96  HP           QuietJet     (Letter Paper) "
        @Option 437 = " HPQUIET2  192 x 192  HP           QuietJet     (Letter Paper) "
        @Option 438 = " HPQUIET3   96 x  96  HP           QuietJet     (Continuous)   "
        @Option 439 = " HPQUIET4  192 x 192  HP           QuietJet     (Continuous)   "
        @Option 440 = " HPPAINT1  180 x 180  HP           PaintJet     (Letter Paper) "
        @Option 441 = " HPPAINT2  180 x 180  HP           PaintJet     (Legal Paper)  "
        @Option 442 = " IBMCOLOR  168 x 168  IBM          Color Printer               "
        @Option 443 = "    EPSON   60 x  72  IBM          Graphics Printer/ProPrinter "
        @Option 444 = " EPSONFX2  120 x 108  IBM          Graphics Printer/ProPrinter "
        @Option 445 = "  EPSONFX  240 x 216  IBM          Graphics Printer/ProPrinter "
        @Option 446 = "   JDL750  180 x 180  JDL          750                         "
        @Option 447 = "   JDL850  180 x 180  JDL          850                         "
        @Option 448 = " NECPR201  160 x 160  NEC          PR-201                      "
        @Option 449 = "  NEC8023  136 x 144  NEC          8023                        "
        @Option 450 = "    OKI92   72 x  72  OKIData      92/93                       "
        @Option 451 = "   OKI192  144 x 144  OKIData      192/193                     "
        @Option 452 = "  OKI2410  144 x 144  OKIData      2410                        "
        @Option 453 = "   STAR10  120 x 144  STAR         Gemini 10X/15X              "
        @Option 454 = "  TALLY80  170 x 216  TALLY        Spirit 80                   "
        @Option 455 = "    TI850  120 x 216  TI           850                         "
        @Option 456 = " TOSHIBA2   90 x  90  Toshiba      P1340/P1350/P1351/P351      "
        @Option 457 = "  TOSHIBA  180 x 180  Toshiba      P1340/P1350/P1351/P351      "
        @Option 458 = " VERSATEC  200 x 200  Versatec V80 (LPT1: and special cable)   "
        @Option 459 = "   RASTER  100 x 100  Generic raster output driver             "
    @EndOption
@EndIf

@If ( 1 [=@Option || 3 [= @Option)
    @GetOption
        @CheckBox 
        @Cls
         Select one or more MODULE groups to INSTALL on your HARD DISK.
                              PCB II MODULE groups














    
        The SPACE BAR toggles the selection between yes and no. 
        The arrow keys and PGUP/PGDN keys move the selection up and down.
        'Y' sets all entries to YES, 'N' sets all to NO.
        Press <ENTER> when you have finished selecting.
        @Option 100 = "7SEGDISP        Seven segment display                        TIL"
        @Option 101 = "CAPMISC                     Misc. cap             CK,CL,CM,CS,CY"
        @Option 102 = "CAPSMCER    Surface mount ceramic cap                         CC"
        @Option 103 = "CAPSMTNT   Surface mount tantalum cap                         TC"
        @Option 104 = "CONNECTR             Misc. connectors                 DB,BNC,IBM"
        @Option 105 = "CRYSTAL      Horiz/vert mount crystal                      HC,XO"
        @Option 106 = "DIODE                           Diode                         DO"
        @Option 107 = "DIP        DIP w/0.3-0.6 body spacing                        DIP"
        @Option 108 = "FLATPACK           Standard flat pack                         MO"
        @Option 109 = "HEADER        Horiz/vert mount header                      HH,HV"
        @Option 110 = "ILEADDIP  I lead DIP, 0.3-0.6 spacing                        IDI"
        @Option 111 = "INDUCTOR           Wirewound inductor                         WW"
        @Option 112 = "JEDPLCCA            JEDEC type A PLCC                       JEDA"
        @Option 113 = "JEDRLCCJ      JEDEC rect. J lead PLCC                      RJPCC"
        @Option 114 = "JEDSLCCJ     JEDEC square J lead PLCC                SJPCC,SJEDC"
        @Option 115 = "JSOIC                     J lead SOIC                      JSOIC"
        @Option 116 = "LCC        Std. leadless chip carrier                        LCC"
        @Option 117 = "MINIPLCC               Miniature PLCC                      MPLCC"
        @Option 118 = "QUADPACK               Std. quad pack                       QUAD"
        @Option 119 = "RESMISC                Misc. resistor  MK,RC,RL,RN,RW,RB,RWP,PRC"
        @Option 120 = "RESMOUNT       Surface mount chip res                     RCxxxx"
        @Option 121 = "RESPOT        Multiturn potentiometer                         RJ"
        @Option 122 = "SIP                   SIP w/0.1 pitch                        SIP"
        @Option 123 = "SOIC                        Std. SOIC                     SO,SOL"
        @Option 124 = "SOP        SOP w/0.3-0.6 body spacing                        SOP"
        @Option 125 = "SWITCH     Toggle and rocker switches                   RCKR,TGL"
        @Option 126 = "TESTPNT     Mounting hole/test points          TSTPT,TJACK,MHOLE"
        @Option 127 = "TUBULAR    Tubular res,cap,ind.,diode               MELF,MLL,SOD"
        @Option 128 = "XFORMER                  Transformers                     ST,DST"
        @Option 129 = "XSISTOR                   Transistors                     TO,OPA"
        @Option 130 = "XSISTORI    IPC spec transistor/diode                        SOT"
    @EndOption
@EndIf


@DefineDisk
    @Label = "PCB Disk 1"
    @If ( 1 [= @Option || 2 [= @Option)
        @File READ.ME
            @Out0k \\@ORCADESP\\PCB\\README.220
        @BeginLib PCB1.PLB
            @File PCB.EXE
                @Out0k \\@ORCADEXE\\PCB.EXE
            @File PRINTPCB.EXE
                @Out0k \\@ORCADEXE\\PRINTPCB.EXE
            @If ( 20 [= @Option || (@ESPFLAG == 1) )
                @File ORCADPCB.OVL
                    @Out0k \\@ORCADPROJ\\@DESIGN\\ORCADPCB.OVL
            @Else
                @File ORCADPCB.OVL
                    @Out0k \\@ORCADEXE\\ORCADPCB.OVL
            @EndIf
        @EndLib

        @BeginLib   ESP.PLB
            @If ( 20 [= @Option || (@ESPFLAG == 1) )
                /*  In this case @Design will usually point to template
                */
                @File   PCB.CFG
                    @Out0k  \\@ORCADPROJ\\@DESIGN\\PCB.CFG
            @Else
                /*  In this case @ORCADEXE points to ORCAD\PCB
                */
                @File   PCB.CFG
                    @Out0k  \\@ORCADEXE\\PCB.CFG
            @EndIf

            @File   PCB_C.EXE
                @Out0k  \\@ORCADEXE\\PCB_C.EXE
        @EndLib
    @EndIf

    @If ( 1 [= @Option || 6 [= @Option )
        @BeginLib DRIVER.PLB
/*          @If ( 200 [= @Option )
*/              @File EGA16E.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EGA16E.DRV
/*          @EndIf
            @If ( 201 [= @Option )
*/              @File HGC2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HGC2.DRV
/*          @EndIf
            @If ( 202 [= @Option )
*/              @File VGA640.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\VGA640.DRV
/*          @EndIf
*/          @If ( 203 [= @Option )
                @File CGA4.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CGA4.DRV
            @EndIf
            @If ( 204 [= @Option )
                @File CGA2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CGA2.DRV
            @EndIf
            @If ( 205 [= @Option )
                @File EGA16C2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EGA16C2.DRV
            @EndIf
            @If ( 206 [= @Option )
                @File TGM16N.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TGM16N.DRV
            @EndIf
            @If ( 207 [= @Option )
                @File EGA2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EGA2.DRV
            @EndIf
            @If ( 208 [= @Option )
                @File EGA4E.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EGA4E.DRV
            @EndIf
            @If ( 209 [= @Option )
                @File ATT2C.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\ATT2C.DRV
            @EndIf
            @If ( 210 [= @Option )
                @File HPVECTRA.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPVECTRA.DRV
            @EndIf
            @If ( 211 [= @Option )
                @File NCR2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\NCR2.DRV
            @EndIf
            @If ( 212 [= @Option )
                @File TANDY2K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TANDY2K.DRV
            @EndIf
            @If ( 213 [= @Option )
                @File TELECAT.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TELECAT.DRV
            @EndIf
            @If ( 214 [= @Option )
                @File T3100.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\T3100.DRV
            @EndIf
            @If ( 215 [= @Option )
                @File WYSE700A.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\WYSE700A.DRV
            @EndIf
            @If ( 216 [= @Option )
                @File NCR4.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\NCR4.DRV
            @EndIf
            @If ( 217 [= @Option )
                @File ATT16C.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\ATT16C.DRV
            @EndIf
            @If ( 218 [= @Option )
                @File SIGMA400.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\SIGMA400.DRV
            @EndIf
            @If ( 219 [= @Option )
                @File TGM16I.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TGM16I.DRV
            @EndIf
            @If ( 220 [= @Option )
                @File MCGA480.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\MCGA480.DRV
            @EndIf
            @If ( 221 [= @Option )
                @File TGM4N.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TGM4N.DRV
            @EndIf
            @If ( 222 [= @Option )
                @File CPTHGC.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CPTHGC.DRV
            @EndIf
            @If ( 223 [= @Option )
                @File TGM2N.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TGM2N.DRV
            @EndIf
            @If ( 224 [= @Option )
                @File TGM4I.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TGM4I.DRV
            @EndIf
            @If ( 225 [= @Option )
                @File TGM2I.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TGM2I.DRV
            @EndIf
            @If ( 226 [= @Option )
                @File CPTFULL.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CPTFULL.DRV
            @EndIf
            @If ( 227 [= @Option )
                @File GENIUS.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\GENIUS.DRV
            @EndIf
            @If ( 228 [= @Option )
                @File ADSVECTR.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\ADSVECTR.DRV
                @File ADSLOAD.EXE
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\ADSLOAD.EXE
                @File ADSORCAD.COM
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\ADSORCAD.COM
            @EndIf
            @If ( 229 [= @Option )
                @File AHEAD1K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\AHEAD1K.DRV
            @EndIf
            @If ( 230 [= @Option )
                @File ATI1K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\ATI1K.DRV
            @EndIf
            @If ( 231 [= @Option )
                @File CHIPS1K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CHIPS1K.DRV
            @EndIf
            @If ( 232 [= @Option )
                @File GENOA1K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\GENOA1K.DRV
            @EndIf
            @If ( 233 [= @Option )
                @File GEN641K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\GEN641K.DRV
            @EndIf
            @If ( 234 [= @Option )
                @File TECMAR1K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TECMAR1K.DRV
            @EndIf
            @If ( 235 [= @Option )
                @File VEGA1K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\VEGA1K.DRV
            @EndIf
            @If ( 236 [= @Option )
                @File VECT768.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\VECT768.DRV
            @EndIf
            @If ( 237 [= @Option )
                @File TRI1K.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TRI1K.DRV
            @EndIf
            @If ( 238 [= @Option )
                @File VECTRXAT.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\VECTRXAT.DRV
            @EndIf
            @If ( 239 [= @Option )
                @File VECTRXPC.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\VECTRXPC.DRV
            @EndIf
            @If ( 240 [= @Option )
                @File VECT1280.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\VECT1280.DRV
            @EndIf
            @If ( 241 [= @Option )
                @File WYSE700B.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\WYSE700B.DRV
            @EndIf
            @If ( 242 [= @Option )
                @File WYSE700C.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\WYSE700C.DRV
            @EndIf
            @If ( 243 [= @Option )
                @File TIGA.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TIGA.DRV
            @EndIf

            @If ( 300 [= @Option  )
                @File APPLE410.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\APPLE410.DRV
            @EndIf
            @If ( 301 [= @Option  )
                @File CALCOMP1.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CALCOMP1.DRV
            @EndIf
            @If ( 302 [= @Option  )
                @File CALCOMP2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CALCOMP2.DRV
            @EndIf
            @If ( 303 [= @Option  )
                @File DXF.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\DXF.DRV
            @EndIf
            @If ( 304 [= @Option  )
                @File EPS1.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPS1.DRV
            @EndIf
            @If ( 305 [= @Option  )
                @File EPS2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPS2.DRV
            @EndIf
            @If ( 306 [= @Option  )
                @File EPS3.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPS3.DRV
            @EndIf
            @If ( 307 [= @Option  )
                @File EPS4.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPS4.DRV
            @EndIf
            @If ( 308 [= @Option  )
                @File GENERIC.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\GENERIC.DRV
            @EndIf
            @If ( 309 [= @Option  )
                @File GERBER.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\GERBER.DRV
            @EndIf
            @If ( 310 [= @Option  )
                @File GERBER2X.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\GERBER2X.DRV
            @EndIf
            @If ( 311 [= @Option  )
                @File GERBER34.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\GERBER34.DRV
            @EndIf
            @If ( 312 [= @Option || 316 [= @Option  )
                @File HP2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HP2.DRV
            @EndIf
            @If ( 313 [= @Option  )
                @File HI.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HI.DRV
            @EndIf
            @If ( 314 [= @Option  )
                @File HI29.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HI29.DRV
            @EndIf
            @If ( 315 [= @Option  )
                @File HP.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HP.DRV
            @EndIf
            @If ( 317 [= @Option  )
                @File HPX.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPX.DRV
            @EndIf
            @If ( 318 [= @Option  )
                @File PSCRIPT.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\PSCRIPT.DRV
            @EndIf
            @If ( 319 [= @Option  )
                @File PSCRIPT2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\PSCRIPT2.DRV
            @EndIf
            @If ( 320 [= @Option  )
                @File DXY101.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\DXY101.DRV
            @EndIf
            @If ( 321 [= @Option  )
                @File DXY800.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\DXY800.DRV
            @EndIf
            @If ( 322 [= @Option  )
                @File WG.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\WG.DRV
            @EndIf
            @If ( 323 [= @Option  )
                @File PWORD.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\PWORD.DRV
            @EndIf

            @If ( 400 [= @Option )
                @File AMT.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\AMT.DRV
            @EndIf
            @If ( 401 [= @Option )
                @File AMT_ACEL.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\AMT_ACEL.DRV
            @EndIf
            @If ( 402 [= @Option )
                @File CITH1550.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CITH1550.DRV
            @EndIf
            @If ( 403 [= @Option )
                @File CITOH310.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CITOH310.DRV
            @EndIf
            @If ( 404 [= @Option )
                @File CANON150.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CANON150.DRV
            @EndIf
            @If ( 405 [= @Option )
                @File CANON300.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CANON300.DRV
            @EndIf
            @If ( 406 [= @Option )
                @File CANON75.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\CANON75.DRV
            @EndIf
            @If ( 407 [= @Option || 442 [= @Option )
                @File IBMCOLOR.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\IBMCOLOR.DRV
            @EndIf
            @If ( 408 [= @Option || 443 [= @Option )
                @File EPSON.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPSON.DRV
            @EndIf
            @If ( 409 [= @Option )
                @File EPSONMX.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPSONMX.DRV
            @EndIf
            @If ( 410 [= @Option || 444 [= @Option )
                @File EPSONFX2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPSONFX2.DRV
            @EndIf
            @If ( 411 [= @Option || 445 [= @Option )
                @File EPSONFX.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPSONFX.DRV
            @EndIf
            @If ( 412 [= @Option )
                @File LQ1000.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\LQ1000.DRV
            @EndIf
            @If ( 413 [= @Option )
                @File LQ1000_2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\LQ1000_2.DRV
            @EndIf
            @If ( 414 [= @Option )
                @File EPSONVP.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\EPSONVP.DRV
            @EndIf
            @If ( 415 [= @Option )
                @File HPDESK1.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPDESK1.DRV
            @EndIf
            @If ( 416 [= @Option )
                @File HPDESK2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPDESK2.DRV
            @EndIf
            @If ( 417 [= @Option )
                @File HPDESK3.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPDESK3.DRV
            @EndIf
            @If ( 418 [= @Option )
                @File HPDESK4.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPDESK4.DRV
            @EndIf
            @If ( 419 [= @Option )
                @File HPDESK5.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPDESK5.DRV
            @EndIf
            @If ( 420 [= @Option )
                @File HPDESK6.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPDESK6.DRV
            @EndIf
            @If ( 421 [= @Option )
                @File HPDESK7.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPDESK7.DRV
            @EndIf
            @If ( 422 [= @Option )
                @File HPDESK8.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPDESK8.DRV
            @EndIf
            @If ( 423 [= @Option )
                @File HPLASER1.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPLASER1.DRV
            @EndIf
            @If ( 424 [= @Option )
                @File HPLASER2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPLASER2.DRV
            @EndIf
            @If ( 425 [= @Option )
                @File HPLASER3.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPLASER3.DRV
            @EndIf
            @If ( 426 [= @Option )
                @File HPLASER4.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPLASER4.DRV
            @EndIf
            @If ( 427 [= @Option )
                @File HPLASER5.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPLASER5.DRV
            @EndIf
            @If ( 428 [= @Option )
                @File HPLASER6.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPLASER6.DRV
            @EndIf
            @If ( 429 [= @Option )
                @File HPLASER7.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPLASER7.DRV
            @EndIf
            @If ( 430 [= @Option )
                @File HPLASER8.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPLASER8.DRV
            @EndIf
            @If ( 431 [= @Option )
                @File HP2K1.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HP2K1.DRV
            @EndIf
            @If ( 432 [= @Option )
                @File HP2K2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HP2K2.DRV
            @EndIf
            @If ( 433 [= @Option )
                @File HP2K3.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HP2K3.DRV
            @EndIf
            @If ( 434 [= @Option )
                @File HP2K4.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HP2K4.DRV
            @EndIf
            @If ( 435 [= @Option )
                @File HPINKJET.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPINKJET.DRV
            @EndIf
            @If ( 436 [= @Option )
                @File HPQUIET1.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPQUIET1.DRV
            @EndIf
            @If ( 437 [= @Option )
                @File HPQUIET2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPQUIET2.DRV
            @EndIf
            @If ( 438 [= @Option )
                @File HPQUIET3.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPQUIET3.DRV
            @EndIf
            @If ( 439 [= @Option )
                @File HPQUIET4.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPQUIET4.DRV
            @EndIf
            @If ( 440 [= @Option )
                @File HPPAINT1.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPPAINT1.DRV
            @EndIf
            @If ( 441 [= @Option )
                @File HPPAINT2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\HPPAINT2.DRV
            @EndIf
            @If ( 446 [= @Option )
                @File JDL750.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\JDL750.DRV
            @EndIf
            @If ( 447 [= @Option )
                @File JDL850.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\JDL850.DRV
            @EndIf
            @If ( 448 [= @Option )
                @File NECPR201.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\NECPR201.DRV
            @EndIf
            @If ( 449 [= @Option )
                @File NEC8023.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\NEC8023.DRV
            @EndIf
            @If ( 450 [= @Option )
                @File OKI92.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\OKI92.DRV
            @EndIf
            @If ( 451 [= @Option )
                @File OKI192.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\OKI192.DRV
            @EndIf
            @If ( 452 [= @Option )
                @File OKI2410.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\OKI2410.DRV
            @EndIf
            @If ( 453 [= @Option )
                @File STAR10.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\STAR10.DRV
            @EndIf
            @If ( 454 [= @Option )
                @File TALLY80.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TALLY80.DRV
            @EndIf
            @If ( 455 [= @Option )
                @File TI850.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TI850.DRV
            @EndIf
            @If ( 456 [= @Option )
                @File TOSHIBA2.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TOSHIBA2.DRV
            @EndIf
            @If ( 457 [= @Option )
                @File TOSHIBA.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\TOSHIBA.DRV
            @EndIf
            @If ( 458 [= @Option )
                @File VERSATEC.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\VERSATEC.DRV
            @EndIf
            @If ( 459 [= @Option )
                @File RASTER.DRV
                    @Out0k \\@ORCADESP\\PCB\\DRIVER\\RASTER.DRV
            @EndIf

            @File GENDRIVE.DAT
                @Out0k \\@ORCADESP\\PCB\\DRIVER\\GENDRIVE.DAT
            @File GENDRIVE.DRV
                @Out0k \\@ORCADESP\\PCB\\DRIVER\\GENDRIVE.DRV
            @File GENDRIVE.EXE
                @Out0k \\@ORCADESP\\PCB\\DRIVER\\GENDRIVE.EXE
            @File ESPINTER.DRV
                @Out0k \\@ORCADESP\\PCB\\DRIVER\\ESPINTER.DRV

            @File RASTER.DOC
                @Out0k \\@ORCADESP\\PCB\\RASTER.DOC
            @File VERCABLE.LIB
                @Out0k \\@ORCADESP\\SDT\\LIBRARY\\VERCABLE.LIB
            @File VERCABLE.SCH
                @Out0k \\@ORCADESP\\PCB\\VERCABLE.SCH
            @File PLOTTER.DRV
                @Out0k \\@ORCADESP\\PCB\\DRIVER\\PLOTTER.DRV
            @File PRINTER.DRV
                @Out0k \\@ORCADESP\\PCB\\DRIVER\\PRINTER.DRV
        @EndLib
    @endIf
@EndDisk

@DefineDisk
    @Label = "PCB Disk 2"

    @If (1 [= @Option || 3 [= @Option)
        /*  The comment delimiters located in columns 1 and 2 positioned
            around IF and ENDIF statements are there to denote that these
            will always get installed regardless of what the user selected.
            The reason for this is that the tutorial files need those
            particular device files. The IF's and ENDIF's were left in so
            that it was obvious that this was done for a reason.
        */
        @If ( 100 [= @Option )  
            @BeginLib 7SEGDISP.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 101 [= @Option )  
            @BeginLib CAPMISC.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 102 [= @Option )  
            @BeginLib CAPSMCER.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 103 [= @Option )
            @BeginLib CAPSMTNT.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 104 [= @Option ) 
            @BeginLib CONNECTR.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 105 [= @Option ) 
            @BeginLib CRYSTAL.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 106 [= @Option )  
            @BeginLib DIODE.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
/*      @If ( 107 [= @Option ) 
*/          @BeginLib DIP.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
/*      @EndIf
*/      @If ( 108 [= @Option ) 
            @BeginLib FLATPACK.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 109 [= @Option ) 
            @BeginLib HEADER.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 110 [= @Option )  
            @BeginLib ILEADDIP.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 111 [= @Option ) 
            @BeginLib INDUCTOR.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 112 [= @Option )  
            @BeginLib JEDPLCCA.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 113 [= @Option )  
            @BeginLib JEDRLCCJ.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 114 [= @Option )  
            @BeginLib JEDSLCCJ.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 115 [= @Option )  
            @BeginLib JSOIC.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 116 [= @Option )  
            @BeginLib LCC.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 117 [= @Option )  
            @BeginLib MINIPLCC.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 118 [= @Option )  
            @BeginLib QUADPACK.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 119 [= @Option )  
            @BeginLib RESMISC.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 120 [= @Option )  
            @BeginLib RESMOUNT.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 121 [= @Option )  
            @BeginLib RESPOT.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 122 [= @Option )  
            @BeginLib SIP.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 123 [= @Option ) 
            @BeginLib SOIC.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 124 [= @Option ) 
            @BeginLib SOP.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 125 [= @Option ) 
            @BeginLib SWITCH.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 126 [= @Option )  
            @BeginLib TESTPNT.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 127 [= @Option )  
            @BeginLib TUBULAR.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 128 [= @Option ) 
            @BeginLib XFORMER.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 129 [= @Option ) 
            @BeginLib XSISTOR.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
        @If ( 130 [= @Option )  
            @BeginLib XSISTORI.PLB
                @File *.*
                    @Out0K \\@OrCADESP\\PCB\\MODULE\\*.*
            @EndLib
        @EndIf
    @EndIf

    @If (1 [= @Option || 2 [= @Option)
        @BeginLib  PCB2.PLB
            @File    *.*
                @Out0k   \\@ORCADEXE\\*.*
        @EndLib
    @EndIf

    @If (1 [= @Option || 7 [= @Option)
        @BeginLib  SDTLIB.PLB
                @File    *.*
                    @Out0k   \\@ORCADESP\\SDT\\LIBRARY\\*.*
        @EndLib
    @EndIf

    @If (1 [= @Option || 4 [= @Option)
        @BeginLib  STRATEGY.PLB
            @File    *.*
                @Out0k   \\@ORCADESP\\PCB\\STRATEGY\\*.*
        @EndLib
    @EndIf

    @If (1 [= @Option || 5 [= @Option)
        @BeginLib  STUFFILE.PLB
            @File    *.*
                @Out0k   \\@ORCADESP\\PCB\\MODSTUFF\\*.*
        @EndLib
    @EndIf

    @If (1 [= @Option || 8 [= @Option)
        @BeginLib  TUTOR.PLB
            @If ( 20 [= @Option || (@ESPFLAG == 1) )
                @File    *.*
                    @Out0k   \\@ORCADPROJ\\TUTOR\\*.*
            @Else
                @File    *.*
                    @Out0k   \\@ORCADPROJ\\PCB\\TUTOR\\*.*
            @EndIf
        @EndLib
    @EndIf
@EndDisk

@Finish
    @ChDrive @OutDrive

    @If ( 20 [= @Option || (@ESPFLAG == 1) )
        @ChDir   "@OutDrive:\\@ORCADPROJ\\@DESIGN"
    @Else
        @ChDir   "@OutDrive:\\@ORCADEXE"
    @EndIf

    @If (1 [= @Option || 2 [= @Option )

        @System "Echo PMOD='@OutDrive:@ORCADESP\\PCB\\MODULE\\' >> PCB.CFG"
        @System "Echo PSTR='@OutDrive:@ORCADESP\\PCB\\STRATEGY\\' >> PCB.CFG"
        @System "echo PDRV='@OutDrive:@ORCADESP\\PCB\\DRIVER\\' >> PCB.CFG"

        @If ( ((@ESPFLAG == 1) && (@EMSFLAG == 1))
            || ( 22 [= @Option ) )
                @System "Echo DD='ESPINTER.DRV' >> PCB.CFG"
        @EndIf

        @If ( 21 [= @Option || 23 [= @Option )
            @If ( 500 [= @Option )
                @System "Echo DD='EGA16E.DRV' >> PCB.CFG"
            @ElseIf ( 501 [= @Option )
                @System "Echo DD='HGC2.DRV' >> PCB.CFG"
            @ElseIf ( 502 [= @Option )
                @System "Echo DD='VGA640.DRV' >> PCB.CFG"
            @ElseIf ( 503 [= @Option )
                @System "Echo DD='CGA4.DRV' >> PCB.CFG"
            @ElseIf ( 504 [= @Option )
                @System "Echo DD='CGA2.DRV' >> PCB.CFG"
            @ElseIf ( 505 [= @Option )
                @System "Echo DD='EGA16C2.DRV' >> PCB.CFG"
            @ElseIf ( 506 [= @Option )
                @System "Echo DD='TGM16N.DRV' >> PCB.CFG"
            @ElseIf ( 507 [= @Option )
                @System "Echo DD='EGA2.DRV' >> PCB.CFG"
            @ElseIf ( 508 [= @Option )
                @System "Echo DD='EGA4E.DRV' >> PCB.CFG"
            @ElseIf ( 509 [= @Option )
                @System "Echo DD='ATT2C.DRV' >> PCB.CFG"
            @ElseIf ( 510 [= @Option )
                @System "Echo DD='HPVECTRA.DRV' >> PCB.CFG"
            @ElseIf ( 511 [= @Option )
                @System "Echo DD='NCR2.DRV' >> PCB.CFG"
            @ElseIf ( 512 [= @Option )
                @System "Echo DD='TANDY2k.DRV' >> PCB.CFG"
            @ElseIf ( 513 [= @Option )
                @System "Echo DD='TELECAT.DRV' >> PCB.CFG"
            @ElseIf ( 514 [= @Option )
                @System "Echo DD='T3100.DRV' >> PCB.CFG"
            @ElseIf ( 515 [= @Option )
                @System "Echo DD='WYSE700a.DRV' >> PCB.CFG"
            @ElseIf ( 516 [= @Option )
                @System "Echo DD='NCR4.DRV' >> PCB.CFG"
            @ElseIf ( 517 [= @Option )
                @System "Echo DD='ATT16C.DRV' >> PCB.CFG"
            @ElseIf ( 518 [= @Option )
                @System "Echo DD='SIGMA400.DRV' >> PCB.CFG"
            @ElseIf ( 519 [= @Option )
                @System "Echo DD='TGM16I.DRV' >> PCB.CFG"
            @ElseIf ( 520 [= @Option )
                @System "Echo DD='MCGA480.DRV' >> PCB.CFG"
            @ElseIf ( 521 [= @Option )
                @System "Echo DD='TGM4N.DRV' >> PCB.CFG"
            @ElseIf ( 522 [= @Option )
                @System "Echo DD='CPTHGC.DRV' >> PCB.CFG"
            @ElseIf ( 523 [= @Option )
                @System "Echo DD='TGM2N.DRV' >> PCB.CFG"
            @ElseIf ( 524 [= @Option )
                @System "Echo DD='TGM4I.DRV' >> PCB.CFG"
            @ElseIf ( 525 [= @Option )
                @System "Echo DD='TGM2I.DRV' >> PCB.CFG"
            @ElseIf ( 526 [= @Option )
                @System "Echo DD='CPTFULL.DRV' >> PCB.CFG"
            @ElseIf ( 527 [= @Option )
                @System "Echo DD='GENIUS.DRV' >> PCB.CFG"
            @ElseIf ( 528 [= @Option )
                @System "Echo DD='ADS.DRV' >> PCB.CFG"
            @ElseIf ( 529 [= @Option )
                @System "Echo DD='AHEAD1K.DRV' >> PCB.CFG"
            @ElseIf ( 530 [= @Option )
                @System "Echo DD='ATI1K.DRV' >> PCB.CFG"
            @ElseIf ( 531 [= @Option )
                @System "Echo DD='CHIPS1K.DRV' >> PCB.CFG"
            @ElseIf ( 532 [= @Option )
                @System "Echo DD='GENOA1K.DRV' >> PCB.CFG"
            @ElseIf ( 533 [= @Option )
                @System "Echo DD='GEN641K.DRV' >> PCB.CFG"
            @ElseIf ( 534 [= @Option )
                @System "Echo DD='TECMAR1K.DRV' >> PCB.CFG"
            @ElseIf ( 535 [= @Option )
                @System "Echo DD='VEGA1K.DRV' >> PCB.CFG"
            @ElseIf ( 536 [= @Option )
                @System "Echo DD='VECT768.DRV' >> PCB.CFG"
            @ElseIf ( 537 [= @Option )
                @System "Echo DD='TRI1K.DRV' >> PCB.CFG"
            @ElseIf ( 538 [= @Option )
                @System "Echo DD='VECTRXAT.DRV' >> PCB.CFG"
            @ElseIf ( 539 [= @Option )
                @System "Echo DD='VECTRXPC.DRV' >> PCB.CFG"
            @ElseIf ( 540 [= @Option )
                @System "Echo DD='VECT1280.DRV' >> PCB.CFG"
            @ElseIf ( 541 [= @Option )
                @System "Echo DD='WYSE700b.DRV' >> PCB.CFG"
            @ElseIf ( 542 [= @Option )
                @System "Echo DD='WYSE700c.DRV' >> PCB.CFG"
            @ElseIf ( 543 [= @Option )
                @System "Echo DD='TIGA.DRV' >> PCB.CFG"
            @Else
                @System "echo DD='EGA16E.DRV' >> PCB.CFG"
            @EndIf
        @EndIf

        @System "@OutDrive:@ORCADEXE\\PCB_C /B"

        @If ( 20 [= @Option || (@ESPFLAG == 1) )
            @System "Copy PCB.CFG \\@ORCADPROJ\\TUTOR\\PCB.CFG"
            @System "Copy ORCADPCB.OVL \\@ORCADPROJ\\TUTOR\\ORCADPCB.OVL"
        @Else
            @System "If EXIST PCB_C.EXE DEL PCB_C.EXE"
            @System "If EXIST PCB.CFG   DEL   PCB.CFG"
        @EndIf
            
        @Cls

                OrCAD Printed Circuit Board Layout Tools @Version



                             Installation Complete



           Remember to send in the registration card to receive the
               OrCAD Pointer newsletter and product updates.
        
        
        @Pause
    @EndIf
@EndFinish  
