



































































































































































































































@defineproject
@name = "Weitek MicroStation 4.0"
@version = "2.3.4"
@outdrive = c
@subdir = "\\ustation\\drivers"
 @requires @harddisk
@endproject
@definevars
@qstring @company = "Vibrant Graphics"
@qstring @copyyear = "1991-1994"
@qstring @copycomp = "Vibrant Graphics"
@qstring @realdate = "Thu Jul 14 1994"
@qstring @rootfn = "WTKU40"
@qstring @drvlfn = "WTKU40"
@qstring @resfn = "WTKUS40"
@qstring @cfglfn = "WTKCFG"
@qstring @rlmfn = "VG940124"

@endvars
@display
@cls
@windmsg(2,23,"@Name","Version @Version  @realdate","Copyright (c) @copyyear by @copycomp")








    This driver operates with MicroStation 4.0 from Bentley Systems.

    This program will copy the needed files onto your system after
    asking you for information about the desired setup of
    @name.
    Changes needed to the various files on your system can be
    viewed, saved to disk, or directly modified by INSTALL.

    You may press [ESC] to abort at any time.
    @pause
@enddisplay
@getoption
 @cls
 @writeat("Do you wish to install the driver?",30,,100)
 @writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",
          ,20,100)
 @option 10 = "Yes, install the driver"
 @option 11 = "No, do not install the driver"
@endoption
@if (10 [= @option)
 @getoutdrive @outdrive
  @cls
  @suppress A
  @suppress B
  @writeat("Please specify the drive where @name",
              30,18,100)
  @writeat("should be located.",30,19,100)
 @endoutdrive
 @getsubdir @subdir
  @cls
  @writeat("Please specify the directory where @name",
           30,8,100)
  @writeat("should be located.",
           30,9,100)
  @writeat("Type the pathname and press <ENTER>.  <ESC> once to clear, twice to abort.",
           ,20,100)
  @localwindow(13,1)
 @endsubdir
@endif
@if (10 [= @option)
 @getoption
  @cls
  @writeat("Please specify where you wish the SET statement(s) placed.",
                 30,2,100)












    Environment variables MUST be properly setup before the driver will
    work correctly.  You may either have the variables set in the
    AUTOEXEC.BAT, so that they are setup when you boot your system, or
    in a @rootfn.BAT file which MUST be run before you use the product
    with the driver.

@writeat("SET @cfglfn=@outdrive:@subdir\\@cfglfn.DAT",31,9,100)
@writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",
             ,21,100)
@option 100 = "Put SET statement(s) into AUTOEXEC.BAT"
@option 101 = "Put SET statement(s) into @rootfn.BAT"
@endoption
@endif
@if (100 [= @option || 101 [= @option)
 @display
  @cls
   @windmsg(1,14,"--- I M P O R T A N T ---")



    Many programs use environment variables to allow the user to configure
    his/her system as they desire.  These variables, however, do require
    some small amount of memory.  The amount of memory set aside by the
    system by default is fairly small, but adequate for systems with few
    environment variables.  With the recent trend of software packages
    using environment variables, the default is often not enough.  If you
    encounter the message 'Out of environment space' while booting your
    system or running a batch file, then you should increase the amount of
    space set aside for these variables with the following line in your
    CONFIG.SYS file and reboot:

               SHELL = C:\COMMAND.COM /P /E:xxxx

    where 'xxxx' is a decimal number.  1024 is a good number, but may
    not be sufficient if you have many environment variables set.

  @pause
 @enddisplay
@endif









@if (
 100 [= @option || 101 [= @option
 )
@getoption
@cls
@writeat("Configuration changes",30,,100)







    Displaying to screen only will make no changes to your system, but
    you must make any displayed changes before running the program.

    If you select the .NEW file output, then the changes needed will be
    written into a file of the same name, with an extention of .NEW.
    Use an editor to make the changes in the original file.

    If you select the direct change, a backup of your file will be made
    with the extention .BAK.

@writeat("Use the <UP> <DOWN> arrow keys to move and <ENTER> to select.",,21,100)
@option 400 = "Display required commands to screen only"
@option 401 = "Put required commands into .NEW files"
@option 402 = "Modify @rootfn.BAT and/or AUTOEXEC.BAT directly"
@endoption
@endif
@if (100 [= @option
)
@setautoexec
@if (400 [= @option)
 @screenproto
@elseif (401 [= @option)
 @diskproto
@elseif (402 [= @option)
 @askoverwrite
@endif
@if (100 [= @option)
 @setreplace("@cfglfn","@outdrive:@subdir\\@cfglfn.DAT")
@endif

@endautoexec
@endif
@if (101 [= @option)
 @setbatch
  @if (400 [= @option)
   @screenproto
    @elseif (401 [= @option)
     @diskproto
    @elseif (402 [= @option)
     @askoverwrite
    @endif
   @file "@rootfn.BAT"
   @setreplace("@cfglfn","@outdrive:@subdir\\@cfglfn.DAT")
@endbatch
@endif
@definedisk
@label = "Distribution Disk"
@beginlib @rootfn.RED
@if (10 [= @option)
 @file @drvlfn.EXP
 @file @drvlfn.MA
 @file @drvlfn.MGL
 @file @cfglfn.EXE
 @file @resfn.RES
@endif
@endlib
@enddisk
@finish
@if (10 [= @option)
    The installation of @name is complete.
@else
    @name was not installed. @endif
@if (400 [= @option || 401 [= @option)
    Please make the changes to the files requested by INSTALL. @endif
@if (100 [= @option || 201 [= @option || 202 [= @option)
    Reboot your system before running the product with the new driver. @endif
@if (101 [= @option)
    Run the batch file before running the product with the new driver. @endif
@pause
@chdrive @startupdrive
@chdir "@startupdir"
@endfinish






