473,400 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

Setup Package Does Not Replace Obsolete Files

TC
I have a deployment project which is supposed to install an application
to the Program Files folder. I have set RemovePreviousVersions = True.
Nevertheless, I find that the obsolete version of one critical file is
not removed and is not replaced by the current version.

What is going on? Why isn't the file uninstalled by the setup program,
and why isn't it overwritten? I've been scouring the .NET help pages,
but I can find nothing to explain this behavior.
-TC

Jul 21 '05 #1
2 1230
TC
I've researched the problem and I can answer my own question.
Basically, RemovePreviousVersions doesn't work. Microsoft doesn't
acknowledge this in their knowledge base, but there are plenty of
newsgroup posts confirming the bug. There is apparently a workaround,
but it is highly technical.

-TC

Jul 21 '05 #2
I have seen numerous posts confirming what you are saying, but I have also
found some that say RemovePreviousVersions = true works but only if you
change the version #. When you change the version # and recompile then run
the installer it removes the old version and installs the new 1. I use
this and it appears to work for me.

Hope this helps.

~SPO
Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dp | last post by:
I just started using VB.NET and am trying to go through a complete test project. I did some db stuff, added a crystal reports form for output and the program runs as it should. Now how do I create...
0
by: Mads | last post by:
Hi we see some strange behavior with the latest version of our deployment package Background We have a .Net product that is deployed via a website. Developed with VS.Net 2003, the deployment...
1
by: Tom | last post by:
Hi I developed a web application and want to create the setup package msi file I created a a project and chose "Installer Web Project" I set the URL to be http://localhost:808 I chose all...
1
by: david | last post by:
Hi, I have a problem when running a setup to install a program. The setup show this message: "Setup cannot continue because some system files are out of date on your system. Click OK if you...
4
by: Howard Kaikow | last post by:
When I build a setup project, the dependency in the setup project is tied to the version in which it was built. Is there a way to build a setup project that can be used in both versions of the...
2
by: TC | last post by:
I have a deployment project which is supposed to install an application to the Program Files folder. I have set RemovePreviousVersions = True. Nevertheless, I find that the obsolete version of one...
2
by: A.Carter | last post by:
I am developing a windows application with Visual Studio 2003 using C#. The application is complete so naturally I went to create a setup package. I added a setup project to the solution and I went...
6
by: Boaz Ben-Porat | last post by:
Hi all I guess it is not the right group for this problem, but I can't find a Newsgroup about Setup projects. Visual studio 2005 SP1 My Setup project (.vdproj) is very simple. The project's...
3
by: =?Utf-8?B?WmlhbmdpIEpvbmVz?= | last post by:
Hi, I m using VS .NET 2003 to create a website. Using the setup package I create a setup as well. But this setup has files with actual code in it & not pre-compiled DLLs. Please let me know...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.