home *** CD-ROM | disk | FTP | other *** search
- /* Installation for U.S. and Canadian version of OrCAD/VST */
-
- @DefineProject
- @Name = "OrCAD/VST"
- @Version = "V4.04n"
- @EndProject
-
- @DefineVars
- @Dir @ORCADPROJ = "\\ORCAD"
- @Dir @ORCADEXE = "\\ORCADEXE"
- @Dir @ORCADESP = "\\ORCADESP"
- @EndVars
-
- @GetOption
- @Cls
- Select one of the following items:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- NOTE: If you haven't installed VST Release IV from these disks yet don't
- choose any of the reinstallation choices, choose the standard install.
- @Option 1 = " Standard Installation of VST Release IV PRODUCT files"
- @Option 2 = " Reinstallation of VST Release IV MODEL files"
- @Option 3 = " Reinstallation of VST Release IV TUTORIAL files"
- @Option 4 = " Reinstallation of VST Release IV EXECUTABLE files"
- @EndOption
-
- @If (1 [= @Option)
- @GetOption
- @Cls
- Please select your generic display adapter type for Simulation:
-
- @Option 100 = "EGA display adapter"
- @Option 101 = "VGA display adapter"
- @Option 102 = "VESA display adapter"
- @Option 103 = "Hercules Monochrome"
- @EndOption
- @Endif
-
-
- @If (1 [= @Option || 2 [= @Option)
- @GetOption
- @CheckBox
- @Cls
- Select one or more model source files to INSTALL on your HARD DISK.
- MODEL Source Files
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 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 = " TTL.DSF 74xx "
- @Option 201 = " AC.DSF 74ACxx "
- @Option 202 = " AC11.DSF 74AC11xx "
- @Option 203 = " ACT.DSF 74ACTxx "
- @Option 204 = " AHCT.DSF 74AHCTxx "
- @Option 205 = " ALS.DSF 74ALSxx "
- @Option 206 = " AS.DSF 74ASxx "
- @Option 207 = " F.DSF 74Fxx "
- @Option 208 = " FCT.DSF 74FCTxx "
- @Option 209 = " HC.DSF 74HCxx "
- @Option 210 = " HCT.DSF 74HCTxx "
- @Option 211 = " LS.DSF 74LSxx "
- @Option 212 = " S.DSF 74Sxx "
- @Option 213 = " CMOS.DSF CMOS devices "
- @Option 214 = " ECL.DSF ECL devices "
- @Option 215 = " ALTERA_M.DSF Altera A+PLUS Macros "
- @Option 216 = " ALTERA_P.DSF Altera A+PLUS Primitives "
- @Option 217 = " INTEL_M.DSF Intel iPLSII Macros "
- @Option 218 = " INTEL_P.DSF Intel iPLSII Primitives "
- @Option 219 = " RAM.DSF RAM devices "
- @Option 220 = " ROM.DSF ROM device shells"
- @EndOption
-
- @GetOption
- @CheckBox
- @Cls
-
- @Option 300 = "74xx"
-
- @If ( 201 [= @Option)
- @Option 301 = "74ACxx"
- @Endif
- @If ( 202 [= @Option)
- @Option 302 = "74AC11xx"
- @Endif
- @If ( 203 [= @Option)
- @Option 303 = "74ACTxx"
- @Endif
- @If ( 204 [= @Option)
- @Option 304 = "74AHCTxx"
- @Endif
- @If ( 205 [= @Option)
- @Option 305 = "74ALSxx"
- @Endif
- @If ( 206 [= @Option)
- @Option 306 = "74ASxx"
- @Endif
- @If ( 207 [= @Option)
- @Option 307 = "74Fxx"
- @Endif
- @If ( 208 [= @Option)
- @Option 308 = "74FCTxx"
- @Endif
- @If ( 209 [= @Option)
- @Option 309 = "74HCxx"
- @Endif
- @If ( 210 [= @Option)
- @Option 310 = "74HCTxx"
- @Endif
- @If ( 211 [= @Option)
- @Option 311 = "74LSxx"
- @Endif
- @If ( 212 [= @Option)
- @Option 312 = "74Sxx"
- @Endif
- @If ( 213 [= @Option)
- @Option 313 = "CMOS devices"
- @Endif
- @If ( 214 [= @Option)
- @Option 314 = "ECL devices"
- @Endif
- @If ( 215 [= @Option)
- @Option 315 = "Altera Macros"
- @Endif
- @If ( 216 [= @Option)
- @Option 316 = "Altera Primitives"
- @Endif
- @If ( 217 [= @Option)
- @Option 317 = "Intel Macros"
- @Endif
- @If ( 218 [= @Option)
- @Option 318 = "Intel Primitives"
- @Endif
- @If ( 219 [= @Option)
- @Option 319 = "RAM devices"
- @EndIF
- @If ( 220 [= @Option)
- @Option 320 = "ROM device shells"
- @EndIf
- @Cls
- Select one or more model source files to COMPILE into your MODEL LIBRARY.
- MODEL Source Files
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 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.
- @EndOption
- @EndIf
-
- @DefineDisk
- @Label = "VST Disk 1"
-
- @If (1 [= @Option)
- @File READ.ME
- @Out0k \\@ORCADESP\\VST\\README.VST
- @EndIf
-
- @If (1 [= @Option || 4 [= @Option)
- @BeginLib VST.PLB
- @File *.EXE
- @Out0k \\@ORCADEXE\\*.EXE
- @EndLib
- @EndIf
-
- @If (1 [= @Option || 2 [= @Option)
- @BeginLib VLIB.PLB
- @If ( 1 [= @Option )
- @File PRIMITIV.*
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\PRIMITIV.*
- @File PRIMITIV.DAT
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\MODEL.DAT
- @File PRIMITIV.NDX
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\MODEL.NDX
- @EndIf
-
- @If ( 2 [= @Option )
- @If (@Exists "@OutDrive:\\@ORCADESP\\VST\\LIBRARY\\Primitiv.DAT")
- /* If option 2 (Reinstall templates) is valid and
- PRIMITIV.DAT already exists don't reinstall the
- library and index files as the user has probably
- inserted some templates previously and reinstalling
- the library and index files will overwrite their
- existing files.
- */
- @Else
- /* If PRIMITIV.DAT doesn't exist reinstall the library
- and index files because they will be needed for
- the templates to be inserted.
- */
- @File PRIMITIV.*
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\PRIMITIV.*
- @File PRIMITIV.DAT
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\MODEL.DAT
- @File PRIMITIV.NDX
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\MODEL.NDX
- @EndIf
- @EndIf
-
- @File TTL.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\TTL.DSF
-
- @If (201 [= @Option)
- @File AC.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\AC.DSF
- @EndIf
- @If (202 [= @Option)
- @File AC11.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\AC11.DSF
- @EndIf
- @If (203 [= @Option)
- @File ACT.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\ACT.DSF
- @EndIf
- @If (204 [= @Option)
- @File AHCT.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\AHCT.DSF
- @EndIf
- @If (205 [= @Option)
- @File ALS.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\ALS.DSF
- @EndIf
- @If (206 [= @Option)
- @File AS.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\AS.DSF
- @EndIf
- @If (207 [= @Option)
- @File F.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\F.DSF
- @EndIf
- @If (208 [= @Option)
- @File FCT.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\FCT.DSF
- @EndIf
- @If (209 [= @Option)
- @File HC.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\HC.DSF
- @EndIf
- @If (210 [= @Option)
- @File HCT.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\HCT.DSF
- @EndIf
- @If (211 [= @Option)
- @File LS.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\LS.DSF
- @EndIf
- @If (212 [= @Option)
- @File S.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\S.DSF
- @EndIf
- @If (213 [= @Option)
- @File CMOS.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\CMOS.DSF
- @EndIf
- @If (214 [= @Option)
- @File ECL.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\ECL.DSF
- @EndIf
- @If (215 [= @Option)
- @File ALTERA_M.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\ALTERA_M.DSF
- @EndIf
- @If (216 [= @Option)
- @File ALTERA_P.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\ALTERA_P.DSF
- @EndIf
- @If (217 [= @Option)
- @File INTEL_M.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\INTEL_M.DSF
- @EndIf
- @If (218 [= @Option)
- @File INTEL_P.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\INTEL_P.DSF
- @EndIf
- @If (219 [= @Option)
- @File RAM.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\RAM.DSF
- @EndIf
- @If (220 [= @Option)
- @File ROM.DSF
- @Out0k \\@ORCADESP\\VST\\LIBRARY\\ROM.DSF
- @EndIf
- @EndLib
- @EndIf
-
- @If (1 [= @Option)
- @BeginLib VSTDOCS.PLB
- @File *.*
- @Out0k \\@ORCADESP\\VST\\*.*
- @EndLib
- @EndIf
-
- @If (1 [= @Option || 3 [= @Option)
- @BeginLib TUTOR.PLB
- @File *.*
- @Out0k \\@ORCADPROJ\\TUTOR\\*.*
- @EndLib
- @EndIf
-
- @EndDisk
-
- @Finish
- @ChDrive @OutDrive
-
- @If (1 [= @Option || 2 [= @Option)
- @If (@Exists "@OutDrive:\\@OrcadPROJ\\Template\\ESP.CFG")
- @ElseIf (@Exists "@OutDrive:\\@OrcadPROJ\\Template\\VST.CFG")
- @Else
- @System "MD @OrcadPROJ"
- @ChDir "@OrCADProj"
- @System "MD TEMPLATE"
- @EndIf
-
- @ChDir "@OutDrive:\\@ORCADPROJ\\Template"
-
- @If (1 [= @Option)
- @System "echo PDRV='@OutDrive:\\@ORCADESP\\DRV\\' > VST.cfg"
- @If ( 100 [= @Option )
- @System "echo DD='EGA16E.DRV' >> VST.cfg"
- @ElseIf (101 [= @Option )
- @System "echo DD='VGA640.DRV' >> VST.cfg"
- @ElseIf (102 [= @Option )
- @System "echo DD='VESA800.DRV' >> VST.cfg"
- @ElseIf (103 [= @Option )
- @System "echo DD='HGC2.DRV' >> VST.cfg"
- @Else /* Default driver to EGA if no options */
- @System "echo DD='EGA16E.DRV' >> VST.cfg"
- @EndIf
-
- @System "echo PLIB='@OutDrive:@ORCADESP\\VST\\LIBRARY\\' >> VST.cfg"
- @System "COPY VST.cfg @OutDrive:\\@ORCADPROJ\\TUTOR\\VST.cfg"
-
- @System "@OutDrive:\\@ORCADEXE\\VST_C /B"
- @System "COPY VST.bcf @OutDrive:\\@ORCADPROJ\\TUTOR\\VST.bcf"
-
- @If(@Exists "@OutDrive:\\@ORCADEXE\\SDT_C.EXE")
- @System "@OutDrive:\\@ORCADEXE\\SDT_C /B /L"
- @System "echo LIB='VSTGATES.LIB' >> TEMP.cfg"
- @System "echo LIB='VSTROM.LIB' >> TEMP.cfg"
- @System "echo LIB='VSTRAM.LIB' >> TEMP.cfg"
- @System "echo LIB='VSTOTHER.LIB' >> TEMP.cfg"
- @System "COPY TEMP.CFG VSTSDT.CFG"
- @System "@ORCADEXE\\SDT_C /#VSTSDT.bcf /B"
- @System "DEL TEMP.CFG"
- @System "DEL TEMP.BCF"
- @System "COPY VSTSDT.cfg @OutDrive:\\@ORCADPROJ\\TUTOR\\VSTSDT.cfg"
- @System "COPY VSTSDT.bcf @outDrive:\\@ORCADPROJ\\TUTOR\\VSTSDT.bcf"
- @EndIf
-
- @System "COPY VST.bcf @OutDrive:\\@ORCADESP\\VST\\LIBRARY"
-
- @ChDir "@OutDrive:\\@ORCADPROJ\\TUTOR"
-
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO .\\TUTOR.DSF"
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO .\\HRS.DSF"
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO .\\MINSEC.DSF"
- @Endif
-
- @If ( 2 [= @Option )
-
- @If (@Exists "VST.BCF")
- @System "COPY VST.bcf @OutDrive:\\@ORCADESP\\VST\\LIBRARY"
- @Else
- @If (@Exists "VST.CFG")
- @Else
- @System "echo PLIB='@OutDrive:@ORCADESP\\VST\\LIBRARY\\' > VST.cfg"
- @EndIf
- @If (@Exists "@OutDrive:\\@ORCADEXE\\VST_C.EXE")
- @System "@OutDrive:\\@ORCADEXE\\VST_C /B"
- @System "COPY VST.bcf @OutDrive:\\@ORCADESP\\VST\\LIBRARY"
- @Else
- @Cls
- *** ERROR: VST_C.EXE not Found! Install VST PRODUCT FILES.
- @Pause
- @Abort
- @EndIf
- @EndIf
- @EndIf
-
- @ChDir "@OutDrive:\\@ORCADESP\\VST\\LIBRARY"
-
- @System "Cls"
- @Cls
-
- @If (300 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO TTL.DSF"
- @EndIf
- @If (301 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO AC.DSF"
- @EndIf
- @If (302 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO AC11.DSF"
- @EndIf
- @If (303 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO ACT.DSF"
- @EndIf
- @If (304 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO AHCT.DSF"
- @EndIf
- @If (305 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO ALS.DSF"
- @EndIf
- @If (306 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO AS.DSF"
- @EndIf
- @If (307 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO F.DSF"
- @EndIf
- @If (308 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO FCT.DSF"
- @EndIf
- @If (309 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO HC.DSF"
- @EndIf
- @If (310 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO HCT.DSF"
- @EndIf
- @If (311 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO LS.DSF"
- @EndIf
- @If (312 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO S.DSF"
- @EndIf
- @If (313 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO CMOS.DSF"
- @EndIf
- @If (314 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO ECL.DSF"
- @EndIf
- @If (315 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO ALTERA_M.DSF"
- @EndIf
- @If (316 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO ALTERA_P.DSF"
- @EndIf
- @If (317 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO INTEL_M.DSF"
- @EndIf
- @If (318 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO INTEL_P.DSF"
- @EndIf
- @If (319 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO RAM.DSF"
- @EndIf
- @If (320 [= @Option)
- @System "@OutDrive:\\@ORCADEXE\\MODELPRO ROM.DSF"
- @EndIf
-
- @System "Cls"
- @Cls
-
- @If (1 [= @Option)
- @Cls
-
-
-
- OrCAD Digital Simulation Tools
-
-
- Installation Complete
-
-
-
- Remember to send in the registration card to receive the
- OrCAD Pointer newsletter and product updates.
-
- @Pause
- @EndIf
- @EndIf
-
- @ChDir "@OutDrive:\\@ORCADPROJ\\TEMPLATE"
-
- @If (2 [= @Option || 3 [= @Option || 4 [= @Option)
- @Cls
-
-
-
- OrCAD Digital Simulation Tools
-
-
- Reinstallation process complete
-
-
-
-
-
-
-
- @Pause
- @EndIf
-
- @EndFinish
-