CONNECT Edition - Deploying or Updating ConfigurationSetup.cfg

When you create a Deployment Image for MicroStation CONNECT Edition or AECOsim Building Designer CONNECT Edition, the configuration stage of the installation enables the location of the Custom Configuration to be selected in the same way as a manual installation:

This step writes the location of the Custom Configuration, normally on a network share (mapped drive or UNC) into the ConfigurationSetup.cfg that is created during installation, amending the section:

[General]

_USTN_CUSTOM_CONFIGURATION=

To

[General]

_USTN_CUSTOM_CONFIGURATION=<MyCustomConfigurationLocation>

e.g.: as entered above:

_USTN_CUSTOM_CONFIGURATION=//hal/CONFIGURATIONS/MCE/

Updating ConfigurationSetup.cfg

Updating the Custom Configuration location can be carried out most simply by timing the change to coincide with an update installation, and when creating a new deployment image set it to the required Custom Configuration location.

Where software management tools are used this may also be the simplest approach for a path change that does not coincide with a version update.

It is also possible to copy an updated ConfigurationSetup.cfg file to machines either manually for small numbers of via a batch file for larger networks

Example Batch File

This is similar to a file used for an equivalent purpose in the V8i QuickConfigs.

  1. Copy the text below into a new text document
  2. Save it as a .BAT file with a meaningful name (ensuring Windows File Extensions are displayed before saving!), e.g. MCE_U13_CFG_BatchFile.bat
  3. Copy your ConfigurationSetup.cfg to an appropriate network folder
  4. Edit the Set CfgSource line (this is to avoid typos in the command line below) to show the path to that folder (including the trailing slash)
  5. Run the batch file from each target machine (or add it to the computer start up scripts if your system has implemented them or uses other more sophisticated deployment tools).

Example Batch File Contents:

rem @Echo Off

rem MicroStation CE U13 Distribute ConfigurationSetup.cfg

rem Bentley Systems UK Ltd - 10 Sept 2019

rem v 1.0 for distribution

rem Change the example path in Set CfgSource below to the actual location (either UNC or mapped drive)

 

Set CfgSource=\\SERVER\Configurations\

 

echo copy Start up configuration to C:\ProgramData\Bentley\MicroStation CONNECT Edition\Configuration\

IF EXIST "C:\ProgramData\Bentley\MicroStation CONNECT Edition\Configuration\" copy "%CfgSource%ConfigurationSetup.cfg" "C:\ProgramData\Bentley\MicroStation CONNECT Edition\Configuration\ConfigurationSetup.cfg" /Y

Translated German Wiki article:
CONNECT Edition - Bereitstellung von ConfigurationSetup.cfg