On 07/01/2013 18:34, Wang, Zhongsheng wrote: > <InstallExecuteSequence> > <Custom Action="Uninstall_HIDDriver" After="RemoveRegistryValues"> > <![CDATA[REMOVE="ALL" AND NOT (MAJORUPGRADE OR MINORUPGRADE)]]> > </Custom> > </InstallExecuteSequence>
Unless you're setting those yourself, MAJORUPGRADE and MINORUPGRADE won't exist - they're not standard properties. I think you'll want to use 'UPGRADINGPRODUCTCODE' instead. e.g. <![CDATA[REMOVE="ALL" AND NOT UPGRADINGPRODUCTCODE]]> http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi -- Bruce Cran ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users