Hi, Yes, I used that too, but, at least in my case, the quotes didn't work, so I had to use it like this:
<Condition>(NOT UPGRADINGPRODUCTCODE) AND (REMOVE=ALL)</Condition> Viv On 4/1/2010 9:49 PM, little.forest wrote: > Thanks Sanjay. > > > This is great. Especially there is a table - much clearer. > > > > ________________________________ > From: Sanjay Rao<s...@noida.interrasystems.com> > To: General discussion for Windows Installer XML > toolset.<wix-users@lists.sourceforge.net> > Sent: Wed, March 31, 2010 11:02:18 PM > Subject: Re: [WiX-users] Conditions for Uninstall/Remove Only > > try out this one. > (NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL") > > for more details u can see > http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi > > -Sanjay > > > little.forest wrote: > >> How can I create conditions for a custom action to run for Uninstall/Remove >> only? >> >> >> If I use condition 'Installed' then the CA runs in Repair mode. >> If I use condition 'Remove="ALL"' then the CA doesn't run in Repair, but it >> doesn't run in Uninstall/Remove either. >> >> Thanks. >> >> >> __________________________________________________________________ >> Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your >> favourite sites. Download it now >> http://ca.toolbar.yahoo.com. >> ------------------------------------------------------------------------------ >> Download IntelĀ® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> >> >> >> > > > > ------------------------------------------------------------------------------ > Download IntelĀ® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > __________________________________________________________________ > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your > favourite sites. Download it now > http://ca.toolbar.yahoo.com. > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users