Hi list I have the same problem as Kevin Burton in thread [Remove a section using XmlFile] several months ago. Since I am not able to solve it (even after reading the thread again and again) I am asking the same question again.
I am using Wix Consider following xml file: <?xml version="1.0"?> <dpInst> <search> <subDirectory>DirOne</subDirectory> <subDirectory>DirTwo</subDirectory> </search> <suppressAddRemovePrograms/> <quietInstall/> </dpInst> I want to remove the line "<subDirectory>DirTwo</subDirectory>" from the file. The following code does not work: <File Id='XmlSettings' Name='dpinst.xml' DiskId='1' /> <XmlConfig Id='RemoveOneLine' File='[#XmlSettings] ' Action='delete' ElementPath='//dpInst/search' VerifyPath='subDirectory[/[].="DirTwo"[/]]' On='install' Sequence='1' /> I have already tried several other combinations of ElementPath and VerifyPath values with no success. Interesting is that the property ExecXmlConfig (CustomActionData for ExecXmlConfig action) is even not set (in the log file). If I use XMLConfig to add some lines the ExecXmlConfig property is filled with some data. Is it possible that the Action='delete' and On='Install' is invalid combination? Any help is appreciated. regards 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