I have an older version of our product installed (one whose installer wasn't made with AdvancedInstaller) and I'd like our newer version of the same product to detect that the older one is installed and then remove the old version.
The old products version is 2.0.3 and the new one's is 2.1.0
The installer for the new version has the same UpgradeCode as the old one and the Upgrades page looks something like this (excuse the formatting):
Upgrade Code Min. Ver Max. Ver. Property
{60E0C...} [|ProductVersion] PREVIOUSVERSIONSINSTALLED
{60E0C...} [|ProductVersion] NEWERPRODUCTFOUND
Additionally, I notice that if I click the 'Customize Advanced Installer...' checkbox, there's a couple more Upgrades with the properties AI_NEWERPRODUCTFOUND and OLDPRODUCTS.
However, when I run the newer installer I always end up with 2 versions of the product in the Windows Add/Remove programs dialog. Is there anything I might be missing? Or do I need to specifically define the properties (eg: NWERPRODUCTFOUND)?
Thanks,
Mark