And again - of course you need to use VerifyPath='subDirectory[\[].="DirTwo"[\]]'
The \ is escape character (not /). Stefan Pavlik wrote: > 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 > > -- 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