I have a WiX extension that supports setting XML values into MSI properties.
Its an open-source project:
https://bitbucket.org/nirbar1/panelswwixextension

To use it you should:

   1. Clone the repository.
   2. Update to the latest "default" branch
   3. Build "PanelSwWixExtension" project in "PanelSwWixExtension" solution.
   4. Add PanelSwWixExtension.dll as a reference to your project.
   5. Use XmlSearch under the property

xmlns:PanelSW="http://schemas.panel-sw.co.il/wix/WixExtension";

    <Property Id="XML_SEARCH">
      <PanelSW:XmlSearch Id="Test1" FilePath="[FullPath]/to/xml/file"
XPath="/xpath/expression[\[]@MyCondition[\]]/@MyAttribute"
Match="enforceSingle"></PanelSW:XmlSearch>
    </Property>

Nir
------------------------------------------------------------------------------
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

Reply via email to