ElementPath is a formatted field. Try this:

ElementPath="/configuration/PluginSources/add[...@key='Client'[\]]"

btw, ru trying to update the value of attribute "Client" or the name of the
attribute itself?
--------------------------------------------------------------------------------------------------------------

John H. Bergman (XPedient Technologies) wrote:
>                 <util:XmlFile Id="ModifyPluginDir_Client"
Action="setValue"
>                               File="[WPFClient]app.config"
>                               ElementPath="/configuration/
PluginSources/add/@key='Client'"
>                               Value="[xpt_ClientPlugins]"/>
>
> To change the value.
>

You'll need to use the Name attribute to specify that you're overwriting
the value attribute. You might also want to try
switching SelectionLanguage explicitly to XPath. Also, the extra
backslash in the log is something to look at: The directory property
should never end in two backslashes; also, you can use [#fileId] instead
of [directory]filename.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to