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 / .NET Framework / Setup / July 2005

Tip: Looking for answers? Try searching our database.

Multiple entries of same application - Add /Remove programs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
crishnaa@yahoo.com - 28 Jul 2005 08:26 GMT
This problem is very strange and I donno. where can dig into.
I'm creating a windows setup project and with no custom installations. I have just used the options and properties given by the project.

Here my problem is, whenever I try to install my application it should not ask for the earlier version existance and should remove the previous version behind the scenes.

For achieving the above funtionality I've utilized the properties of the Setup project - "ProductCode" and "RemovePreviousVersions".

Everything works fine except, on each installation after the "ProductCode" change results in another entry in Add/Remove programms.

Please give me some pointers how to resolve this ??
Phil Wilson - 28 Jul 2005 20:49 GMT
1. Make sure you're not using versions less than 1.0. If the older version
is less than 1.0 it won't be detected.
2. A per-user install won't upgrade a per-machine (and the other way around
either). So if you did an Everyone install, a Just me install won't upgrade
it. Apart from this rule, there's a bug in this area in VS.NET because it
defaults to per-user (fixed in VS 2003) that can drop you into this scenario
and it won't upgrade.
3. Check these:
http://www.simple-talk.com/2005/07/18/updates-to-setup-projects/
http://www.installsite.org/pages/en/msifaq/a/1038.htm
keeping in mind that this RemovePreviousVersions is a Windows Installer
major upgrade.
Signature

Phil Wilson [MVP Windows Installer]
----

> This problem is very strange and I donno. where can dig into.
> I'm creating a windows setup project and with no custom installations. I
[quoted text clipped - 16 lines]
> Comprehensive, categorised, searchable collection of links to ASP &
> ASP.NET resources...

Rate this thread:







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.