My MSI updates the app.config file using <util:XmlFile>. Something like
this,

<util:XmlFile File="[INSTALLLOCATION]App.config"
                          Id="ABC"

ElementPath="/configuration/HandleConfig/@name"
                                                    Value="[ABC]"
                                                    Action="setValue"/>

I want to add an existence check for the node/attribute, if it exists,
update the value, else forget it!
The Wix file compiles fine which is expected, but during deployment Wix
complains "Failure to find node: /configuration/HandleConfig/@name"

How can I add a check before updating values?
------------------------------------------------------------------------------
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