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