Previous version of application is not removed when installing new version
I have a setup project which gives me a .exe file
When I try to install this on a machine which already had installed its earlier version...it gives me an error and asks me to remove it from Add/Remove programs.What should i do, so that the installer either repairs or uninstalls and reinstalls it automatically?


Rafnas T PRank #280 · 8.8K reputationPosted Jul 20, 2017, 9:40 PM EDT
Karthi KeyanRank #1,926 · 762 reputationPosted Jul 19, 2017, 9:38 PM EDT
Jyoti JodhaRank #1,408 · 1.2K reputationPosted Jul 19, 2017, 9:52 PM EDT
Karthi KeyanRank #1,926 · 762 reputationPosted Jul 19, 2017, 11:34 PM EDT
Jyoti JodhaRank #1,408 · 1.2K reputationPosted Jul 19, 2017, 11:41 PM EDT
DetectNewerInstalledVersions property to true.
Set RemovePreviousVersions to true
Rafnas T PRank #280 · 8.8K reputationPosted Jul 20, 2017, 9:19 PM EDT
Jyoti JodhaRank #1,408 · 1.2K reputationPosted Jul 20, 2017, 9:24 PM EDT
Rafnas T P
DetectNewerInstalledVersions property to true.
Set RemovePreviousVersions to true
Rafnas T PRank #280 · 8.8K reputationPosted Jul 20, 2017, 9:28 PM EDT
Jyoti JodhaRank #1,408 · 1.2K reputationPosted Jul 20, 2017, 9:36 PM EDT
Jyoti JodhaRank #1,408 · 1.2K reputationPosted Jul 20, 2017, 10:04 PM EDT
Rafnas T PRank #280 · 8.8K reputationPosted Jul 20, 2017, 10:30 PM EDT