I got an exe and in the install instructions it is mentioned to uninstall the previous versions. Installers of previous versions are provided.

If you try to install the new exe where old one is already there it shows that this upgrades the older one and do you want to continue.

But, when I install the msi which I've extracted from the latest version Exe it shows that another version of the same product is already there and installation cannot continue. Please uninstall them from add or remove programs.


I extracted the msi's from the old 2 exe and found that product code and upgrade code is same for them.

I added in the upgrade table version min =null and version max=the version of the previous application attributes =2


Please help me how to uninstall the old 2 versions and install new version.

Thanks in advance

0 Comments   [ + ] Show Comments


Please log in to comment



Try with this in Upgrade Table

UpgradeCode - UpgradeCode of Previous Version

VersionMin - NULL

VersionMax - ProductVersion of Current MSI

Language - ProductLanguage of Previous Version

Attributes - 512


ActionProperty - Unique Public Property.. (This will be added to SecureCustomProperties in Property table)

Keep RemoveExistingProducts standard action in between the InstallValidate and InstallInitialise actions in Execute Immidate

Answered 04/04/2013 by: jagadeish
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity