Deploy application not uninstalling old version
Deploy application not uninstalling old version
Deploy application not uninstalling old version
Deploy application not uninstalling old version
Deploy application not uninstalling old version
Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version
Deploy application not uninstalling old version Deploy application not uninstalling old version
Deploy application not uninstalling old version
Go Back  Xtreme Visual Basic Talk > > > Deploy application not uninstalling old version


Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2009, 02:02 AM
redsmurph redsmurph is offline
Freshman
 
Join Date: Jan 2005
Posts: 43
Default Deploy application not uninstalling old version


I'm developing an application in VB2008 using VS2008 Standard and I've set up a Deploy project for the application. I'm testing it under Vista32.

Most things work fine, except that when I build a new version of the application and install it, the old version of the application is not uninstalled. The odd thing is that I don't get a question about whether I want to uninstall it during installation, or even any warning at all. The installation application doesn't say a "peep" about not being able to install the new version.

For clarity, I've set the following in the Deploy project props:
- DetectNewerInstallation: I've tried both True and False, doesn't make a difference for this problem.
- InstallAllUsers: True
- RemovePreviousVersions: True
- Version: Manually changed each time I make a new build
The rest are set to the defaults, except pure descriptions which shouldn't (?) cause any problems of this nature.

Any that can point me in the right direction? Might InstallAllUsers cause write permission problems?

We have similar problems in another project using C#.

Many thanks in advance.
Reply With Quote
  #2  
Old 03-21-2009, 02:20 AM
redsmurph redsmurph is offline
Freshman
 
Join Date: Jan 2005
Posts: 43
Default

I removed one of the files in the installation folder and re-ran the same installation build. It then asked if I wanted to Repair the installation, and when done the removed file was the new version.

It seems it ignores changing files that are already there, which in my opinion is definitely wrong behavior. I also noted all folders under the installation folder (I use plenty of sub folders) had the new time, but e.g. the exe was the old one.

I tried with InstallAllUsers=False (guessing there might have been permission issues with some other user accounts) but that didn't make a difference.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Deploy application not uninstalling old version
Deploy application not uninstalling old version
Deploy application not uninstalling old version Deploy application not uninstalling old version
Deploy application not uninstalling old version
Deploy application not uninstalling old version
Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version Deploy application not uninstalling old version
Deploy application not uninstalling old version
Deploy application not uninstalling old version
 
Deploy application not uninstalling old version
Deploy application not uninstalling old version
 
-->