PC Review


Reply
Thread Tools Rate Thread

Can Setup automatically run Uninstall?

 
 
Keith Smith
Guest
Posts: n/a
 
      8th Feb 2005
Is there a way to make it so that when I run a Setup and my app is already
installed on the system, it doesn't prompt you for "repair" or "remove"? I
would just like for it to automatically uninstall the app and then
re-install it afterwards. How can I do this?


 
Reply With Quote
 
 
 
 
sze tan
Guest
Posts: n/a
 
      8th Feb 2005
I'm assuming you're using windows installer to deploy your app using a
deployment project in VS.NET.

If so, you will need to change the Version property of the deployment
project of your app. This will automatically update your ProductCode
and PackageCode GUIDs. (A messagebox will prompt you to confirm within
the VS.NET IDE)

Then set the RemovePreviousBersions to 'True' under the properties of
your deployment project. Rebuild the project. Your setup will now
remove any previous versions at install time.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup project - add uninstall Seth Williams Microsoft Dot NET Framework Forms 1 1st Jun 2008 01:46 AM
How to setup 'uninstall' ?? Agnes Microsoft VB .NET 2 25th Jan 2005 03:39 PM
want to uninstall xp home setup =?Utf-8?B?cm9u?= Windows XP Setup 2 13th Nov 2004 02:09 PM
Uninstall partial win XP setup Bob Windows XP Setup 1 5th Nov 2003 03:19 AM
Re: How to uninstall one OS in XP dualboot setup? Michael Stevens Windows XP Setup 0 6th Oct 2003 12:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:11 PM.