Information

  • To prevent that Client settings be changed by the user, an option for adding and checking Windows registry keys was added.
  • A user with administrator rights can create and edit keys himself or use files for adding registry keys from the Client folder (AddConfigPathValue.reg).
  • The registry key can be created for one user or for all users of the current computer.
  • The registry key should contain a value which contains the path to the config file with client settings.
  • If this key exists in the registry, it will be used exclusively. All other options for Client settings will be disabled (such as the .ini file and command line arguments).

AddConfigPathValue.reg example

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\planta]
config1 = "C:\\PlantaConfigs\\planta1.ini"
config2 = "C:\\PlantaConfigs\\planta2.ini"
;[HKEY_LOCAL_MACHINE\Software\Wow6432Node\planta]
;config_path = "Enter path to config file including its name here (use \\ instead of \ in file path string)"

Attributes

  • HKEY_CURRENT_USER\SOFTWARE\planta - registry key for current user
  • HKEY_LOCAL_MACHINE\Software\Wow6432Node\planta - registry key for all users on local machine

Notes

  • If there are one or more entries in the registry for the client, a dialog message will be displayed when starting the client, asking you to choose the required configuration, unless the config parameter is defined in the client link.
  • As soon as client registry settings have been defined, settings in the client link (e.g. another server or activating the logging) will be ignored.