Problem with upgrading application: version removepreviousversion
Hello,
I'm
creating a new windows application. The application is a sort of a
popup system that notifies the user of new messages, events on a forum.
The program works fine, and now I've created a setup project. I added the project output of my application.
I
modified the setup custum applications to wirte some registry values
after installing, like auto start application when windows starts.
When I install the msi that the setup created, it works fine. Everything works like it should be.
My
only problem is that when I change the version from 1.0.0 of the setup
project to 1.1.0, Visual Studio pops asks me to create a new
productGuid. I click yes and build the setup again.
When I
install the new msi, with the higher version number, my system doesn't
remove the previous version?? Is this the cause of the custom actions??
I
google'ed a lot and find no answer. My only solution is to check by my
own code in the register on the OnPreInstall Event if there is an old
version, but that isn't that easy...
Is there something I forgot with the version property?
Tnx!