[EMAIL PROTECTED] wrote: > 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? >
You can do everything (and more) that XmlFile supports with XmlConfig but it requires extra authoring that's not necessary with XmlFile. XmlFile is best at modifying XML files that you're installing (e.g., to add an attribute reflecting the installed path of a file); it can't remove the modifications at uninstall time but if your setup installed the file, it will be uninstalled anyway. XmlConfig is best at modifying shared XML files because it supports uninstalling the modifications. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- 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