Not sure if this is what you want, but what I did when I wanted to replace either of two previous products was this (in Wix 3.0, not sure if the syntax has changed):
<Upgrade Id='UpgradeCode-guid-for-version 3.xxx'> <UpgradeVersion Property='PATCHFOUND' IncludeMinimum='yes' Minimum='1.0.1'/> </Upgrade> <Upgrade Id='UpgradeCode-guid-for-version 4.xxx'> <UpgradeVersion Property='PATCHFOUND' IncludeMinimum='yes' Minimum='1.0.1'/> </Upgrade> <InstallExecuteSequence> <RemoveExistingProducts After='InstallValidate'/> </InstallExecuteSequence> If it detects either of the specified upgrade codes then it uninstalls them completely before installing the new version. Jeff Bean John Robbins wrote: > > Hello, > > (I'm using WiX 2.0) > > While the documentation says that there can be "(min: 0, max: unbounded)" > RemoveExistingProducts under the InstallExecuteSequence element, if you > try > it, you get a "Duplicate symbol > 'Actions:InstallExecuteSequence/RemoveExistingProducts' found." error > compiling. > > What I'd like to have is my install do a complete uninstall of any version > 3.XXX product, with a <RemoveExistingProducts Before='InstallValidate'> > and > for any version 4.XXX (less than current) installed a > <RemoveExistingProducts After='InstallFinalize'> > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Super-Upgrade-tf2897570.html#a8119690 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users