In the properties window of your installer(setup project), there is a
property 'RemovePrevious'. set its value to true. Then it will automatically
uninstall the previous version before installing new version.
NS
> I created a setup project that installs my Windows application using Visual
> Studio 2003. Unfortunately each time when I try to reinstall the application
[quoted text clipped - 4 lines]
>
> Gregory Khrapunovich
Phil Wilson - 21 Sep 2005 01:21 GMT
You also must increment the Version property in the project properties. It
will prompt you change some codes, say yes.

Signature
Phil Wilson [MVP Windows Installer]
----
> In the properties window of your installer(setup project), there is a
> property 'RemovePrevious'. set its value to true. Then it will
[quoted text clipped - 16 lines]
>>
>> Gregory Khrapunovich
Gregory Khrapunovich - 21 Sep 2005 14:55 GMT
Thank you for your help. I started to change the version number in each
build and it fixed the problem.
Gregory