Uninstall application

  • Thread starter Thread starter Grant
  • Start date Start date
G

Grant

Hi there,

How would I get my installer to give the option of uninstalling any existing
instances of my application? Currently I get an error message if I try to
install over an existing installation and have to manually uninstall from
the control panel.

Thanks,
Grant
 
Hi,

I remember there was a setting in the deployment project properties that
governed this. Checking with MSDN yields the "RemovePreviousVersions"
property on the deployment project which should do just what you want to do.
 
There is an option in the properties of the installer. You also must change
the version number of the installer project, and it will want you to change
the product code too.
 
Back
Top