home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1990-12-10 | 4.4 KB | 161 lines |
- /* Installation for OrCAD/Install */
-
- @DefineProject
- @Name = "OrCAD/Install"
- @Version = "V1.10"
- @OutDrive = C
- @SubDir = "\\ORCADESP\\"
- @EndProject
-
- @DefineVars
- @Dir @ORCADPROJ = "\\ORCAD"
- @Dir @ORCADEXE = "\\ORCADEXE"
- @Dir @ORCADESP = "\\ORCADESP"
- @EndVars
-
- @GetOption
- @CheckBox
- @Cls
- Select one or more tool sets to install onto your system.
- ORCAD TOOL SETS
-
-
-
-
-
-
-
-
-
-
-
- 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 1 = " OrCAD ESP Framework " */
- @Option 2 = " OrCAD Schematic Design Tools "
- @Option 3 = " OrCAD Digital Simulation Tools "
- @Option 4 = " OrCAD PC Board Layout Tools "
- @Option 5 = "OrCAD Programmable Logic Device Tools"
- @Option 6 = " OrCAD Modeling Tools "
- @EndOption
-
- @GetInDrive
- @CLS
- Which disk drive will the floppy disk be?
- @EndInDrive
-
- @GetOutDrive
- @CLS
- Where do you want to install the software?
- @EndOutDrive
-
- @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 = "What directory for ORCADESP ([Enter] = @ORCADESP) ?"
- @EndSubDir
-
- @GetSubdir @ORCADPROJ
- The @ORCADPROJ directory contains a subdirectory for each design
- that you will be working with. It will also contain the TEMPLATE
- design directory. The default name for this directory is @ORCADPROJ
- @Prompt = "What subdirectory for OrCAD designs ([Enter] = @ORCADPROJ) ?"
- @EndSubDir
-
- @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 = "What subdirectory for ALL OrCAD executables ([Enter] = @ORCADEXE) ?"
- @EndSubDir
-
- @SetAutoexec
- @AskOverwrite
- @Verbatim "SET ORCADEXE=@OutDrive:@ORCADEXE\\"
- @Verbatim "SET ORCADESP=@OutDrive:@ORCADESP\\"
- @Verbatim "SET ORCADPROJ=@OutDrive:@ORCADPROJ\\"
- @Verbatim "SET ORCADUSER=@OutDrive:@ORCADESP\\"
- @Path "@OutDrive:@ORCADEXE"
- @EndAutoexec
-
- @Display
- @Cls
- The products you have selected will be installed onto your
- @OutDrive disk. @ORCADEXE will contain the executable
- files. The @ORCADPROJ directory is where the design
- directories will be located. The files that are global
- in nature (like libraries) will be installed in the
- @ORCADESP directory.
-
- NOTE: This install process may update your AUTOEXEC.BAT file
- You must re-boot your system after the install is completed
- to make these changes take effect.
-
- Is this OK?
-
- @Pause
-
- @EndDisplay
-
- @Display
- @Cls
- If your AUTOEXEC.BAT file needs to be updated, this installation
- process can update it for you. If you choose to update your
- AUTOEXEC.BAT file yourself, this installation will show you
- what to add to the file. If you choose to have the installation
- update your AUTOEXEC.BAT file, a backup file AUTOEXEC.BAK will
- be created before any changes are implemented.
- @Pause
- @EndDisplay
-
-
- @DefineDisk
- @Label = "Install Master Disk"
- @File INSTALL.DAT @Option 999
- @EndDisk
-
- @Finish
- @ChDrive @InDrive
-
- @Cls
- /* @If (1 [= @Option)
- @Install "OrCAD/ESP" "ESP1"
- @EndIf */
-
- @If (2 [= @Option)
- @Install "OrCAD/SDT" "SDT Disk 1"
- @EndIf
-
- @Cls
- @If (3 [= @Option)
- @Install "OrCAD/VST" "VST Disk 1"
- @EndIf
-
- @Cls
- @If (4 [= @Option)
- @Install "OrCAD/PCB" "PCB Disk 1"
- @EndIf
-
- @Cls
- @If (5 [= @Option)
- @Install "OrCAD/PLD" "PLD Disk 1"
- @EndIf
-
- @Cls
- @If (6 [= @Option)
- @Install "OrCAD/MOD" "MOD Disk 1"
- @EndIf
-
- @Cls
- NOTE:
- If this installation updated your AUTOEXEC.BAT file, you must re-boot
- your machine to make those changes take effect.
- @Pause
-
- @EndFinish
-