Uma,
Apologies for the delayed response. If you haven't figured it out already,
you only need to remove the parent 'SnippetDir' node, and all of its
children will be removed with it. However, you will need to be clever with
your XPath to make sure you select the correct 'SnippetDir' node for
the Node=document and pass the entire xml snippet?
Thanks!
Uma-
-Original Message-
From: Michael Turner [mailto:mcturner...@gmail.com]
Sent: Wednesday, March 26, 2014 9:16 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Help with adding new elements using XMLConfig
Uma
Uma,
First of all, I don't think you can insert XML before a given node using
XmlConfig; you can only append a new child to a given parent node.
(http://stackoverflow.com/q/8224918)
Also, there are two nodes that match your XPath expression, and XmlConfig
only uses the first match. Since you
]
Sent: Wednesday, March 26, 2014 9:16 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Help with adding new elements using XMLConfig
Uma,
First of all, I don't think you can insert XML before a given node using
XmlConfig; you can only append a new child to a given parent node.
(http
Hi,
I am using the XMLConfig element in Wix 3.8 to add to an existing XML file.
The xml file looks like this before running setup:
SnippetCollection
Language Lang=CSharp Guid={694DD9B6-B865-4C5B-AD85-86356E9C88DC}
SnippetDir
OnOffOn/OnOff
5 matches
Mail list logo