home *** CD-ROM | disk | FTP | other *** search
/ Chip: Special Tips & Tricks for Windows 95 / Chip Wintips.iso / sterown / grafika / adesk301 / adesk301.exe / INSTALL.DAT < prev    next >
Encoding:
Text File  |  1994-02-23  |  38.4 KB  |  1,485 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195. @defineproject
  196. @name="Hercules DL-Xpress"
  197. @version="3.0.1"
  198. @outdrive=c
  199. @subdir="\\dlxpress"
  200. @endproject
  201. @definevars
  202. @qstring @company = "Vibrant Graphics"
  203. @qstring @copyyear = "1991-1994"
  204. @qstring @copycomp = "Vibrant Graphics"
  205. @qstring @realdate = "Wed Feb 23 1994"
  206. @qstring @rootfn = "HERCDLX"
  207. @qstring @expfn = "RCDLX067"
  208. @qstring @resfn = "DL067301"
  209. @qstring @cfgfn = "DL067301"
  210. @qstring @rlmfn = "VG920922"
  211.  
  212. @endvars
  213. @display
  214. @cls
  215. @windmsg(2,23,"@Name","Version @Version  @realdate","Copyright (c) @copyyear by @copycomp")
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.     This driver operates with AutoCAD releases 10, 11, and 12, as
  226.     well as 3D Studio version 2.0, and AutoShade with Renderman
  227.     version 2.0.
  228.  
  229.     This program will copy the needed files onto your system after
  230.     asking you for information about the desired setup of
  231.     @name.
  232.     Changes needed to the various files on your system can be
  233.     viewed, saved to disk, or directly modified by INSTALL.
  234.  
  235.     You may press [ESC] to abort at any time.
  236. @pause
  237. @enddisplay
  238. @if ( @strequal("@getenvstr("DSPADI")","\\") )
  239. @getoption
  240. @cls
  241. @writeat("Installation level",30,,100)
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.     An Express installation will install @name for AutoCAD
  249.     R10, R11 or R12.  It will place the driver in the same directory
  250.     as AutoCAD(or the DRV directory of AutoCAD Release 12).
  251.  
  252.     The Custom installation places the driver in a user-specified
  253.     directory for sharing between releases or just for organizational
  254.     uses.  To use the driver with 3D Studio and/or Autoshade with
  255.     Renderman and/or AutoCAD, use Custom.
  256.  
  257.     Select Utility if you only wish to install one or more of the
  258.     support utilities.
  259.  
  260.     Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.
  261. @option 10 = "Express"
  262. @option 11 = "Custom"
  263. @option 12 = "Utility"
  264. @endoption
  265. @else
  266. @getoption
  267. @cls
  268. @writeat("Installation level",30,,100)
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.     The 'DSPADI' variable has been detected by the install.  The Express
  277.     installation cannot be performed for AutoCAD release 10 and 11.
  278.     Select 'AutoCAD R12 Only' if you wish to only install for that
  279.     program only by placing it into the DRV directory.
  280.  
  281.     The Custom installation places the driver in a user-specified
  282.     directory for sharing between releases or just for organizational
  283.     uses.  To use the driver with 3D Studio and/or Autoshade with
  284.     Renderman and/or AutoCAD, use Advanced.
  285.  
  286.     Select Utilities if you only wish to install one or more of
  287.     the support utilities, without installing the driver.
  288.  
  289. @option 11 = "Custom"
  290. @option 22 = "AutoCAD R12 Only"
  291. @option 12 = "Utilities"
  292. @endoption
  293. @endif
  294. @if (12 [! @option && 22 [! @option)
  295. @if (10 [= @option)
  296. @getoption
  297. @checkbox
  298. @cls
  299. @writeat("Express Installation",30,,100)
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.     Please select which version(s) of AutoCAD you wish the driver installed
  312.     for.  Please note that the simple install will place a copy of the
  313.     driver in each of the specified directories.
  314.  
  315.     Use <SPACE> to toggle between Yes & No, and the <UP> <DOWN> arrow keys
  316.     to move.  Press 'Y' to set all of the toggles to Yes, or 'N' to set them
  317.     all to No.
  318.                Press <ENTER> to continue.
  319. @setoption(22)
  320. @option 22 = "AutoCAD Release 12"
  321. @option 21 = "AutoCAD Release 11"
  322. @option 20 = "AutoCAD Release 10"
  323. @endoption
  324. @else
  325. @getoption
  326. @checkbox
  327. @cls
  328. @writeat("Custom installation",30,,100)
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.     Please select which products you wish the driver installed for.  Only
  341.     one copy of the driver is placed on your system and shared between
  342.     these programs.
  343.  
  344.     Use <SPACE> to toggle between Yes & No, and the <UP> <DOWN> arrow keys
  345.     to move.  Press 'Y' to set all of the toggles to Yes, or 'N' to set them
  346.     all to No.    Press <ENTER> to continue.
  347. @setoption(32)
  348. @option 32 = "AutoCAD Release 12"
  349. @option 31 = "AutoCAD Release 11"
  350. @option 30 = "AutoCAD Release 10"
  351. @option 41 = "3D Studio version 2.0"
  352. @option 50 = "AutoShade with Renderman version 2.0"
  353. @endoption
  354. @endif
  355. @endif
  356. @definevars
  357. @drive @acad10drive = @outdrive
  358. @dir @acad10dir = "\\acad"
  359. @endvars
  360. @if (20 [= @option || 30 [= @option)
  361. @getoutdrive @acad10drive
  362. @cls
  363. @suppress A
  364. @suppress B
  365. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  366. @writeat("Please specify the drive where AutoCAD Release 10 is located.",30,18,100)
  367. @endoutdrive
  368. @getsubdir @acad10dir
  369. @cls
  370. @writeat("Please specify the directory where AutoCAD Release 10 is located.",30,8,100)
  371. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  372. @localwindow(13,1)
  373. @endsubdir
  374. @if (!(@exists "@acad10drive:@acad10dir\\ACAD.EXE"))
  375. @getoption
  376. @cls
  377. @windmsg(3,79,"--- W A R N I N G ! ---",
  378.  "ACAD.EXE was not found in the directory:",
  379.  "@acad10drive:@acad10dir")
  380. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  381. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  382. @localwindow(13,40)
  383. @option 10000 = "Quit installation!"
  384. @option 10001 = "Continue"
  385. @endoption
  386. @if (10000 [= @option)    @abort    @endif
  387. @endif
  388. @endif
  389. @definevars
  390. @if (20 [= @option || 30 [= @option)
  391. @drive @acad11drive = @acad10drive
  392. @else
  393. @drive @acad11drive = @outdrive
  394. @endif
  395. @dir @acad11dir = "\\acad"
  396. @endvars
  397. @if (21 [= @option || 31 [= @option)
  398. @getoutdrive @acad11drive
  399. @cls
  400. @suppress A
  401. @suppress B
  402. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  403. @writeat("Please specify the drive where AutoCAD Release 11 is located.",30,18,100)
  404. @endoutdrive
  405. @getsubdir @acad11dir
  406. @cls
  407. @writeat("Please specify the directory where AutoCAD Release 11 is located.",30,8,100)
  408. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  409. @localwindow(13,1)
  410. @endsubdir
  411. @if (!(@exists "@acad11drive:@acad11dir\\ACAD.EXE"))
  412. @getoption
  413. @cls
  414. @windmsg(3,79,"--- W A R N I N G ! ---",
  415.  "ACAD.EXE was not found in the directory:",
  416.  "@acad11drive:@acad11dir")
  417. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  418. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  419. @localwindow(13,40)
  420. @option 10000 = "Quit installation!"
  421. @option 10001 = "Continue"
  422. @endoption
  423. @if (10000 [= @option)    @abort    @endif
  424. @endif
  425. @endif
  426. @definevars
  427. @if (21 [= @option || 31 [= @option)
  428. @drive @acad12drive = @acad11drive
  429. @elseif (20 [= @option || 32 [= @option)
  430. @drive @acad12drive = @acad10drive
  431. @else
  432. @drive @acad12drive = @outdrive
  433. @endif
  434. @dir @acad12dir = "\\acad"
  435. @endvars
  436. @if (22 [= @option || 32 [= @option)
  437. @getoutdrive @acad12drive
  438. @cls
  439. @suppress A
  440. @suppress B
  441. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  442. @writeat("Please specify the drive where AutoCAD Release 12 is located.",30,18,100)
  443. @endoutdrive
  444. @getsubdir @acad12dir
  445. @cls
  446. @writeat("Please specify the directory where AutoCAD Release 12 is located.",30,8,100)
  447. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  448. @localwindow(13,1)
  449. @endsubdir
  450. @if (!(@exists "@acad12drive:@acad12dir\\ACAD.EXE"))
  451. @getoption
  452. @cls
  453. @windmsg(3,79,"--- W A R N I N G ! ---",
  454. "ACAD.EXE was not found in the directory:",
  455. "@acad12drive:@acad12dir")
  456. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  457. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  458. @localwindow(13,40)
  459. @option 10000 = "Quit installation!"
  460. @option 10001 = "Continue"
  461. @endoption
  462. @if (10000 [= @option)    @abort    @endif
  463. @endif
  464. @endif
  465. @definevars
  466. @drive @s3D1drive = @outdrive
  467. @dir @s3D1dir = "\\3DS"
  468. @endvars
  469. @if (40 [= @option)
  470. @getoutdrive @s3D1drive
  471. @cls
  472. @suppress A
  473. @suppress B
  474. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  475. @writeat("Please specify the drive where 3D Studio version 1.0 is located.",30,18,100)
  476. @endoutdrive
  477. @getsubdir @s3D1dir
  478. @cls
  479. @writeat("Please specify the directory where 3D Studio verison 1.0 is located.",30,8,100)
  480. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  481. @localwindow(13,1)
  482. @endsubdir
  483. @if (!(@exists "@s3D1drive:@s3D1dir\\3DS.EXE"))
  484. @getoption
  485. @cls
  486. @windmsg(3,79,"--- W A R N I N G ! ---",
  487. "3DS.EXE was not found in the directory:",
  488. "@s3D1drive:@s3D1dir")
  489. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  490. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  491. @localwindow(13,40)
  492. @option 10000 = "Quit installation!"
  493. @option 10001 = "Continue"
  494. @endoption
  495. @if (10000 [= @option)    @abort    @endif
  496. @endif
  497. @endif
  498. @definevars
  499. @if (40 [= @option)
  500. @drive @s3D2drive = @s3D1drive
  501. @else
  502. @drive @s3D2drive = @outdrive
  503. @endif
  504. @dir @s3D2dir = "\\3DS2"
  505. @endvars
  506. @if (41 [= @option)
  507. @getoutdrive @s3D2drive
  508. @cls
  509. @suppress A
  510. @suppress B
  511. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  512. @writeat("Please specify the drive where 3D Studio version 2.0 is located.",30,18,100)
  513. @endoutdrive
  514. @getsubdir @s3D2dir
  515. @cls
  516. @writeat("Please specify the directory where 3D Studio verison 2.0 is located.",30,8,100)
  517. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  518. @localwindow(13,1)
  519. @endsubdir
  520. @if (!(@exists "@s3D2drive:@s3D2dir\\3DS.EXE"))
  521. @getoption
  522. @cls
  523. @windmsg(3,79,"--- W A R N I N G ! ---",
  524. "3DS.EXE was not found in the directory:",
  525. "@s3D2drive:@s3D2dir")
  526. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  527. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  528. @localwindow(13,40)
  529. @option 10000 = "Quit installation!"
  530. @option 10001 = "Continue"
  531. @endoption
  532. @if (10000 [= @option)    @abort    @endif
  533. @endif
  534. @endif
  535. @if (30 [= @option || 31 [= @option || 32 [= @option || 40 [= @option ||
  536. 41 [= @option || 50 [= @option )
  537. @getoutdrive @outdrive
  538. @cls
  539. @suppress A
  540. @suppress B
  541. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  542. @writeat("Please specify the drive where @name should be located.",30,18,100)
  543. @endoutdrive
  544. @getsubdir @subdir
  545. @cls
  546. @writeat("Please specify the directory where @name should be located.",30,8,100)
  547. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  548. @localwindow(13,1)
  549. @endsubdir
  550. @if ((@strequal("@getenvstr("RDPADI")","\\")==0) &&
  551.      (50 [= @option || 41 [= @option || 32 [= @option))
  552. @getoption
  553. @cls
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.     The environment variable 'RDPADI' was found to be set to:
  562.     @writeat("@getenvstr("RDPADI")",30,,100)
  563.     If this points to an older version of @name,
  564.     then please answer Yes to overwrite the old variable.  If
  565.     this points to another driver, then you may either overwrite it
  566.     with @name or you can leave it alone.
  567.     (Note that no changes will occur yet.   You will be asked if you
  568.     wish to modify or save the changes later in the INSTALL)
  569. @writeat("Please specify if you wish the environment variable RDPADI overwritten.",30,19,100)
  570. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  571. @option 151 = "Yes, overwrite"
  572. @option 150 = "No, leave RDPADI alone"
  573. @endoption
  574. @endif
  575. @getoption
  576. @cls
  577. @writeat("Please specify where you wish the SET statement(s) placed.",30,2,100)
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.     Environment variables MUST be properly setup before the driver will
  591.     work correctly.  You may either have the variables set in the
  592.     AUTOEXEC.BAT, so that they are setup when you boot your system, or
  593.     in a @rootfn.BAT or ACADR12.BAT file which MUST be run before you use
  594.     the product with the driver.
  595.  
  596. @if (30 [= @option || 31 [= @option || 50 [= @option)
  597. @writeat("SET DSPADI=@outdrive:@subdir\\@expfn.EXP",31,9,100)
  598. @endif
  599. @writeat("SET VIBCFG=@outdrive:@subdir\\@cfgfn.CFG",31,10,100)
  600. @if (40 [= @option || 41 [= @option)
  601. @writeat("SET RCPADI=@outdrive:@subdir\\@expfn.EXP",31,11,100)
  602. @endif
  603. @if (151 [= @option || ((@strequal("@getenvstr("RDPADI")","\\")==1) &&
  604.      (50 [= @option ||    41 [= @option || 32 [= @option)))
  605. @writeat("SET RDPADI=@outdrive:@subdir\\@expfn.EXP",31,12,100)
  606. @endif
  607. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  608. @option 100 = "Put SET statements into AUTOEXEC.BAT"
  609. @option 101 = "Put SET statements into @rootfn.BAT/ACADR12.BAT"
  610. @endoption
  611. @endif
  612. @definevars
  613. @if (32 [= @option)
  614. @drive @a12bdrive = @acad12drive
  615. @else
  616. @drive @a12bdrive = @outdrive
  617. @endif
  618. @dir @a12bdir = "\\"
  619. @qstring @a12bname = "ACADR12.BAT"
  620. @endvars
  621. @if (32 [= @option)
  622. @getoption
  623. @cls
  624. @writeat("Please specify where your AutoCAD environment variables.",30,2,100)
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.     The AutoCAD Release 12 install defines several variables in order to
  636.     allow ACAD R12 to find the files it needs to run.  Since you are not
  637.     installing the driver into the default ..\DRV directory, the INSTALL
  638.     needs to add the @subdir directory to the ACADDRV variable.
  639.  
  640.     If you have them in a batch file, select the top choice.  If you have
  641.     put them into the AUTOEXEC.BAT file, select the bottom choice.
  642.  
  643. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  644. @option 176 = "AutoCAD R12 variables are in the AUTOEXEC.BAT"
  645. @option 175 = "AutoCAD R12 variables are in a ACAD.BAT file"
  646. @endoption
  647. @if (175 [= @option)
  648. @getoutdrive @a12bdrive
  649. @cls
  650. @suppress A
  651. @suppress B
  652. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  653. @writeat("Please specify the drive where the AutoCAD R12 batch is located.",30,18,100)
  654. @endoutdrive
  655. @getsubdir @a12bdir
  656. @cls
  657. @writeat("Please specify the directory where the AutoCAD R12 batch is located.",30,8,100)
  658. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  659. @localwindow(13,1)
  660. @endsubdir
  661. @getstring @a12bname
  662. @cls
  663. @writeat("Please specify the name of the AutoCAD R12 batch.",30,8,100)
  664. @endstring
  665. @if (!(@exists "@a12bdrive:@a12bdir\\@a12bname"))
  666. @getoption
  667. @cls
  668. @windmsg(3,79,"--- W A R N I N G ! ---",
  669.  "@a12bname was not found in the directory:",
  670.  "@a12bdrive:@a12bdir")
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.      The file specified does not exist, so the default version for
  685.      ACAD 12 will be created, including the new node for the driver.
  686.  
  687. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  688. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  689. @localwindow(13,40)
  690. @option 10000 = "Quit installation!"
  691. @option 10001 = "Continue"
  692. @endoption
  693. @if (10000 [= @option)    @abort    @endif
  694. @endif
  695. @endif
  696. @endif
  697. @if (100 [= @option || 101 [= @option || 175 [= @option || 176 [= @option)
  698. @display
  699. @cls
  700. @windmsg(1,14,"--- I M P O R T A N T ---")
  701.  
  702.  
  703.  
  704.     Many programs use environment variables to allow the user to configure
  705.     their system as they desire.  These variables, however, do require
  706.     some small amount of memory.  The amount of memory set aside by the
  707.     system by default is fairly small, but adequate for systems with few
  708.     environment variables.  With the recent trend of software packages
  709.     using environment variables, the default is often not enough.  If you
  710.     encounter the message 'Out of environment space' while booting your
  711.     system or running a batch file, then you should increase the amount of
  712.     space set aside for these variables with the following line in your
  713.     CONFIG.SYS file and reboot:
  714.  
  715.            SHELL = C:\COMMAND.COM /P /E:xxxx
  716.  
  717.     where 'xxxx' is a decimal number.  1024 is a good number, but may
  718.     not be sufficient if you have many environment variables set.
  719.  
  720. @pause
  721. @enddisplay
  722. @endif
  723.  
  724.  
  725.  
  726. @endif
  727. @if (20 [= @option || 21 [= @option ||
  728.  30 [= @option || 31 [= @option ||
  729.  40 [= @option || 41 [= @option ||
  730.  12 [= @option)
  731. @getoption
  732. @cls
  733. @checkbox
  734. @writeat("Select other utilities",30,,100)
  735.  
  736.  
  737.  
  738.  
  739.  
  740.     These programs are patches needed to fix problems with the programs
  741.     driven by @name.  If in doubt, press 'Y' and ENTER.
  742.  
  743.     AutoPatch repairs some problems with protected mode drivers with
  744.     AutoCAD Releases 10 and 11, as well as 3D Studio version 2.0.
  745.  
  746.     Use <SPACE> to toggle between Yes & No, and the <UP> <DOWN> arrow keys
  747.     to move the cursor.  Press 'Y' to set them all to Yes and 'N' to set
  748.     them all to No.  Press <ENTER> to continue.
  749. @option 300 = "AutoPatch (Fix for ACAD & 3D Studio)"
  750. @endoption
  751. @endif
  752. @if (30 [! @option && 31 [! @option && 32 [! @option && 40 [! @option &&
  753.  41 [! @option && 50 [! @option &&
  754.  (
  755.  300 [= @option || 301 [= @option))
  756. @getoutdrive @outdrive
  757. @cls
  758. @suppress A
  759. @suppress B
  760. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,20,100)
  761. @writeat("Please specify the drive where the fix(es) should be located.",30,18,100)
  762. @endoutdrive
  763. @getsubdir @subdir
  764. @cls
  765. @writeat("Please specify the directory where the fix(es) should be located.",30,8,100)
  766. @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",,20,100)
  767. @localwindow(13,1)
  768. @endsubdir
  769. @endif
  770. @display
  771. @writeat("You have made the following selections.",30,,100)
  772. @if (20 [= @option)
  773. @writeat("Express installation for AutoCAD Release 10",31,4,100)
  774. @elseif (30 [= @option)
  775. @writeat("CUstom installation for AutoCAD Release 10",31,4,100) @endif
  776. @if (21 [= @option)
  777. @writeat("Express installation for AutoCAD Release 11",31,5,100)
  778. @elseif (31 [= @option)
  779. @writeat("Custom installation for AutoCAD Release 11",31,5,100) @endif
  780. @if (22 [= @option)
  781. @writeat("Express installation for AutoCAD Release 12",31,6,100)
  782. @elseif (32 [= @option)
  783. @writeat("Custom installation for AutoCAD Release 12",31,6,100) @endif
  784. @if (20 [! @option && 21 [! @option && 22 [! @option && 30 [! @option &&
  785.      31 [! @option && 32 [! @option)
  786. @writeat("No AutoCAD selections made.",31,5,100) @endif
  787. @if (40 [= @option)
  788. @writeat("3D Studio version 1.0",31,7,100) @endif
  789. @if (41 [= @option)
  790. @writeat("3D Studio version 2.0",31,8,100) @endif
  791. @if (40 [! @option && 41 [! @option)
  792. @writeat("No 3D Studio selections made.",31,7,100) @endif
  793. @if (50 [= @option)
  794. @writeat("AutoShade with Renderman",31,9,100)
  795. @else
  796. @writeat("No AutoShade with Rendermade selection made.",31,9,100) @endif
  797. @if (300 [= @option)
  798. @writeat("AutoPatch fix program",31,13,100) @endif
  799. @if (300 [! @option && 301 [! @option)
  800. @writeat("No fix utilities selected",31,13,100) @endif
  801. @writeat("If these selections are not correct, then press [ESC] and rerun install.",
  802.      79,16,100)
  803. @writeat("   Note that some boxes require the <SPACE>, or 'Y' keys to be pressed  ",
  804.      79,17,100)
  805. @writeat("              before any of the options are selected.                   ",
  806.      79,18,100)
  807. @writeat("      Please read the instructions on each screen carefully!            ",
  808.      79,19,100)
  809.  
  810. @pause
  811. @enddisplay
  812. @display
  813. @writeat("The following files will be installed.",30,1,100)
  814. @if (20 [= @option)
  815. @writeat("@expfn.EXP => @acad10drive:@acad10dir\\ADIDISP.EXP",31,2,100)
  816. @writeat("@resfn.RES => @acad10drive:@acad10dir\\@resfn.RES",31,3,100) @endif
  817. @if (21 [= @option)
  818. @writeat("@expfn.EXP => @acad11drive:@acad11dir\\ADIDISP.EXP",31,5,100)
  819. @writeat("@resfn.RES => @acad11drive:@acad11dir\\@resfn.RES",31,6,100) @endif
  820. @if (22 [= @option)
  821. @writeat("@expfn.EXP => @acad12drive:@acad12dir\\DRV\\@expfn.EXP",31,8,100)
  822. @writeat("@resfn.RES => @acad12drive:@acad12dir\\DRV\\@resfn.RES",31,9,100) @endif
  823. @if (30 [= @option || 31 [= @option || 32 [= @option || 40 [= @option || 41 [= @option || 50 [= @option )
  824. @writeat("@expfn.EXP => @outdrive:@subdir\\@expfn.EXP",31,11,100)
  825. @writeat("@resfn.RES => @outdrive:@subdir\\@resfn.RES",31,12,100) @endif
  826. @if (300 [= @option)
  827. @writeat("APATCH.EXE/.DOC => @outdrive:@subdir\\APATCH.EXE/.DOC",31,13,100) @endif
  828. @if (20 [! @option && 21 [! @option && 22 [! @option &&
  829.      30 [! @option && 31 [! @option && 32 [! @option &&
  830.      40 [! @option && 41 [! @option && 50 [! @option &&
  831.      200 [! @option && 201 [! @option && 202 [! @option &&
  832.      300 [! @option && 301 [! @option
  833. )
  834. @writeat("No Files Selected!",207,7,100)
  835. @endif
  836. @pause
  837. @enddisplay
  838. @if (
  839.  100 [= @option || 101 [= @option ||
  840.  175 [= @option || 176 [= @option
  841.  )
  842. @getoption
  843. @cls
  844. @writeat("Configuration changes",30,,100)
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.     Displaying to screen only will make no changes to your system, but
  853.     you must make any displayed changes before running the program.
  854.  
  855.     If you select the .NEW file output, then the changes needed will be
  856.     written into a file of the same name, with an extention of .NEW.
  857.     Use an editor to make the changes in the original file (or, in the
  858.     case of 3DS.NEW, just rename it 3DS.SET).
  859.  
  860.     If you select the direct change, a backup of your file will be made
  861.     with the extention .BAK.
  862.  
  863. @option 400 = "Display required commands to screen only"
  864. @option 401 = "Create .NEW files, if needed"
  865. @option 402 = "Modify files directly, making backups, if needed"
  866. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  867. @endoption
  868. @endif
  869. @if (100 [= @option
  870. )
  871. @setautoexec
  872. @if (400 [= @option)
  873. @screenproto
  874. @elseif (401 [= @option)
  875. @diskproto
  876. @elseif (402 [= @option)
  877. @askoverwrite
  878. @endif
  879. @if (100 [= @option)
  880. @if (30 [= @option || 31 [= @option || 50 [= @option)
  881. @setreplace("DSPADI","@outdrive:@subdir\\@expfn.EXP")
  882. @endif
  883. @setreplace("VIBCFG","@outdrive:@subdir\\@cfgfn.CFG")
  884. @if (40 [= @option || 41 [= @option)
  885. @setreplace("RCPADI","@outdrive:@subdir\\@expfn.EXP")
  886. @endif
  887. @if (151 [= @option || ((@strequal("@getenvstr("RDPADI")","\\")==1) &&
  888.      (50 [= @option || 41 [= @option ||  32 [= @option)))
  889. @setreplace("RDPADI","@outdrive:@subdir\\@expfn.EXP")
  890. @endif
  891. @endif
  892.  
  893. @if (176 [= @option)
  894. @setappend("ACADDRV","@outdrive:@subdir")
  895. @endif
  896. @endautoexec
  897. @endif
  898. @if (101 [= @option && (20 [= @option || 21 [= @option ||
  899.       30 [= @option || 31 [= @option || 40 [= @option ||
  900.       41 [= @option || 50 [= @option))
  901. @setbatch
  902. @if (400 [= @option)
  903. @screenproto
  904. @elseif (401 [= @option)
  905. @diskproto
  906. @else
  907. @askoverwrite
  908. @endif
  909. @file "@rootfn.BAT"
  910. @if (30 [= @option || 31 [= @option || 50 [= @option)
  911. @setreplace("DSPADI","@outdrive:@subdir\\@expfn.EXP")
  912. @endif
  913. @setreplace("VIBCFG","@outdrive:@subdir\\@cfgfn.CFG")
  914. @if (40 [= @option || 41 [= @option)
  915. @setreplace("RCPADI","@outdrive:@subdir\\@expfn.EXP")
  916. @endif
  917. @if (151 [= @option || ((@strequal("@getenvstr("RDPADI")","\\")==1) &&
  918.      (50 [= @option || 41 [= @option ||  32 [= @option)))
  919. @setreplace("RDPADI","@outdrive:@subdir\\@expfn.EXP")
  920. @endif
  921. @endbatch
  922. @endif
  923. @if (175 [= @option)
  924. @setbatch
  925. @if (400 [= @option)
  926. @screenproto
  927. @elseif (401 [= @option)
  928. @diskproto
  929. @elseif (402 [= @option)
  930. @askoverwrite
  931. @endif
  932. @file "@a12bdrive:@a12bdir\\@a12bname"
  933. @if (101 [= @option)
  934. @if (151 [= @option || ((@strequal("@getenvstr("RDPADI")","\\")==1)))
  935. @setreplace("RDPADI","@outdrive:@subdir\\@expfn.EXP")
  936. @endif
  937. @setreplace("VIBCFG","@outdrive:@subdir\\@cfgfn.CFG")
  938. @endif
  939. @if (!(@exists "@a12bdrive:@a12bdir\\@a12bname"))
  940. @setappend("ACAD","@acad12drive:@acad12dir\\SUPPORT;@acad12drive:@acad12dir\\FONTS;@acad12drive:@acad12dir\\ADS")
  941. @setappend("ACADCFG","@acad12drive:@acad12dir")
  942. @setappend("ACADDRV","@acad12drive:@acad12dir\\DRV;@outdrive:@subdir")
  943. @verbatim "@acad12drive:@acad12dir\\ACAD %1 %2"
  944. @else
  945. @setappend("ACADDRV","@outdrive:@subdir")
  946. @endif
  947. @endbatch
  948. @endif
  949. @if (40 [= @option)
  950. @if (!(@exists "@s3d1drive:@s3d1dir\\3DS.SET"))
  951. @getoption
  952. @cls
  953. @windmsg(3,79,"--- W A R N I N G ! ---",
  954.  "3DS.SET was not found in the 3D-Studio 1.0 directory:",
  955.  "@s3d1drive:@s3d1dir")
  956. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  957. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  958. @localwindow(13,40)
  959. @option 10000 = "Quit installation!"
  960. @option 10001 = "Continue"
  961. @endoption
  962. @if (10000 [= @option)    @abort    @endif
  963. @endif
  964. @if (400 [= @option || (!(@exists "@s3d1drive:@s3d1dir\\3DS.SET")))
  965. @display
  966. @cls
  967. @windmsg(2,14,"--- I M P O R T A N T ---")
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.      For 3D-Studio 1.0 to utilize the new driver, the 3DS.SET file needs
  975.      several changes.  Note that any text that appears on a line after
  976.      a semi-colon (";") will be ignored by 3D Studio 1.0.  The default
  977.      has some lines 'commented-out' by starting with a semi-colon.  The
  978.      semi-colon's should be removed in the following lines:
  979.  
  980.      The line containing 'DEFAULT-DISPLAY' should be replaced with
  981.          'DEFAULT-DISPLAY = "RCPADI"'
  982.      The line containing 'MAIN-DISPLAY' should be replaced with
  983.          'MAIN-DISPLAY = RCPADI'
  984.      The line containing 'MATERIAL-DISPLAY' should be replaced with
  985.          'MATERIAL-DISPLAY = RCPADI'
  986.  
  987. @pause
  988. @enddisplay
  989. @elseif (401 [= @option && (@exists "@s3d1drive:@s3d1dir\\3DS.SET"))
  990. @copy("@s3d1drive:@s3d1dir\\3DS.SET","@s3d1drive:@s3d1dir\\3DS.NEW")
  991. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.NEW","DEFAULT-DISPLAY",
  992.  "DEFAULT-DISPLAY = \"RCPADI\"",,,,,1)==0)
  993. @getoption
  994. @cls
  995. @windmsg(2,79,"--- W A R N I N G ! ---",
  996.  "Couldn't find 'DEFAULT-DISPLAY' in",
  997.  "@s3d1drive:@s3d1dir\\3DS.SET")
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.    For 3D Studio 1.0 to work properly, several lines in 3DS.SET should be
  1010.    changed.  Note that any text that appears on a line after a semi-colon
  1011.    (";") will be ignored by 3D Studio 1.0.  The default has some lines
  1012.    'commented-out' by starting with a semi-colon.
  1013.  
  1014.    A line containing 'DEFAULT-DISPLAY' could not be found.  Add the line
  1015.        'DEFAULT-DISPLAY = "RCPADI"' to the file!
  1016. @option 10000 = "Quit installation!"
  1017. @option 10001 = "Continue"
  1018. @localwindow(11,40)
  1019. @endoption
  1020. @if (10000 [= @option)    @abort    @endif
  1021. @endif
  1022. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.NEW","MAIN-DISPLAY",
  1023.  "MAIN-DISPLAY = RCPADI",,,,,1)==0)
  1024. @getoption
  1025. @cls
  1026. @windmsg(2,79,"--- W A R N I N G ! ---",
  1027. "Couldn't find 'MAIN-DISPLAY' in",
  1028. "@s3d1drive:@s3d1dir\\3DS.SET")
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.    For 3D Studio 1.0 to work properly, several lines in 3DS.SET should be
  1042.    changed.  Note that any text that appears on a line after a semi-colon
  1043.    (";") will be ignored by 3D Studio 1.0.  The default has some lines
  1044.    'commented-out' by starting with a semi-colon.
  1045.  
  1046.    A line containing 'MAIN-DISPLAY' could not be found.  Add the line
  1047.        'MAIN-DISPLAY = RCPADI' to the file!
  1048. @option 10000 = "Quit installation!"
  1049. @option 10001 = "Continue"
  1050. @localwindow(11,40)
  1051. @endoption
  1052. @if (10000 [= @option)    @abort    @endif
  1053. @endif
  1054. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.NEW","MATERIAL-DISPLAY",
  1055.  "MATERIAL-DISPLAY = RCPADI",,,,,1)==0)
  1056. @getoption
  1057. @cls
  1058. @windmsg(3,79,"--- W A R N I N G ! ---",
  1059.  "Couldn't find 'MATERIAL-DISPLAY' in",
  1060.  "@s3d1drive:@s3d1dir\\3DS.SET")
  1061. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  1062. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  1063. @localwindow(13,40)
  1064. @option 10000 = "Quit installation!"
  1065. @option 10001 = "Continue"
  1066. @endoption
  1067. @if (10000 [= @option)    @abort    @endif
  1068. @endif
  1069. @display
  1070. @cls
  1071. @windmsg(11,46,"The file @s3d1drive:@s3d1dir\\3DS.NEW, which contains",
  1072. "the prototype of 3DS.SET for version 1.0, has been written to disk",
  1073. "Incorporate the changes before running @name.")
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079. @pause
  1080. @enddisplay
  1081. @elseif (402 [= @option)
  1082. @if (!(@exists "@s3d1drive:@s3d1dir\\3DS.OLD"))
  1083. @copy("@s3d1drive:@s3d1dir\\3DS.SET","@s3d1drive:@s3d1dir\\3DS.OLD")
  1084. @else
  1085. @copy("@s3d1drive:@s3d1dir\\3DS.SET","@s3d1drive:@s3d1dir\\3DS.BAK")
  1086. @endif
  1087. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.SET","DEFAULT-DISPLAY",
  1088. "DEFAULT-DISPLAY = \"RCPADI\"",,,,,1)==0)
  1089. @getoption
  1090. @cls
  1091. @windmsg(2,79,"--- W A R N I N G ! ---",
  1092.  "Couldn't find 'DEFAULT-DISPLAY' in",
  1093.  "@s3d1drive:@s3d1dir\\3DS.SET")
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.    For 3D Studio 1.0 to work properly, several lines in 3DS.SET should be
  1106.    changed.  Note that any text that appears on a line after a semi-colon
  1107.    (";") will be ignored by 3D Studio 1.0.  The default has some lines
  1108.    'commented-out' by starting with a semi-colon.
  1109.  
  1110.    A line containing 'DEFAULT-DISPLAY' could not be found.  Add the line
  1111.        'DEFAULT-DISPLAY = "RCPADI"' to the file!
  1112. @option 10000 = "Quit installation!"
  1113. @option 10001 = "Continue"
  1114. @localwindow(11,40)
  1115. @endoption
  1116. @if (10000 [= @option)    @abort    @endif
  1117. @endif
  1118. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.SET","MAIN-DISPLAY",
  1119.  "MAIN-DISPLAY = RCPADI",,,,,1)==0)
  1120. @getoption
  1121. @cls
  1122. @windmsg(2,79,"--- W A R N I N G ! ---",
  1123.  "Couldn't find 'MAIN-DISPLAY' in",
  1124.  "@s3d1drive:@s3d1dir\\3DS.SET")
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.    For 3D Studio 1.0 to work properly, several lines in 3DS.SET should be
  1138.    changed.  Note that any text that appears on a line after a semi-colon
  1139.    (";") will be ignored by 3D Studio 1.0.  The default has some lines
  1140.    'commented-out' by starting with a semi-colon.
  1141.  
  1142.    A line containing 'MAIN-DISPLAY' could not be found.  Add the line
  1143.        'MAIN-DISPLAY = RCPADI' to the file!
  1144. @option 10000 = "Quit installation!"
  1145. @option 10001 = "Continue"
  1146. @localwindow(11,40)
  1147. @endoption
  1148. @if (10000 [= @option)    @abort    @endif
  1149. @endif
  1150. @if (@filesar("@s3d1drive:@s3d1dir\\3DS.SET","MATERIAL-DISPLAY",
  1151.  "MATERIAL-DISPLAY = RCPADI",,,,,1)==0)
  1152. @getoption
  1153. @cls
  1154. @windmsg(3,79,"--- W A R N I N G ! ---",
  1155.  "Couldn't find 'MATERIAL-DISPLAY' in",
  1156.  "@s3d1drive:@s3d1dir\\3DS.SET")
  1157. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  1158. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  1159. @localwindow(13,40)
  1160. @option 10000 = "Quit installation!"
  1161. @option 10001 = "Continue"
  1162. @endoption
  1163. @if (10000 [= @option)    @abort    @endif
  1164. @else
  1165. @display
  1166. @cls
  1167. @windmsg(11,46,"The file @s3d1drive:@s3d1dir\\3DS.SET for version 1.0 has been updated")
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173. @pause
  1174. @enddisplay
  1175. @endif
  1176. @endif
  1177. @endif
  1178. @if (41 [= @option) // 3D-Studio 3DS.SET changes
  1179. @if (!(@exists "@s3d2drive:@s3d2dir\\3DS.SET"))
  1180. @getoption
  1181. @cls
  1182. @windmsg(3,79,"--- W A R N I N G ! ---",
  1183.  "3DS.SET was not found in the 3D-Studio 2.0 directory:",
  1184.  "@s3d2drive:@s3d2dir")
  1185. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  1186. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  1187. @localwindow(13,40)
  1188. @option 10000 = "Quit installation!"
  1189. @option 10001 = "Continue"
  1190. @endoption
  1191. @if (10000 [= @option)    @abort    @endif
  1192. @endif
  1193. @if (400 [= @option || (!(@exists "@s3d2drive:@s3d2dir\\3DS.SET")))
  1194. @display
  1195. @cls
  1196. @windmsg(2,14,"--- I M P O R T A N T ---")
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.      For 3D-Studio 2.0 to utilize the new driver, the 3DS.SET file needs
  1204.      several changes.  Note that any text that appears on a line after
  1205.      a semi-colon (";") will be ignored by 3D Studio 2.0.  The default
  1206.      has some lines 'commented-out' by starting with a semi-colon.  The
  1207.      semi-colon's should be removed in the following lines:
  1208.  
  1209.      The line containing 'RENDER-DISPLAY' should be replaced with
  1210.          'RENDER-DISPLAY = RCPADI'
  1211.      The line containing 'MAIN-DISPLAY' should be replaced with
  1212.          'MAIN-DISPLAY = RCPADI'
  1213.      The line containing 'MATERIAL-DISPLAY' should be replaced with
  1214.          'MATERIAL-DISPLAY = RCPADI'
  1215.  
  1216. @pause
  1217. @enddisplay
  1218. @elseif (401 [= @option && (@exists "@s3d2drive:@s3d2dir\\3DS.SET"))
  1219. @copy("@s3d2drive:@s3d2dir\\3DS.SET","@s3d2drive:@s3d2dir\\3DS.NEW")
  1220. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.NEW","RENDER-DISPLAY",
  1221.  "RENDER-DISPLAY = RCPADI",,,,,1)==0)
  1222. @getoption
  1223. @cls
  1224. @windmsg(2,79,"--- W A R N I N G ! ---",
  1225.  "Couldn't find 'RENDER-DISPLAY' in",
  1226.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.    For 3D Studio 2.0 to work properly, several lines in 3DS.SET should be
  1239.    changed.  Note that any text that appears on a line after a semi-colon
  1240.    (";") will be ignored by 3D Studio 2.0.  The default has some lines
  1241.    'commented-out' by starting with a semi-colon.
  1242.  
  1243.    A line containing 'RENDER-DISPLAY' could not be found.  Add the line
  1244.        'RENDER-DISPLAY = RCPADI' to the file!
  1245. @option 10000 = "Quit installation!"
  1246. @option 10001 = "Continue"
  1247. @localwindow(11,40)
  1248. @endoption
  1249. @if (10000 [= @option)    @abort    @endif
  1250. @endif
  1251. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.NEW","MAIN-DISPLAY",
  1252.  "MAIN-DISPLAY = RCPADI",,,,,1)==0)
  1253. @getoption
  1254. @cls
  1255. @windmsg(2,79,"--- W A R N I N G ! ---",
  1256.  "Couldn't find 'MAIN-DISPLAY' in",
  1257.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.    For 3D Studio 2.0 to work properly, several lines in 3DS.SET should be
  1271.    changed.  Note that any text that appears on a line after a semi-colon
  1272.    (";") will be ignored by 3D Studio 2.0.  The default has some lines
  1273.    'commented-out' by starting with a semi-colon.
  1274.  
  1275.    A line containing 'MAIN-DISPLAY' could not be found.  Add the line
  1276.        'MAIN-DISPLAY = RCPADI' to the file!
  1277. @option 10000 = "Quit installation!"
  1278. @option 10001 = "Continue"
  1279. @localwindow(11,40)
  1280. @endoption
  1281. @if (10000 [= @option)    @abort    @endif
  1282. @endif
  1283. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.NEW","MATERIAL-DISPLAY",
  1284.  "MATERIAL-DISPLAY = RCPADI",,,,,1)==0)
  1285. @getoption
  1286. @cls
  1287. @windmsg(3,79,"--- W A R N I N G ! ---",
  1288.  "Couldn't find 'MATERIAL-DISPLAY' in",
  1289.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1290. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  1291. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  1292. @localwindow(13,40)
  1293. @option 10000 = "Quit installation!"
  1294. @option 10001 = "Continue"
  1295. @endoption
  1296. @if (10000 [= @option)    @abort    @endif
  1297. @endif
  1298. @display
  1299. @cls
  1300. @windmsg(11,46,"The file @s3d2drive:@s3d2dir\\3DS.NEW, which contains",
  1301.  "the prototype of 3DS.SET for version 2.0, has been written to disk",
  1302.  "Incorporate the changes before running @name.")
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308. @pause
  1309. @enddisplay
  1310. @elseif (402 [= @option)
  1311. @if (!(@exists "@s3d2drive:@s3d2dir\\3DS.OLD"))
  1312. @copy("@s3d2drive:@s3d2dir\\3DS.SET","@s3d2drive:@s3d2dir\\3DS.OLD")
  1313. @else
  1314. @copy("@s3d2drive:@s3d2dir\\3DS.SET","@s3d2drive:@s3d2dir\\3DS.BAK")
  1315. @endif
  1316. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.SET","RENDER-DISPLAY",
  1317.  "RENDER-DISPLAY = RCPADI",,,,,1)==0)
  1318. @getoption
  1319. @cls
  1320. @windmsg(2,79,"--- W A R N I N G ! ---",
  1321.  "Couldn't find 'RENDER-DISPLAY' in",
  1322.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.    For 3D Studio 2.0 to work properly, several lines in 3DS.SET should be
  1335.    changed.  Note that any text that appears on a line after a semi-colon
  1336.    (";") will be ignored by 3D Studio 2.0.  The default has some lines
  1337.    'commented-out' by starting with a semi-colon.
  1338.  
  1339.    A line containing 'RENDER-DISPLAY' could not be found.  Add the line
  1340.        'RENDER-DISPLAY = RCPADI' to the file!
  1341. @option 10000 = "Quit installation!"
  1342. @option 10001 = "Continue"
  1343. @localwindow(11,40)
  1344. @endoption
  1345. @if (10000 [= @option)    @abort    @endif
  1346. @endif
  1347. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.SET","MAIN-DISPLAY",
  1348.  "MAIN-DISPLAY = RCPADI",,,,,1)==0)
  1349. @getoption
  1350. @cls
  1351. @windmsg(2,79,"--- W A R N I N G ! ---",
  1352.  "Couldn't find 'MAIN-DISPLAY' in",
  1353.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.    For 3D Studio 2.0 to work properly, several lines in 3DS.SET should be
  1367.    changed.  Note that any text that appears on a line after a semi-colon
  1368.    (";") will be ignored by 3D Studio 2.0.  The default has some lines
  1369.    'commented-out' by starting with a semi-colon.
  1370.  
  1371.    A line containing 'MAIN-DISPLAY' could not be found.  Add the line
  1372.        'MAIN-DISPLAY = RCPADI' to the file!
  1373. @option 10000 = "Quit installation!"
  1374. @option 10001 = "Continue"
  1375. @localwindow(11,40)
  1376. @endoption
  1377. @if (10000 [= @option)    @abort    @endif
  1378. @endif
  1379. @if (@filesar("@s3d2drive:@s3d2dir\\3DS.SET","MATERIAL-DISPLAY",
  1380.  "MATERIAL-DISPLAY = RCPADI",,,,,1)==0)
  1381. @getoption
  1382. @cls
  1383. @windmsg(3,79,"--- W A R N I N G ! ---",
  1384.  "Couldn't find 'MATERIAL-DISPLAY' in",
  1385.  "@s3d2drive:@s3d2dir\\3DS.SET")
  1386. @writeat("NO FILES WILL BE INSTALLED IF YOU DO NOT CONTINUE",148,19,100)
  1387. @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
  1388. @localwindow(13,40)
  1389. @option 10000 = "Quit installation!"
  1390. @option 10001 = "Continue"
  1391. @endoption
  1392. @if (10000 [= @option)    @abort    @endif
  1393. @else
  1394. @display
  1395. @cls
  1396. @windmsg(11,46,"The file @s3d2drive:@s3d2dir\\3DS.SET for version 2.0 has been updated")
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402. @pause
  1403. @enddisplay
  1404. @endif
  1405. @endif
  1406. @endif
  1407. @definedisk
  1408. @label = "Distribution Disk"
  1409. @beginlib @rootfn.RED
  1410. @if (20 [= @option)
  1411. @file @expfn.EXP @out @acad10drive:@acad10dir\\ADIDISP.EXP
  1412. @file @resfn.RES @out @acad10drive:@acad10dir\\*.*
  1413. @endif
  1414. @if (21 [= @option)
  1415. @file @expfn.EXP @out @acad11drive:@acad11dir\\ADIDISP.EXP
  1416. @file @resfn.RES @out @acad11drive:@acad11dir\\*.*
  1417. @endif
  1418. @if (22 [= @option)
  1419. @file @expfn.EXP @out @acad12drive:@acad12dir\\DRV\\*.*
  1420. @file @resfn.RES @out @acad12drive:@acad12dir\\DRV\\*.*
  1421. @endif
  1422. @if (30 [= @option || 31 [= @option || 32 [= @option || 40 [= @option ||
  1423.  41 [= @option || 50 [= @option )
  1424. @file @expfn.EXP
  1425. @file @resfn.RES
  1426. @endif
  1427. @if (300 [= @option)
  1428. @file APATCH.EXE
  1429. @file APATCH.DOC
  1430. @endif
  1431. @endlib
  1432. @enddisk
  1433. @finish
  1434. @if (30 [= @option || 31 [= @option || 32 [= @option)
  1435. @if (@exists "@acad10drive:@acad10dir\\@cfgfn.CFG")
  1436. @copy("@acad10drive:@acad10dir\\@cfgfn.CFG",
  1437. "@outdrive:@subdir\\@cfgfn.CFG")
  1438. @delete("@acad10drive:@acad10dir\\@cfgfn.CFG") @endif
  1439. @if (@exists "@acad11drive:@acad11dir\\@cfgfn.CFG")
  1440. @copy("@acad11drive:@acad11dir\\@cfgfn.CFG",
  1441. "@outdrive:@subdir\\@cfgfn.CFG")
  1442. @delete("@acad11drive:@acad11dir\\@cfgfn.CFG") @endif
  1443. @if (@exists "@acad12drive:@acad12dir\\@cfgfn.CFG")
  1444. @copy("@acad12drive:@acad12dir\\@cfgfn.CFG",
  1445. "@outdrive:@subdir\\@cfgfn.CFG")
  1446. @delete("@acad12drive:@acad12dir\\@cfgfn.CFG") @endif
  1447. @endif
  1448. @if (40 [= @option)
  1449. @if (@exists "@s3D1drive:@s3D1dir\\3DADI.CFG")
  1450. @delete("@s3D1drive:@s3D1dir\\3DADI.CFG") @endif @endif
  1451. @if (41 [= @option)
  1452. @if (@exists "@s3D2drive:@s3D2dir\\3DADI.CFG")
  1453. @delete("@s3D2drive:@s3D2dir\\3DADI.CFG") @endif @endif
  1454. @if (20 [= @option || 21 [= @option || 22 [= @option ||
  1455.      30 [= @option || 31 [= @option || 32 [= @option ||
  1456.      40 [= @option || 41 [= @option || 50 [= @option)
  1457.     The installation of @name is complete.
  1458. @else
  1459.     @name was not installed. @endif
  1460. @if (400 [= @option || 401 [= @option)
  1461.     Please make the changes to the files requested by INSTALL. @endif
  1462. @if (100 [= @option || 201 [= @option || 202 [= @option)
  1463.     Reboot your system before running the product with the new driver. @endif
  1464. @if (101 [= @option)
  1465.     Run the batch file before running the product with the new driver. @endif
  1466. @if (300 [= @option)
  1467.     AutoPatch was placed at @outdrive:@subdir.    Simply run the program and
  1468.     follow the instructions.  If you have trouble with your new driver, like
  1469.     random crashing or other conflicts, try this patch program.
  1470.     Read APATCH.DOC for instructions. @endif
  1471. @pause
  1472. @chdrive @startupdrive
  1473. @chdir "@startupdir"
  1474. @endfinish
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.