473,395 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Can Setup automatically run Uninstall?

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?
Nov 16 '05 #1
1 2727
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.

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Alia Khouri | last post by:
If the cannonical way to install a python app is python setup.py install one would expect the following to uninstall it python setup.py uninstall However, distutils doesn't automatically...
4
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic...
1
by: lyl209 | last post by:
Hi, I am trying to create a web setup project for my asp.net 2.0 website and I had some problems. It worked fine until I want to add some custom actions into it. As some of you already knew,...
2
by: karthikeyan.rsm | last post by:
Hi i some queries in teh setup and deployment package. Currently i have developed a project and i have created a setup for this project in the same solution. My queries are as follows 1. In...
0
by: JM | last post by:
Hi Everybody, I have created a setup project in Visual Studio .NET 2005. The setup is for Windows application. It works fine but I am unable to do somethings is this: 1. The setup uses couple...
1
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls-...
0
by: StefanPienaar | last post by:
Hi I'm getting some really weird and unexpected behaviour when I build a setup project in Visual Studio 2005 containing an application I wrote. The installation runs fine and the application...
6
by: globalrev | last post by:
type "python setup.py install" that is used in most "addons" for python. well using windows vista, where the h*** am i supposed to type this? if it is not doable in windows, what do i have...
4
by: wrangler2004 | last post by:
I have a simple vb.net application that I have created a setup project for.The application is a single exe and uses an app.config filem My question is, how do I go about upgrading the application...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.