Configuring ProStructures to read configuration from custom location other than default location.


 Product(s):ProStructures
 Version(s):CONNECT Edition (10.06.01.59) & Below
 Area:Setup & Customization
 Subarea:Configuration Setup
 Original Author:Sandip Kar, Bentley Product Advantage Group
Updated By:Vyanktesh Nama, Bentley Product Advantage Group

Overview

With the installation of ProStructures, Configuration is getting installed in C Drive, generally in this path, "C:\ProgramData\Bentley\ProStructures CONNECT Edition\Configuration" which is very common in case of out of the box installation.

But it is not always wanted by our users to have the Configuration at C drive. it may be in other location or other drive or may be it should read from Server location. If users want to setup custom configuration during installation, that can be done easily from the options we are getting while installing. But in case after installation, if one wants to change the location of Configuration, then they need to manually put the path in the Configuration.cfg file. 

This document will explain how to define custom Configuration path after installing the product.

Method

After the successful installation of ProStructures, we will be getting two cfg files under Configuration folder as shown in the above image. Please follow the below steps to configure the custom location for Configuration.

1. Open the ConfigurationSetup.cfg file from the “C:\ProgramData\Bentley\ProStructures CONNECT Edition\Configuration”
2. 
Put the desired path of Server against _USTN_CUSTOM_CONFIGURATION
3. The same you need to put in the line against _USTN_CONFIGURATION
4. In the following example, my custom path is “D:/ProStructures/Custom_Configuration”. So to run ProStructures with the adequate configuration from this path we need to put the path for  _USTN_CUSTOM_CONFIGURATION as per the image shown below.

Please note with the change of path you should also keep all the Configuration folder to that particular location so that program can find the files and folders after getting to that path mentioned in the Configuration.cfg file.

After finishing the Setup, when you launch the ProStructures application and check the Configuration, you will find, now Configuration is reading data from the custom location.

Following the same process one can define the Server location path to read Configuration from Server location.

See Also