The ElementPath
attribute of XmlFile
element in wix accepts an xpath to select the target. How can I include namespace prefixes in this xpath?
相关问题
- How does the setup bootstrapper detect if prerequi
- Wix: How can I set, at runtime, the text to be dis
- Wix variable name formats with spaces and other ch
- WiX: Multiple MSI files?
- Help with one step build all projects + installer
相关文章
- How do I require a value in a textbox in a Wix cus
- How to prevent WiX bundle with same UpgradeCode/Ve
- How do I pass a default 'install location'
- Running msiexec from a service (Local System accou
- Can I use msilib or other Python libraries to extr
- WIX 3.8 msiexec.exe /quiet Error 1603
- Wix Harvest: Same Component/File ID when files are
- Cancel Installation and Rollback using wix burn Bo
According to this issue entry it seems to be a bug or better: a not implemented feature, as an eventually existing default namespace is not exposed by the
util:XmlFile
-element.According to the first comment in this entry you can work around this issue by using
util:XmlConfig
which should look in the empty namespace for the needed nodes / elements.Edit: I've found another method for using it: according to this SO question by @LarsH you can use something like the following (didn't test it myself, but as it seem to be a valid XPath 1.0 expression, it should normally work):
Remember to escape the square brackets, i.e.
[...]
should become[\[]...[\]]
.