I am trying to get this Custom Action project working with my Xpath Expression
http://www.codeproject.com/Articles/865604/Writing-a-Wix-Extension-to-Read-XML-Files The project compiles and seems to be working. <xmlsearch:XmlSearch Id="SerialNo" File="$(var.ProjectDir)Myxmlfile.xml" XPath="substring-after(substring-before(/MainNode/SubNode[\[]1[\]]/SubSubNode/LowestNode[\[]1[\]]/@KeyValue,".xml"),".bp"<mailto:/@KeyValue,".xml"),".bp">;)" /> The string I am parsing looks something like this "12345.bp09090909.xml" I want to be able to extract the 09090909 portion out and assign it to a Property. If I don't use the substring-after and before functions (or any functions for that matter) it works fine. But with the functions in the XPath I get an Unknown Xml Error and it returns a "0". I am not an experienced C++ developer or that knowledgeable at writing custom actions for Wix Installs. So my ability to debug this is limited. Has anyone else run into problems using this project and/or dealing with XPath expressions that use nested or single functions? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users