Aide MicroStation CONNECT Edition

Fichier de configuration ConfigurationSetup.cfg

Quand un chemin de configuration réseau est défini pendant l'installation, il est écrit dans le fichier ConfigurationSetup.cfg. Cela définit le répertoire de configuration racine dans la variable de configuration _USTN_CUSTOM_CONFIGURATION. Le msconfig.cfg inclut le fichier ConfigurationSetup.cfg comme suit :
%if exists ($(_USTN_INSTALLED_CONFIGURATION)ConfigurationSetup.cfg)
%  include $(_USTN_INSTALLED_CONFIGURATION)ConfigurationSetup.cfg
%endif
Voici le contenu du fichier ConfigurationSetup.cfg, tel que fourni :
#----------------------------------------------------------------------
#  ConfigurationSetup.cfg - Configures the root Configuration directory
#  for Your Organization
#
# The main function of this configuration file is to allow user to specify
# the root Configuration directory to activate. The active Configuration
# directory is represented by _USTN_CONFIGURATION. By default, it points to
# the installed Configuration defined by _USTN_INSTALLED_CONFIGURATION,
# which can consist of example WorkSpaces and WorkSets.
# If your organization has its own Configuration directory, you can define
# _USTN_CUSTOM_CONFIGURATION to that directory path and use it as follows.
#
#_USTN_CUSTOM_CONFIGURATION = D:/.../MyConfiguration/
#_USTN_CONFIGURATION : ${_USTN_CUSTOM_CONFIGURATION}
#----------------------------------------------------------------------

#----------------------------------------------------------------------
# START: The section defines user selection at the time of installation.
# These lines are generated by installer.
[General]
_USTN_CUSTOM_CONFIGURATION=

[SetConfiguration]
%if !defined (_USTN_USER_CONFIGURATION)
%if defined (_USTN_CUSTOM_CONFIGURATION) && ($(_USTN_CUSTOM_CONFIGURATION) != "") && exists ($(_USTN_CUSTOM_CONFIGURATION))
_USTN_CONFIGURATION = $(_USTN_CUSTOM_CONFIGURATION)
%endif
%endif

Remarque : Le fichier ConfigurationSetup.cfg ne doit pas être modifié manuellement. Il est automatiquement mis à jour quand vous basculez entre les configurations ou remplacé quand le produit est mis à jour.

Si un emplacement de configuration réseau n'est pas défini pendant l'installation, alors _USTN_CONFIGURATION pointe sur le dossier Chemin d'accès pour la configuration défini par _USTN_INSTALLED_CONFIGURATION. Si un emplacement de configuration réseau est défini pendant l'installation, son chemin est défini dans _USTN_CUSTOM_CONFIGURATION.