That's misleading, if you set it up correctly, you can use action="create" to actually update an existing entry. You just have to be careful of escape chars.
This would work for an '<appsettings>' ---> '<add key="somekey" value="default"> structure elementpath="//appSettings/[EMAIL PROTECTED]'somekey'[\]]" Just toss in the value you want in that xmlconfig element. On Wed, Aug 13, 2008 at 10:36 AM, <[EMAIL PROTECTED]> wrote: > > > > In Wix 3.0 we have both the XmlConfig and XmlFile elements. > > I'm not totally clear about what is the difference between XmlConfig > and XmlFile. Can somebody explain? Why do we have two different elements > that seemingly can do the same (or can they)? > > Accordingly to Bob Arnson [see > http://n2.nabble.com/Wix---Prevent-XMLFile-updates-on-Repair-option-td702171.html#a702174 > ] > the XmlConfig element is a superset of the XmlFile element. > > So if this is right I/we should favor using XmlConfig over XmlFile, > right? > > One may ask how XmlConfig can be used to change an existing attribute > value in an xml element. XmlConfig does not seem to allow > Action="change" Action="setValue" similar to what > XmlFile offers. > > See also > http://n2.nabble.com/--wix-Bugs-1773936---util%3AXmlConfig-changes-existing-element-td717354.html > > /Michael > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users