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 rem

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

2014-03-28 Thread Uma Harano
? I cannot use 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 elem

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

2014-03-26 Thread Uma Harano
cturner...@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, First of all, I don't think you can insert XML before a given node using XmlConfig; you can only append a new chi

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 kno

[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> On true 1033 %InstallRoot%\VC#\Snippets\%LCID%\Visual C#\ Visual C#