469,160 Members | 2,075 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,160 developers. It's quick & easy.

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. 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?

Aug 30 '07 #1
2 3852
Hi,

<za***@construction-imaging.comwrote in message
news:11**********************@q5g2000prf.googlegro ups.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. 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?
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...@construction-imaging.comwrote in message

news:11**********************@q5g2000prf.googlegro ups.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. 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?

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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Amy L. | last post: by
6 posts views Thread by John | last post: by
1 post views Thread by =?Utf-8?B?S2VpdGggRHVQb250?= | last post: by
reply views Thread by Mark Rae | last post: by
1 post views Thread by =?Utf-8?B?R3VkbmkgRy4gU2lndXJkc3Nvbg==?= | last post: by
1 post views Thread by =?Utf-8?B?TG9zdEN1Yg==?= | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.