.Net programs compilation produces a .config xml file with some elements added at compile time. Other program-specific configurations could be present in the file, added from the installer.
AdvancedInstaller has the ability to visually merge the xml file from the source, but at command line I've found no suitable command. The only option available is to completely reimport the file (/ImportXmlFile -forceoverwrite), but any customization in the project would be overwritten (for example "if the element is found" option)
Is it possible to add such a command line /edit command that will merge xml files into project? Either with the /RefreshSync command, or a dedicated command.
I would expect a behavior like the following:
- if an element is found in the source file, but not in the xml file in the project, the element is added
- if an element is found both in the source file and in the xml file in the project, the element is updated
- if an element is not found in the source file, but it is present in the project, the element is NOT removed
Obviously any more powerful parameter that can control this behavior would be helpful
Thanks
Valerio