Please keep wix-users on the thread so everyone can participate.
My solution is already mentioned in the thread.... BTW I am using Wix v2 (and have no experience with Wix v3) I found the solution: XML file: <?xml version="1.0"?> <dpInst> <search> <subDirectory>DirOne</subDirectory> <subDirectory>DirTwo</subDirectory> </search> <suppressAddRemovePrograms/> <quietInstall/> </dpInst> To remove the line <subDirectory>DirTwo</subDirectory> you need to write the XMLConfig in following way: <File Id='XmlSettings' Name='dpinst.xml' DiskId='1' /> <XmlConfig Id='RemoveOneLine' File='[#XmlSettings] ' Action='delete' ElementPath='//dpInst/search' VerifyPath='subDirectory[\[].="DirTwo"[\]]' Node='element' On='install' Sequence='1' /> Hope that it will help somebody... Stefan Ravikumar Gopinath wrote: > Hi, > I am trying to remove a section using XmlConfig and it isn't working for > me. Can you please let m know how you resolved this issue? I am using > the following piece of code: > > <Component Id="WHManagerXml_$(var.LCID)" DiskId="1" > Guid="111BCB33-664E-42ca-A186-DE04C317681D"> > <File Id="TestxmlFile" Name="test.xml" Source="test.xml"/> > <util:XmlConfig > Id="TestXmlChange" > File="[TestxmlFile]" > Action="delete" > Node="element" > ElementPath="Parent/Descendant1" > VerifyPath='[EMAIL PROTECTED]"abcd"[\]] > /> > </Component> > > My Xml is > <Parent> > <Descendant1> > <Descendant2 guid='abcd' /> > <Descendant2 guid='efgh' /> > </Descendant1> > </Parent> > > > Thanks > Ravi > -- Stefan Pavlik | [EMAIL PROTECTED] Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2 5930-0735 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users