I am creating an updatable installer using WiX, which should completely remove the existing program before installing the new version. I have update files and add a new version, but I still have 2 instances of the program on the "Add or Remove Programs" screen. Below is an example of how I am trying to delete everything.
<Product Id="064e9bca-dcf5-412d-9a8f-dafec3bd3406" Name="testInstall" Language="1033" Version="1.0.14" Manufacturer="testInstall" UpgradeCode="5dd5747f-c598-4133-8c7d-252ae3dee8a5">
<Package InstallerVersion="301" InstallPrivileges="elevated" InstallScope="perMachine" Compressed="yes" />
<Upgrade Id="5dd5747f-c598-4133-8c7d-252ae3dee8a5">
<UpgradeVersion Minimum="1.0.0"
IncludeMinimum="yes"
Maximum="1.0.13"
OnlyDetect="no"
Property="OLDERVERSIONBEINGUPGRADED" />
</Upgrade>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallInitialize"/>
</InstallExecuteSequence>
Any help that can be provided will be appreciated.
source
share