home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p070 / 6.ddi / INSTALL.DAT < prev    next >
Encoding:
Text File  |  1992-01-31  |  17.8 KB  |  538 lines

  1. /*        Installation for U.S. and Canadian version of OrCAD/VST         */
  2.  
  3. @DefineProject
  4.     @Name       = "OrCAD/VST"
  5.     @Version    = "V4.04n"
  6. @EndProject
  7.  
  8. @DefineVars
  9.     @Dir @ORCADPROJ = "\\ORCAD"
  10.     @Dir @ORCADEXE = "\\ORCADEXE"
  11.     @Dir @ORCADESP = "\\ORCADESP"
  12. @EndVars
  13.  
  14. @GetOption
  15.     @Cls
  16.                         Select one of the following items:
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  NOTE: If you haven't installed VST Release IV from these disks yet don't
  36.        choose any of the reinstallation choices, choose the standard install.
  37.           @Option 1 = " Standard   Installation of VST Release IV     PRODUCT files"
  38.           @Option 2 = "          Reinstallation of VST Release IV       MODEL files"
  39.           @Option 3 = "          Reinstallation of VST Release IV    TUTORIAL files"
  40.           @Option 4 = "          Reinstallation of VST Release IV  EXECUTABLE files"
  41. @EndOption
  42.  
  43. @If (1 [= @Option)
  44.      @GetOption
  45.           @Cls
  46.         Please select your generic display adapter type for Simulation:
  47.     
  48.           @Option 100 = "EGA  display adapter"
  49.           @Option 101 = "VGA  display adapter"
  50.           @Option 102 = "VESA display adapter"
  51.           @Option 103 = "Hercules  Monochrome"
  52.      @EndOption
  53. @Endif
  54.  
  55.  
  56. @If (1 [= @Option || 2 [= @Option)
  57.      @GetOption
  58.           @CheckBox 
  59.           @Cls
  60.       Select one or more model source files to INSTALL on your HARD DISK.
  61.                               MODEL Source Files
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.     
  78.         The SPACE BAR toggles the selection between yes and no. 
  79.         The arrow keys and PGUP/PGDN keys move the selection up and down.
  80.         'Y' sets all entries to YES, 'N' sets all to NO.
  81.         Press <ENTER> when you have finished selecting.
  82.          @Option 200 = "      TTL.DSF                74xx         "
  83.          @Option 201 = "       AC.DSF                74ACxx       "
  84.          @Option 202 = "     AC11.DSF                74AC11xx     "
  85.          @Option 203 = "      ACT.DSF                74ACTxx      "
  86.          @Option 204 = "     AHCT.DSF                74AHCTxx     " 
  87.          @Option 205 = "      ALS.DSF                74ALSxx      "
  88.          @Option 206 = "       AS.DSF                74ASxx       "
  89.          @Option 207 = "        F.DSF                74Fxx        "
  90.          @Option 208 = "      FCT.DSF                74FCTxx      "
  91.          @Option 209 = "       HC.DSF                74HCxx       "
  92.          @Option 210 = "      HCT.DSF                74HCTxx      "
  93.          @Option 211 = "       LS.DSF                74LSxx       "
  94.          @Option 212 = "        S.DSF                74Sxx        "
  95.          @Option 213 = "     CMOS.DSF           CMOS devices      "
  96.          @Option 214 = "      ECL.DSF            ECL devices      "
  97.          @Option 215 = " ALTERA_M.DSF  Altera A+PLUS Macros       "
  98.          @Option 216 = " ALTERA_P.DSF  Altera A+PLUS Primitives   " 
  99.          @Option 217 = "  INTEL_M.DSF   Intel iPLSII Macros       "
  100.          @Option 218 = "  INTEL_P.DSF   Intel iPLSII Primitives   "
  101.          @Option 219 = "      RAM.DSF            RAM devices      "  
  102.          @Option 220 = "      ROM.DSF            ROM device shells"
  103.      @EndOption
  104.  
  105.      @GetOption
  106.           @CheckBox 
  107.           @Cls
  108.  
  109.          @Option 300 = "74xx"
  110.  
  111.           @If ( 201 [= @Option)
  112.               @Option 301 = "74ACxx"           
  113.           @Endif
  114.           @If ( 202 [= @Option)
  115.               @Option 302 = "74AC11xx"         
  116.           @Endif
  117.           @If ( 203 [= @Option)
  118.               @Option 303 = "74ACTxx"          
  119.           @Endif
  120.           @If ( 204 [= @Option)
  121.               @Option 304 = "74AHCTxx"         
  122.           @Endif
  123.           @If ( 205 [= @Option)
  124.               @Option 305 = "74ALSxx"          
  125.           @Endif
  126.           @If ( 206 [= @Option)
  127.               @Option 306 = "74ASxx"
  128.           @Endif
  129.           @If ( 207 [= @Option)
  130.               @Option 307 = "74Fxx"
  131.           @Endif
  132.           @If ( 208 [= @Option)
  133.               @Option 308 = "74FCTxx"
  134.           @Endif
  135.           @If ( 209 [= @Option)
  136.               @Option 309 = "74HCxx"
  137.           @Endif
  138.           @If ( 210 [= @Option)
  139.               @Option 310 = "74HCTxx"
  140.           @Endif
  141.           @If ( 211 [= @Option)
  142.               @Option 311 = "74LSxx"
  143.           @Endif
  144.           @If ( 212 [= @Option)
  145.               @Option 312 = "74Sxx"
  146.           @Endif
  147.           @If ( 213 [= @Option)
  148.               @Option 313 = "CMOS devices"
  149.           @Endif
  150.           @If ( 214 [= @Option)
  151.               @Option 314 = "ECL devices"
  152.           @Endif
  153.           @If ( 215 [= @Option)
  154.               @Option 315 = "Altera Macros"     
  155.           @Endif
  156.           @If ( 216 [= @Option)
  157.               @Option 316 = "Altera Primitives" 
  158.           @Endif
  159.           @If ( 217 [= @Option)
  160.               @Option 317 = "Intel Macros"
  161.           @Endif
  162.           @If ( 218 [= @Option)
  163.               @Option 318 = "Intel Primitives"
  164.           @Endif
  165.           @If ( 219 [= @Option)
  166.               @Option 319 = "RAM devices"
  167.           @EndIF
  168.           @If ( 220 [= @Option)
  169.               @Option 320 = "ROM device shells"
  170.           @EndIf
  171.           @Cls
  172.    Select one or more model source files to COMPILE into your MODEL LIBRARY.
  173.                               MODEL Source Files
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.         The SPACE BAR toggles the selection between yes and no. 
  190.         The arrow keys and PGUP/PGDN keys move the selection up and down.
  191.         'Y' sets all entries to YES, 'N' sets all to NO.
  192.         Press <ENTER> when you have finished selecting.
  193.      @EndOption
  194. @EndIf
  195.  
  196. @DefineDisk
  197.      @Label = "VST Disk 1"
  198.  
  199.      @If (1 [= @Option)
  200.           @File       READ.ME
  201.                @Out0k  \\@ORCADESP\\VST\\README.VST
  202.      @EndIf
  203.  
  204.      @If (1 [= @Option || 4 [= @Option)
  205.           @BeginLib VST.PLB
  206.                @File        *.EXE
  207.                     @Out0k \\@ORCADEXE\\*.EXE
  208.           @EndLib
  209.      @EndIf
  210.  
  211.      @If (1 [= @Option || 2 [= @Option)
  212.           @BeginLib VLIB.PLB
  213.                @If ( 1 [= @Option )
  214.                     @File PRIMITIV.*
  215.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\PRIMITIV.*
  216.                     @File PRIMITIV.DAT
  217.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\MODEL.DAT
  218.                     @File PRIMITIV.NDX
  219.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\MODEL.NDX
  220.                @EndIf
  221.  
  222.                @If ( 2 [= @Option )
  223.                     @If (@Exists "@OutDrive:\\@ORCADESP\\VST\\LIBRARY\\Primitiv.DAT")
  224.                         /*  If option 2 (Reinstall templates) is valid and 
  225.                             PRIMITIV.DAT already exists don't reinstall the 
  226.                             library and index files as the user has probably
  227.                             inserted some templates previously and reinstalling
  228.                             the library and index files will overwrite their
  229.                             existing files.
  230.                         */
  231.                     @Else
  232.                         /*  If PRIMITIV.DAT doesn't exist reinstall the library
  233.                             and index files because they will be needed for
  234.                             the templates to be inserted.
  235.                         */
  236.                         @File PRIMITIV.*
  237.                              @Out0k \\@ORCADESP\\VST\\LIBRARY\\PRIMITIV.*
  238.                         @File PRIMITIV.DAT
  239.                             @Out0k \\@ORCADESP\\VST\\LIBRARY\\MODEL.DAT
  240.                         @File PRIMITIV.NDX
  241.                             @Out0k \\@ORCADESP\\VST\\LIBRARY\\MODEL.NDX
  242.                     @EndIf
  243.                @EndIf
  244.  
  245.                @File TTL.DSF
  246.                     @Out0k \\@ORCADESP\\VST\\LIBRARY\\TTL.DSF
  247.  
  248.                @If (201 [= @Option)
  249.                     @File AC.DSF
  250.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\AC.DSF
  251.                @EndIf
  252.                @If (202 [= @Option)
  253.                     @File AC11.DSF
  254.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\AC11.DSF
  255.                @EndIf
  256.                @If (203 [= @Option)
  257.                     @File ACT.DSF
  258.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\ACT.DSF
  259.                @EndIf
  260.                @If (204 [= @Option)
  261.                     @File AHCT.DSF
  262.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\AHCT.DSF
  263.                @EndIf
  264.                @If (205 [= @Option)
  265.                     @File ALS.DSF
  266.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\ALS.DSF
  267.                @EndIf
  268.                @If (206 [= @Option)
  269.                     @File AS.DSF
  270.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\AS.DSF
  271.                @EndIf
  272.                @If (207 [= @Option)
  273.                     @File F.DSF
  274.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\F.DSF
  275.                @EndIf
  276.                @If (208 [= @Option)
  277.                     @File FCT.DSF
  278.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\FCT.DSF
  279.                @EndIf
  280.                @If (209 [= @Option)
  281.                     @File HC.DSF
  282.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\HC.DSF
  283.                @EndIf
  284.                @If (210 [= @Option)
  285.                     @File HCT.DSF
  286.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\HCT.DSF
  287.                @EndIf
  288.                @If (211 [= @Option)
  289.                     @File LS.DSF
  290.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\LS.DSF
  291.                @EndIf
  292.                @If (212 [= @Option)
  293.                     @File S.DSF
  294.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\S.DSF
  295.                @EndIf
  296.                @If (213 [= @Option)
  297.                     @File CMOS.DSF
  298.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\CMOS.DSF
  299.                @EndIf
  300.                @If (214 [= @Option)
  301.                     @File ECL.DSF
  302.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\ECL.DSF
  303.                @EndIf
  304.                @If (215 [= @Option)
  305.                     @File ALTERA_M.DSF
  306.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\ALTERA_M.DSF
  307.                @EndIf
  308.                @If (216 [= @Option)
  309.                     @File ALTERA_P.DSF
  310.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\ALTERA_P.DSF
  311.                @EndIf
  312.                @If (217 [= @Option)
  313.                     @File INTEL_M.DSF
  314.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\INTEL_M.DSF
  315.                @EndIf
  316.                @If (218 [= @Option)
  317.                     @File INTEL_P.DSF
  318.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\INTEL_P.DSF
  319.                @EndIf
  320.                @If (219 [= @Option)
  321.                     @File RAM.DSF
  322.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\RAM.DSF
  323.                @EndIf
  324.                @If (220 [= @Option)
  325.                     @File ROM.DSF
  326.                          @Out0k \\@ORCADESP\\VST\\LIBRARY\\ROM.DSF
  327.                @EndIf
  328.           @EndLib
  329.      @EndIf
  330.  
  331.      @If (1 [= @Option)
  332.           @BeginLib  VSTDOCS.PLB
  333.                @File *.*
  334.                     @Out0k \\@ORCADESP\\VST\\*.*
  335.           @EndLib
  336.      @EndIf
  337.  
  338.      @If (1 [= @Option || 3 [= @Option)
  339.           @BeginLib  TUTOR.PLB
  340.                @File *.*
  341.                     @Out0k \\@ORCADPROJ\\TUTOR\\*.*
  342.           @EndLib
  343.      @EndIf
  344.  
  345. @EndDisk
  346.  
  347. @Finish
  348.      @ChDrive @OutDrive
  349.  
  350.      @If (1 [= @Option || 2 [= @Option)
  351.           @If (@Exists "@OutDrive:\\@OrcadPROJ\\Template\\ESP.CFG")
  352.           @ElseIf (@Exists "@OutDrive:\\@OrcadPROJ\\Template\\VST.CFG")
  353.           @Else
  354.                @System "MD @OrcadPROJ"
  355.                @ChDir "@OrCADProj"
  356.                @System "MD TEMPLATE"
  357.           @EndIf
  358.  
  359.           @ChDir   "@OutDrive:\\@ORCADPROJ\\Template"
  360.  
  361.           @If (1 [= @Option)
  362.                @System "echo PDRV='@OutDrive:\\@ORCADESP\\DRV\\' > VST.cfg"
  363.                @If ( 100 [= @Option )
  364.                     @System "echo DD='EGA16E.DRV' >> VST.cfg"
  365.                @ElseIf (101 [= @Option )
  366.                     @System "echo DD='VGA640.DRV' >> VST.cfg"
  367.                @ElseIf (102 [= @Option )
  368.                     @System "echo DD='VESA800.DRV' >> VST.cfg"
  369.                @ElseIf (103 [= @Option )
  370.                     @System "echo DD='HGC2.DRV' >> VST.cfg"
  371.                @Else /* Default driver to EGA if no options */ 
  372.                     @System "echo DD='EGA16E.DRV' >> VST.cfg"
  373.                @EndIf
  374.  
  375.                @System "echo PLIB='@OutDrive:@ORCADESP\\VST\\LIBRARY\\' >> VST.cfg"
  376.                @System "COPY VST.cfg @OutDrive:\\@ORCADPROJ\\TUTOR\\VST.cfg"
  377.  
  378.                @System "@OutDrive:\\@ORCADEXE\\VST_C /B"
  379.                @System "COPY VST.bcf @OutDrive:\\@ORCADPROJ\\TUTOR\\VST.bcf"
  380.  
  381.                @If(@Exists "@OutDrive:\\@ORCADEXE\\SDT_C.EXE") 
  382.                     @System "@OutDrive:\\@ORCADEXE\\SDT_C /B /L"
  383.                     @System "echo LIB='VSTGATES.LIB' >> TEMP.cfg"
  384.                     @System "echo LIB='VSTROM.LIB' >> TEMP.cfg"
  385.                     @System "echo LIB='VSTRAM.LIB' >> TEMP.cfg"
  386.                     @System "echo LIB='VSTOTHER.LIB' >> TEMP.cfg"
  387.                     @System "COPY TEMP.CFG VSTSDT.CFG"
  388.                     @System "@ORCADEXE\\SDT_C /#VSTSDT.bcf /B"
  389.                     @System "DEL TEMP.CFG"
  390.                     @System "DEL TEMP.BCF"
  391.                     @System "COPY VSTSDT.cfg @OutDrive:\\@ORCADPROJ\\TUTOR\\VSTSDT.cfg"
  392.                     @System "COPY VSTSDT.bcf @outDrive:\\@ORCADPROJ\\TUTOR\\VSTSDT.bcf"
  393.                @EndIf
  394.  
  395.                @System "COPY VST.bcf @OutDrive:\\@ORCADESP\\VST\\LIBRARY"
  396.  
  397.                @ChDir "@OutDrive:\\@ORCADPROJ\\TUTOR"
  398.  
  399.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO .\\TUTOR.DSF"
  400.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO .\\HRS.DSF"
  401.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO .\\MINSEC.DSF"
  402.           @Endif
  403.  
  404.           @If ( 2 [= @Option )
  405.  
  406.                @If (@Exists "VST.BCF")
  407.                     @System "COPY VST.bcf @OutDrive:\\@ORCADESP\\VST\\LIBRARY"
  408.                @Else
  409.                     @If (@Exists "VST.CFG")
  410.                     @Else
  411.                          @System "echo PLIB='@OutDrive:@ORCADESP\\VST\\LIBRARY\\' > VST.cfg"
  412.                     @EndIf
  413.                     @If (@Exists "@OutDrive:\\@ORCADEXE\\VST_C.EXE")
  414.                          @System "@OutDrive:\\@ORCADEXE\\VST_C /B"
  415.                          @System "COPY VST.bcf @OutDrive:\\@ORCADESP\\VST\\LIBRARY"
  416.                     @Else
  417.                          @Cls
  418.            *** ERROR: VST_C.EXE not Found! Install VST PRODUCT FILES.
  419.                          @Pause
  420.                          @Abort
  421.                     @EndIf
  422.                @EndIf
  423.           @EndIf
  424.  
  425.           @ChDir "@OutDrive:\\@ORCADESP\\VST\\LIBRARY"
  426.                                   
  427.           @System "Cls"
  428.           @Cls
  429.  
  430.           @If (300 [= @Option)
  431.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO TTL.DSF"
  432.           @EndIf
  433.           @If (301 [= @Option)
  434.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO AC.DSF"
  435.           @EndIf
  436.           @If (302 [= @Option)
  437.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO AC11.DSF"
  438.           @EndIf
  439.           @If (303 [= @Option)
  440.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO ACT.DSF"
  441.           @EndIf
  442.           @If (304 [= @Option)
  443.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO AHCT.DSF"
  444.           @EndIf
  445.           @If (305 [= @Option)
  446.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO ALS.DSF"
  447.           @EndIf
  448.           @If (306 [= @Option)
  449.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO AS.DSF"
  450.           @EndIf
  451.           @If (307 [= @Option)
  452.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO F.DSF"
  453.           @EndIf
  454.           @If (308 [= @Option)
  455.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO FCT.DSF"
  456.           @EndIf
  457.           @If (309 [= @Option)
  458.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO HC.DSF"
  459.           @EndIf
  460.           @If (310 [= @Option)
  461.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO HCT.DSF"
  462.           @EndIf
  463.           @If (311 [= @Option)
  464.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO LS.DSF"
  465.           @EndIf
  466.           @If (312 [= @Option)
  467.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO S.DSF"
  468.           @EndIf
  469.           @If (313 [= @Option)
  470.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO CMOS.DSF"
  471.           @EndIf
  472.           @If (314 [= @Option)
  473.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO ECL.DSF"
  474.           @EndIf
  475.           @If (315 [= @Option)
  476.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO ALTERA_M.DSF"
  477.           @EndIf
  478.           @If (316 [= @Option)
  479.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO ALTERA_P.DSF"
  480.           @EndIf
  481.           @If (317 [= @Option)
  482.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO INTEL_M.DSF"
  483.           @EndIf
  484.           @If (318 [= @Option)
  485.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO INTEL_P.DSF"
  486.           @EndIf
  487.           @If (319 [= @Option)
  488.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO RAM.DSF"
  489.           @EndIf
  490.           @If (320 [= @Option)
  491.                @System "@OutDrive:\\@ORCADEXE\\MODELPRO ROM.DSF"
  492.           @EndIf
  493.  
  494.           @System "Cls"
  495.           @Cls
  496.  
  497.           @If (1 [= @Option)
  498.                @Cls
  499.  
  500.  
  501.  
  502.                      OrCAD Digital Simulation Tools
  503.  
  504.  
  505.                          Installation Complete
  506.  
  507.  
  508.  
  509.            Remember to send in the registration card to receive the
  510.                OrCAD Pointer newsletter and product updates.
  511.         
  512.                @Pause
  513.           @EndIf
  514.      @EndIf
  515.  
  516.      @ChDir "@OutDrive:\\@ORCADPROJ\\TEMPLATE"
  517.  
  518.      @If (2 [= @Option || 3 [= @Option || 4 [= @Option)
  519.           @Cls
  520.  
  521.  
  522.  
  523.                      OrCAD Digital Simulation Tools
  524.  
  525.  
  526.                     Reinstallation process complete
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.         
  534.           @Pause
  535.      @EndIf
  536.  
  537. @EndFinish   
  538.