Here you go a working code snippet, works fine for wix 2.0.3116.0 (yep, i know it's obsolete):
<Upgrade Id="$(var.ProductUpgradeCode)"> <UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" /> <UpgradeVersion Minimum="0.0.0" Maximum="$(var.ProductVersion)" Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" MigrateFeatures="yes" /> </Upgrade> ... <InstallExecuteSequence> <Custom Action="ERRCA_NewerVersionFound" After="AppSearch"><![CDATA[NEWERVERSIONDETECTED]]></Custom> <RemoveExistingProducts After="InstallValidate"><![CDATA[PREVIOUSVERSIONSINSTALLED]]></RemoveExistingProducts> </InstallExecuteSequence> Also, please read documentation carefully about where to place RemoveExistingProducts action into InstallExecuteSequence table. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users