2 Replies Latest reply on Jun 4, 2007 10:54 AM by Olivier Lasis

    How to automate the change of value of some fields in a XML config file ?

    Olivier Lasis

      Hi everybody,


      In Arsys project, one of the provisioning tasks that need to be accomplished automatically, if possible, is to add or modify the values of some fields in the ASP .NET XML configuration file, called C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG\machine.config, on Arsys’ Windows 2003 servers. Here are the values or lines (in Bold) to edit:



      • <trustLevel name="Full" policyFile="internal" />*


      • <trust level="Full" originUrl="" />*


      Does anyone have an idea on the way to do it?


      More generally, what kind of tools can be used to modify by scripting some lines in a file on Linux and on Windows 2003? Sed, perl …?