I am using WIX to add an XML element in a file. When my util:XmlConfig element had a VerifyPath attribute like this:
VerifyPath="/configuration/App/add[@key='ApiURL']"
nothing happened. Now I've changed it to look like this (based on some other code I found elsewhere in our codebase):
VerifyPath="/configuration/App/add[\[]@key='ApiURL'[\]]"
And it is correctly adding the element. What is this escaping and why is it necessary?