Windows Installer (Setup.msi)

  • Thread starter Thread starter Charles A. Lackman
  • Start date Start date
C

Charles A. Lackman

Hello,

I have an application that is installed on a client Computer. I have to
uninstall the original version in order to install a new version of the
application that is running on a different version of the framework. When I
attempted to run the MSI it says that I must uninstall the original
application before I can continue.

How do I make the new application's setup automatically uninstall the older
version so that the user doesn't have to manually uninstall it?

Thanks,

Chuck
 
In the setup project, go to the property pages and increment the Version
property - it will ask you to change Product and Package codes - say ok. The
set the RemovePreviousVersions property to True. This will uninstall your
previous version as long as the Just me/Everyone settings are the same in
the old and new versions.
 
Back
Top