473,396 Members | 1,853 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,396 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 1229
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.