I have a major update that I'm trying to do, but it just doesn't work. He simply installs a new program along with the old one. They are in different directories (since I changed the directory structure with the new version), so there are no conflicts, but the old one must be erased so that my product functions properly.
<Property Id="UPGRADE_NEEDED" Secure="yes" /> <Property Id="SAME_OR_NEWER_VERSION" Secure="yes" /> <InstallExecuteSequence> <RemoveExistingProducts After="InstallFinalize" /> </InstallExecuteSequence> <Upgrade Id="{PUT-YOUR-GUID-HERE}"> <UpgradeVersion Minimum="5.1.3" OnlyDetect="yes" IncludeMinimum="yes" Property="SAME_OR_NEWER_VERSION" /> <UpgradeVersion Minimum="5.1" Maximum="5.1.3" Language="1033" Property="UPGRADE_NEEDED" MigrateFeatures="yes" IncludeMinimum="yes" />
These are my update items (with remote GUID, of course). If anyone finds where the problem is, I would really appreciate it.
source share