home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p078 / 1.img / INSTALL2.DAT < prev    next >
Encoding:
INSTALL Professional project  |  1990-12-10  |  4.4 KB  |  161 lines

  1. /* Installation for OrCAD/Install */
  2.  
  3. @DefineProject
  4.     @Name       = "OrCAD/Install"
  5.     @Version    = "V1.10"
  6.     @OutDrive   = C
  7.     @SubDir     = "\\ORCADESP\\"
  8. @EndProject
  9.  
  10. @DefineVars
  11.     @Dir @ORCADPROJ = "\\ORCAD"
  12.     @Dir @ORCADEXE = "\\ORCADEXE"
  13.     @Dir @ORCADESP = "\\ORCADESP"
  14. @EndVars
  15.  
  16. @GetOption
  17.     @CheckBox
  18.     @Cls
  19.              Select one or more tool sets to install onto your system.
  20.                                ORCAD TOOL SETS
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.         The SPACE BAR toggles the selection between yes and no. 
  33.         The arrow keys and PGUP/PGDN keys move the selection up and down.
  34.         'Y' sets all entries to YES, 'N' sets all to NO.
  35.         Press <ENTER> when you have finished selecting.
  36. /*    @Option 1 = "         OrCAD ESP Framework         " */
  37.     @Option 2 = "     OrCAD Schematic Design Tools    "
  38.     @Option 3 = "    OrCAD Digital Simulation Tools   "
  39.     @Option 4 = "      OrCAD PC Board Layout Tools    "
  40.     @Option 5 = "OrCAD Programmable Logic Device Tools"
  41.     @Option 6 = "         OrCAD Modeling Tools        "
  42. @EndOption
  43.  
  44. @GetInDrive
  45.     @CLS
  46.     Which disk drive will the floppy disk be?
  47. @EndInDrive
  48.  
  49. @GetOutDrive
  50.     @CLS
  51.     Where do you want to install the software?
  52. @EndOutDrive
  53.  
  54. @GetSubdir @ORCADESP  
  55.     The @ORCADESP directory contains a subdirectory for each of the OrCAD
  56.     tools.  Those subdirectories contain files that are not particular
  57.     to a specific design, but are global in nature like libraries and
  58.     device models.  The default name for this directory is ORCADESP.
  59.     @Prompt = "What directory for ORCADESP ([Enter] = @ORCADESP) ?"
  60. @EndSubDir
  61.  
  62. @GetSubdir @ORCADPROJ
  63.     The @ORCADPROJ directory contains a subdirectory for each design
  64.     that you will be working with.  It will also contain the TEMPLATE
  65.     design directory.  The default name for this directory is @ORCADPROJ 
  66.     @Prompt = "What subdirectory for OrCAD designs ([Enter] = @ORCADPROJ) ?"
  67. @EndSubDir
  68.  
  69. @GetSubdir @ORCADEXE
  70.     The @ORCADEXE directory contains the executable files for every OrCAD
  71.     tool you have (or will have) installed.  The default name for this
  72.     directory is @ORCADEXE
  73.     @Prompt = "What subdirectory for ALL OrCAD executables ([Enter] = @ORCADEXE) ?"
  74. @EndSubDir
  75.  
  76. @SetAutoexec
  77.     @AskOverwrite
  78.     @Verbatim "SET ORCADEXE=@OutDrive:@ORCADEXE\\"
  79.     @Verbatim "SET ORCADESP=@OutDrive:@ORCADESP\\"
  80.     @Verbatim "SET ORCADPROJ=@OutDrive:@ORCADPROJ\\"
  81.     @Verbatim "SET ORCADUSER=@OutDrive:@ORCADESP\\"
  82.     @Path "@OutDrive:@ORCADEXE"
  83. @EndAutoexec
  84.  
  85. @Display
  86.     @Cls
  87.     The products you have selected will be installed onto your 
  88.     @OutDrive disk.  @ORCADEXE will contain the executable
  89.     files.  The @ORCADPROJ directory is where the design
  90.     directories will be located.  The files that are global
  91.     in nature (like libraries) will be installed in the
  92.     @ORCADESP directory.  
  93.  
  94.     NOTE:  This install process may update your AUTOEXEC.BAT file 
  95.            You must re-boot your system after the install is completed 
  96.            to make these changes take effect.
  97.  
  98.     Is this OK?
  99.  
  100.     @Pause
  101.     
  102. @EndDisplay
  103.  
  104. @Display
  105.     @Cls
  106.     If your AUTOEXEC.BAT file needs to be updated, this installation
  107.     process can update it for you.  If you choose to update your
  108.     AUTOEXEC.BAT file yourself, this installation will show you 
  109.     what to add to the file.  If you choose to have the installation
  110.     update your AUTOEXEC.BAT file, a backup file AUTOEXEC.BAK will
  111.     be created before any changes are implemented.
  112.     @Pause
  113. @EndDisplay
  114.  
  115.  
  116. @DefineDisk
  117.     @Label = "Install Master Disk"
  118.     @File   INSTALL.DAT @Option 999
  119. @EndDisk
  120.  
  121. @Finish
  122.     @ChDrive    @InDrive
  123.  
  124.     @Cls
  125. /*    @If (1 [= @Option)
  126.         @Install "OrCAD/ESP" "ESP1"
  127.     @EndIf  */
  128.  
  129.     @If (2 [= @Option)
  130.         @Install "OrCAD/SDT" "SDT Disk 1"
  131.     @EndIf
  132.  
  133.     @Cls
  134.     @If (3 [= @Option)
  135.         @Install "OrCAD/VST" "VST Disk 1"
  136.     @EndIf
  137.  
  138.     @Cls
  139.     @If (4 [= @Option)
  140.         @Install "OrCAD/PCB" "PCB Disk 1"
  141.     @EndIf
  142.     
  143.     @Cls
  144.     @If (5 [= @Option)
  145.         @Install "OrCAD/PLD" "PLD Disk 1"
  146.     @EndIf
  147.  
  148.     @Cls
  149.     @If (6 [= @Option)
  150.         @Install "OrCAD/MOD" "MOD Disk 1"
  151.     @EndIf
  152.  
  153.     @Cls
  154.                                   NOTE:
  155.     If this installation updated your AUTOEXEC.BAT file, you must re-boot 
  156.     your machine to make those changes take effect. 
  157.     @Pause 
  158.     
  159. @EndFinish
  160.  
  161.