473,626 Members | 3,093 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setup Project Not Removing Previous Version

I have created numerous Setup projects with Visual Studio 2005. I have
a current solution that is fairly complex with numerous projects. It
contains two primary applications so there are two setup projects. The
setup project for the first application works fine, it removes the
previous version automatically just fine as long as I have incremented
the Version property. But the more recent Setup project for the second
application refuses to remove the previous version. All properties
related to this feature are identical. DetectNewerInst allation is
True. RemovePreviousV ersion is True. I increment the Version and it
asks me if I want to update the ProductCode and I always answer Yes.
Install the app, go to AddRemove programs and now there are two
versions installed, both the previous one and the new one.

I have done web searches on this and cannot find any solution. Does
anyone have any ideas?

Aug 30 '07 #1
2 5142
Hi,

<za***@construc tion-imaging.comwrot e in message
news:11******** **************@ q5g2000prf.goog legroups.com...
>I have created numerous Setup projects with Visual Studio 2005. I have
a current solution that is fairly complex with numerous projects. It
contains two primary applications so there are two setup projects. The
setup project for the first application works fine, it removes the
previous version automatically just fine as long as I have incremented
the Version property. But the more recent Setup project for the second
application refuses to remove the previous version. All properties
related to this feature are identical. DetectNewerInst allation is
True. RemovePreviousV ersion is True. I increment the Version and it
asks me if I want to update the ProductCode and I always answer Yes.
Install the app, go to AddRemove programs and now there are two
versions installed, both the previous one and the new one.

I have done web searches on this and cannot find any solution. Does
anyone have any ideas?
Maybe they have different product codes or upgrade codes. That might prevent
the new version to find the old one.
Aug 30 '07 #2
On Aug 30, 3:32 pm, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions .comwrote:
Hi,

<za...@construc tion-imaging.comwrot e in message

news:11******** **************@ q5g2000prf.goog legroups.com...


I have created numerous Setup projects with Visual Studio 2005. I have
a current solution that is fairly complex with numerous projects. It
contains two primary applications so there are two setup projects. The
setup project for the first application works fine, it removes the
previous version automatically just fine as long as I have incremented
the Version property. But the more recent Setup project for the second
application refuses to remove the previous version. All properties
related to this feature are identical. DetectNewerInst allation is
True. RemovePreviousV ersion is True. I increment the Version and it
asks me if I want to update the ProductCode and I always answer Yes.
Install the app, go to AddRemove programs and now there are two
versions installed, both the previous one and the new one.
I have done web searches on this and cannot find any solution. Does
anyone have any ideas?

Maybe they have different product codes or upgrade codes. That might prevent
the new version to find the old one.
I have never messed with the Upgade Code. The Product Code gets reset
every time I change the Version.

Aug 30 '07 #3

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

Similar topics

2
517
by: Takuya Matsumoto | last post by:
Greetings to all, I am creating a setup project for a COM component I created in C#, but I can't get the component to be registered in the client system. What I would like to achieve is an equivalent of manually registering it with "gacutil.exe" and then with "regasm.exe". I went though the support documents and read the below, but the options I have are differenct:...
1
3250
by: Amy L. | last post by:
I have a project that is deployed using a MSI. When the user attempts to install a new version of the program I require them to remove the existing version first. Is it possible to do the following 1.) Instead of having the user remove the program from the "add/remove programs menu" have my setup project copy the existing version to a backup directory? Thanks
6
1636
by: John | last post by:
Hi I am preparing the second major version of an app. The project is a copy of version 1 which has change made to it. What changes do I need to do for setup for v2 not tell me that there is already a previous version (version 1) of the same app installed? Thanks Regards
1
4452
by: =?Utf-8?B?S2VpdGggRHVQb250?= | last post by:
I have created a setup project for a forms application that I will be deploying in the near future. I have added the primary output to the setup project and all dependencies have been correctly identified and included in the setup. Initial deployment on a workstation works fine all files being deployed to the correct location (C:\Program Files\Company Name\Application Name\). The problem I am seeing occurs when I attempt to deploy an...
0
1100
by: Mark Rae | last post by:
Hi, I'm just finishing off a WinForms app for a client, and need to provide an installation for it - the client has requested an MSI... The app is an (32-bit) update to .NET of a VB6 app I wrote approximately 10 years ago... Basic requirements:
2
4024
by: zacks | last post by:
I have created numerous Setup projects with Visual Studio 2005. I have a current solution that is fairly complex with numerous projects. It contains two primary applications so there are two setup projects. The setup project for the first application works fine, it removes the previous version automatically just fine as long as I have incremented the Version property. But the more recent Setup project for the second application refuses to...
0
1902
by: henkya | last post by:
Language Used: C# Project Typed: Setup Project (for .NET Window Service) Hi Bump into this issue and seriously have a hunch that this is a bug in the .NET setup project. These are the scenario: - I have an existing Window-Service application written in C#, and was build following the general deploying Window-Service guideline (the Win-Service project has a Installer class that have ServiceProcessInstaller & ServiceInstaller that...
1
5049
by: =?Utf-8?B?R3VkbmkgRy4gU2lndXJkc3Nvbg==?= | last post by:
Hi. I have written a .NET C# program and have also made a setup project for it. Everything works fine, except that I would like my setup application to remove any existing version of my program before proceeding with the setup. This is because I get the following message if there is a previous version of my program installed: 'Another version of this product is already installed. Installation of this version cannot continue. To...
1
923
by: dhanashivam | last post by:
Hi All, I would like to handle the previous installed versions of my application that whether they are need to retain or not. This should be asked by my setup project which is created in the "VS2005 Setup Project". I know there is one provision to retain the previous version "RemovePreviousVersions" property. But what I am asking is, the removal should be done based on the client desire. Can anybody help me to resolve it? Thanx in...
1
2989
by: =?Utf-8?B?TG9zdEN1Yg==?= | last post by:
I was told (I suspect incorrectly) to increment the Version of my setup project every time I build a new MSI or the MSI won't install. When I do that it tells me to change the ProductCode property of the project which I suspect is a bad thing but I don't know any better so I do it anyway. I guess the question is: when should I increment the version of my setup project? And when I do should I change the ProductCode?
0
8259
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8192
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8696
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8502
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6119
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5571
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1805
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.