Re: [WiX-users] Help with adding new elements using XMLConfig

2014-04-15 Thread Michael Turner
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

Re: [WiX-users] Help with adding new elements using XMLConfig

2014-03-28 Thread Uma Harano
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

Re: [WiX-users] Help with adding new elements using XMLConfig

2014-03-26 Thread Michael Turner
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

Re: [WiX-users] Help with adding new elements using XMLConfig

2014-03-26 Thread Uma Harano
] 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

[WiX-users] Help with adding new elements using XMLConfig

2014-03-25 Thread Uma Harano
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