Posted: 8 Dec 2017 12:28 EST Last activity: 13 Mar 2018 8:23 EDT
Need changes done to RuntimeConfig.xml to be deployed with Solution
After making changes to the "DeploymentSecurity" element within RuntimeConfig.xml, I need to deploy the modified RuntimeConfig with the new solution bundle. How is this done? We do not use the OMC. Our packages are deployed using Microsoft's SCCM.
***Updated by moderator: Lochan to update Categories***
***Edited by Moderator Marissa to add SR Details***
RuntimeConfig.xml is read when the Runtime starts so it must be deployed prior to that. If a RuntimeConfig exists in a user profile it will take precedence over the config in the install folder. This can make it difficult to update this file if the machine has multiple users.
To change the location of the RuntimeConfig you can edit the CommonConfig.xml which is located in ProgramData. The setting to change is named ConfigurationLocation. If you change this to CommonApplicationData the RuntimeConfig will be moved to ProgramData. Once you have done this, you can freely update the file at this location and all users of the machine will use the same file.