TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Geert
NA
3
0
Problem with upgrading application: version removepreviousversion
Jan 6 2009 5:41 AM
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!
Reply
Answers (
3
)
create updater for windows application in .Net
Installation with Empty Path