?
Solved

Winform deployment project does not owerrite the exiting/old files

Posted on 2009-02-20
5
Medium Priority
?
631 Views
Last Modified: 2013-12-12
I setup project created with Visual studio 2005 is upgraded to Visual Studio 2008 since then it does not remove the old version.

DetectedPreviousVersion and Uninstall old version properties in the installer are set to true.
each time x is incremented by one in the installer propertiese 1.1.0X  

and assembly revision number
1.0.0.1X


Thanks



0
Comment
Question by:Munawar Hussain
  • 3
5 Comments
 

Assisted Solution

by:jedwar26
jedwar26 earned 300 total points
ID: 23694851
Not sure if this post will relate, but look at the suggestions in this link:

http://www.eggheadcafe.com/aspnet_answers/NETFrameworksetup/Mar2006/post26205388.asp
0
 
LVL 23

Accepted Solution

by:
Snarf0001 earned 1200 total points
ID: 23694884
Check a couple of things:

1 - make sure the upgrade code is the same for each version
2 - make sure the product code is different for the new version
3 - try changing the higher number on the assembly, ie instead of 1.0.0.1x, 1.0.x, as you did in the installer.

The lease significant (4th) is ignored most of the time.
0
 
LVL 12

Author Comment

by:Munawar Hussain
ID: 23697233
Hello Snarf0001,

does not matter if you increase build number of revision number .. it results same.

-Thanks
0
 
LVL 12

Author Comment

by:Munawar Hussain
ID: 23804658
Well,

To get it working, it needs following changes.

1- increase the assembly version by one (does not matter what digit you increase major, minor, build or revision number)
2- Increase the file version (same as in 1)
3- Increase version in installer project (deployment project)

if any of these is same as was in last installed version then it would not overwrite the existing files

Thanks for your replies...

0
 
LVL 12

Author Closing Comment

by:Munawar Hussain
ID: 31549364
Thanks for quick replies...
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever run into that annoying problem where the computer won't boot?  Wouldn't it be great if you had a tool that would make that disk boot again?  I have found one tool that works more often than not ...
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question