473,543 Members | 2,172 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 4020
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...
1
3239
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...
6
1630
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
4450
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...
0
1096
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
5139
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...
0
1897
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...
1
5044
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...
1
2987
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...
0
7735
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7347
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7688
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...
0
5885
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3391
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...
0
3391
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1817
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
968
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
636
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.