Initially I tried making that component that writes to the web.config file conditional, so that it gets executed only during install but not during upgrade or removal. But that condition failed. I have used *Not Installed* property to make this component conditional.
So i don't have a choice except using the move and replace workaround. But seems XmlConfig has a property *On* where we can specify whether to execute on install or on uninstall. If we specify this as install, does this component gets executed only during install or during upgrade also? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-fails-after-upgrade-with-Error-25532-Failed-to-find-node-tp6522308p6524434.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users