XmlFile has problems uninstalling what it installed. XmlFile really is only good at editing files that you install and uninstall completely. XmlFile has some uninstall code but I have not debugged it enough to understand why it never seems to work. I know it won't work in most cases... but none seems very suspect.
XmlConfig was created to address those problems. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Qiu, Wenning Sent: Thursday, May 08, 2008 11:56 To: wix-users@lists.sourceforge.net Subject: [WiX-users] util:XmlFile question I am evaluating the functionality of WiX XmlConfig/XmlFile elements. Using util:XmlFile with Permanent="no", I am expecting the element node to be created when the msi is installed and removed when the product is uninstalled. The code is as follows: <util:XmlFile Id='CreateFirstNode' File='C:/InstallerTest/TestXmlFile.xml' Action='createElement' ElementPath='/Root' Name='First' Permanent='no' /> The element node 'First' gets created when installed, however after the product is uninstalled, the element node is not removed. Am I using util::XmlFile correctly? I am using WiX 3.0.4025.0. Thanks, Wenning Qiu ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users