You do have a choice. dblock has already done the hard work of writing appropriate Conditions for you -> http://code.dblock.org/ShowPost.aspx?id=101 You can use those Properties in your Conditions & thus you no longer need Custom Actions to work around something which doesn't need a work around.
Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: sainathas [mailto:[email protected]] Sent: 28 June 2011 12:08 To: [email protected] Subject: Re: [WiX-users] Uninstall fails after upgrade with Error 25532. Failed to find node: 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-tp6522308p65244 34.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 [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

