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 / September 2005

Tip: Looking for answers? Try searching our database.

Re-installation of app requires manual uninstall

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gregory Khrapunovich - 20 Sep 2005 18:42 GMT
I created a setup project that installs my Windows application using Visual
Studio 2003. Unfortunately each time when I try to reinstall the application
I get a message from Windows Installer "Another version of this product is
already installed. Installation cannot continue. To remove existing product
use Add/Remove Programs". This is very annoying. How can I make it overwrite
previous installation?

Gregory Khrapunovich
NS - 20 Sep 2005 23:10 GMT
In the properties window of your installer(setup project), there is a
property 'RemovePrevious'. set its value to true. Then it will automatically
uninstall the previous version before installing new version.

NS

> I created a setup project that installs my Windows application using Visual
> Studio 2003. Unfortunately each time when I try to reinstall the application
[quoted text clipped - 4 lines]
>
> Gregory Khrapunovich
Phil Wilson - 21 Sep 2005 01:21 GMT
You also must increment the Version property in the project properties. It
will prompt you change some codes, say yes.
Signature

Phil Wilson [MVP Windows Installer]
----

> In the properties window of your installer(setup project), there is a
> property 'RemovePrevious'. set its value to true. Then it will
[quoted text clipped - 16 lines]
>>
>> Gregory Khrapunovich
Gregory Khrapunovich - 21 Sep 2005 14:55 GMT
Thank you for your help. I started to change the version number in each
build and it fixed the problem.
Gregory

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.