How do you delete/remove an element from an XML file in WiX?
I know this is old, but I searched everywhere for my issue and never could find it until I finally stumbled upon the answer. So maybe by posting here someone will find it useful.
In addition to the above answer, if using V4.0 the xmlns:util link should look like this:
Otherwise you will get the error:
The Component element contains an unhandled extension element 'util:Blah'. Please ensure that the extension for elements in the 'http:⁄⁄schemas.microsoft.com⁄wix⁄UtilExtension' namespace has been provided.