Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2007

Tip: Looking for answers? Try searching our database.

Setup Project Not Removing Previous Version

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
zacks@construction-imaging.com - 30 Aug 2007 19:52 GMT
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. DetectNewerInstallation is
True. RemovePreviousVersion 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?
Ignacio Machin ( .NET/ C# MVP ) - 30 Aug 2007 20:32 GMT
Hi,

>I have created numerous Setup projects with Visual Studio 2005. I have
> a current solution that is fairly complex with numerous projects. It
[quoted text clipped - 11 lines]
> 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.
zacks@construction-imaging.com - 30 Aug 2007 21:14 GMT
On Aug 30, 3:32 pm, "Ignacio Machin \( .NET/ C# MVP \)" <machin TA
laceupsolutions.com> wrote:
> Hi,
>
[quoted text clipped - 20 lines]
> 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.