MultipleConnection
This article assumes some familiarity with FileUpdater and its terminology as well as Windows Registry Editor.
FileUpdater supports multiple SOURCEURLs so that different user groups can have different content distributed to them.
Usually there is a common set of files which all users need (main repository) which typically includes add-ins and companywide templates. Then there may be other departments with specific needs that have their own custom functionality and templates. FileUpdater can, when properly configured, fetch additional files for these users.
This is what we call a Multiple Connections setup.
Setup:
To distribute different files to different user groups it is necessary to set up separate FileUpdater profiles with the desired files and publish them with the admin module.
Example of three profiles:
1. Main (common for all users)
2. Extra templates/special functionality for Group X
3. Extra templates/special functionality for Group Y
.
.
.
n. Extra templates/special functionality for Group N
Via MultipleConnection registry keys on a user's machine, FileUpdater will synchronize from profile 1 + possibly profile 2 + possibly profile 3 as needed.
The user's FileUpdater client will fetch the files in the repositories if they have the corresponding profiles (registry keys) set up in their registries.
This is usually managed via group policy (GPO) distribution.
Registry keys
To have multiple repositories it is necessary to use the "MultipleConnection" node as in the examples below.
The registry entries can be configured in Current User, Local Machine or a mix of the two depending on the needs of the organization. Current User keys are read first by the client.
Please note
With MultipleConnection the standard key (HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SkabelonDesign\SDUP) is no longer respected even if it has content.
Simple example of HKCU registry keys:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SkabelonDesign\SDUP\MultipleConnection\Main]
"PROXYPASSWORD"=""
"ENCRYPTED"="False"
"RUNONCE"="False"
"SOURCEUSERNAME"=""
"SOURCETIMEOUT"=""
"PROXYPORT"=""
"SOURCEPASSIVECONNECTION"=""
"PROXYUSER"=""
"PROCVALIDATION"="False"
"PROXYTYPE"=""
"MULTIPLECONNECTIONPATH"=""
"CONNECTIONTYPE"="0"
"SOURCEHOSTNAME"=""
"PROXYSERVER"=""
"SOURCEPASSWORD"=""
"SOURCEURL"="[MAIN_SOURCEURL]"
"SOURCEPORT"=""
[HKEY_CURRENT_USER\Software\SkabelonDesign\SDUP\MultipleConnection\GroupX]
"PROXYPASSWORD"=""
"ENCRYPTED"="False"
"RUNONCE"="False"
"SOURCEUSERNAME"=""
"SOURCETIMEOUT"=""
"PROXYPORT"=""
"SOURCEPASSIVECONNECTION"=""
"PROXYUSER"=""
"PROCVALIDATION"="False"
"PROXYTYPE"=""
"MULTIPLECONNECTIONPATH"=""
"CONNECTIONTYPE"="0"
"SOURCEHOSTNAME"=""
"PROXYSERVER"=""
"SOURCEPASSWORD"=""
"SOURCEURL"="[GroupX_SOURCEURL]"
"SOURCEPORT"=""
[HKEY_CURRENT_USER\Software\SkabelonDesign\SDUP\MultipleConnection\GroupY]
"PROXYPASSWORD"=""
"ENCRYPTED"="False"
"RUNONCE"="False"
"SOURCEUSERNAME"=""
"SOURCETIMEOUT"=""
"PROXYPORT"=""
"SOURCEPASSIVECONNECTION"=""
"PROXYUSER"=""
"PROCVALIDATION"="False"
"PROXYTYPE"=""
"MULTIPLECONNECTIONPATH"=""
"CONNECTIONTYPE"="0"
"SOURCEHOSTNAME"=""
"PROXYSERVER"=""
"SOURCEPASSWORD"=""
"SOURCEURL"="[GroupY_SOURCEURL]"
"SOURCEPORT"=""
Simple example of HKLM registry keys:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SkabelonDesign\SDUP\MultipleConnection\Main]
"PROXYPASSWORD"=""
"ENCRYPTED"="False"
"RUNONCE"="False"
"SOURCEUSERNAME"=""
"SOURCETIMEOUT"=""
"PROXYPORT"=""
"SOURCEPASSIVECONNECTION"=""
"PROXYUSER"=""
"PROCVALIDATION"="False"
"PROXYTYPE"=""
"MULTIPLECONNECTIONPATH"=""
"CONNECTIONTYPE"="0"
"SOURCEHOSTNAME"=""
"PROXYSERVER"=""
"SOURCEPASSWORD"=""
"SOURCEURL"="[MAIN_SOURCEURL]"
"SOURCEPORT"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SkabelonDesign\SDUP\MultipleConnection\GroupX]
"PROXYPASSWORD"=""
"ENCRYPTED"="False"
"RUNONCE"="False"
"SOURCEUSERNAME"=""
"SOURCETIMEOUT"=""
"PROXYPORT"=""
"SOURCEPASSIVECONNECTION"=""
"PROXYUSER"=""
"PROCVALIDATION"="False"
"PROXYTYPE"=""
"MULTIPLECONNECTIONPATH"=""
"CONNECTIONTYPE"="0"
"SOURCEHOSTNAME"=""
"PROXYSERVER"=""
"SOURCEPASSWORD"=""
"SOURCEURL"="[GroupX_SOURCEURL]"
"SOURCEPORT"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\SkabelonDesign\SDUP\MultipleConnection\GroupX]
"PROXYPASSWORD"=""
"ENCRYPTED"="False"
"RUNONCE"="False"
"SOURCEUSERNAME"=""
"SOURCETIMEOUT"=""
"PROXYPORT"=""
"SOURCEPASSIVECONNECTION"=""
"PROXYUSER"=""
"PROCVALIDATION"="False"
"PROXYTYPE"=""
"MULTIPLECONNECTIONPATH"=""
"CONNECTIONTYPE"="0"
"SOURCEHOSTNAME"=""
"PROXYSERVER"=""
"SOURCEPASSWORD"=""
"SOURCEURL"="[GroupY_SOURCEURL]"
"SOURCEPORT"=""
Comments
0 comments
Please sign in to leave a comment.