Hi Advanced Installer Support Team,
One of our customer just reported a serious problem: the order of some nodes in one of our web.config files is completely wrong so that our web feature is not working at all.
This is the customeHeaders section in the XML after they upgraded our product to the latest version:
<customHeaders>
<add name="X-UA-Compatible" value="IE=Edge"/>
<!-- add name="X-Frame-Options" value="SAMEORIGIN" / -->
<!-- THE PAGE CAN BE DISPLAYED IN A FRAME -->
<clear/>
This should be the customHeaders section:
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=Edge" />
<!--add name="X-Frame-Options" value="SAMEORIGIN" /--><!-- THE PAGE CAN BE DISPLAYED IN A FRAME -->
The most important thing is that <clear /> should be the first child, otherwise our web.config file is incorrect.
I just checked our .aip project and the order seems to be correct there. I'm attaching an image about the Edit XML File dialog for that particular web.config file. The "clear" node is listed as 1st child. Note: "child" does not have any attributes, so we cannot define an "identifier attribute", but still it should work. There must be a way of securing the order of nodes somehow, AI must have this possibility, otherwise this XML File feature makes no sense.
Questions:
1. How can we defined/correct the order of the nodes?
2. How can be change the order in Edit XML File dialog. Why we can't drag and drop the nodes on the left hand side treeview? We'd like to manage quite big and complex config files with this feature of yours, of course proper order is an important factor.
Please handle this ticket as a serious one, because it's a blocker for our customer.
Best regards,
Zsolt