473,386 Members | 1,598 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,386 software developers and data experts.

Uninstall .Net Windows Form Application

I've developed a .Net Windows Form application and used the Click-Once
Deployment.

In that application I would like to allow the user a click-once method of
uninstalling it.

I do not find an uninstall folder for this application.

How can I programmatically uninstall the application? Perferred language is
Visual Basic.

Thanks,
Henry

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Dec 8 '05 #1
3 2945
There isn't really an uninstall. The code files aren't "installed" on your
system, they're hidden away cached. If you want an install/uninstall
scenario you need a setup project. not a ClickOnce deployment.
--
Phil Wilson [MVP Windows Installer]
----
"Henry Seymour" <he***********@msfc.nasa.gov> wrote in message
news:11**************@spool6-east.superfeed.net...
I've developed a .Net Windows Form application and used the Click-Once
Deployment.

In that application I would like to allow the user a click-once method of
uninstalling it.

I do not find an uninstall folder for this application.

How can I programmatically uninstall the application? Perferred language
is
Visual Basic.

Thanks,
Henry

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption
=----

Dec 8 '05 #2
> There isn't really an uninstall. The code files aren't "installed" on your
system, they're hidden away cached. If you want an install/uninstall
scenario you need a setup project. not a ClickOnce deployment.

As far as I understand ClickOnce, it is like the cache folder of your
internet pages or an java applet loaded from the internet server to run
locally on you machine. It checks the Internet/server/CD to see if there is
an update and downloads it automatically.

One thing I am wondering, what happens if the cache gets full? Are older
programs then removed replaced by the newer ones?


Dec 9 '05 #3
Phil and Olaf,

Thanks for the replies.

Since I see the application in the Add or Remove Programs,

and it can be removed from there. I assumed that if MS can

do it, then I have a shot at doing it.

What do you think?

Thanks,

Henry

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Dec 9 '05 #4

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

Similar topics

2
by: Dave A | last post by:
I have an application that runs in the system tray (taskbar notification area) and it runs at startup. Occasionally I need to release a new version. I have created a deployment project in .Net. ...
24
by: Thom Little | last post by:
During an uninstall, how can I check to see if the application I an uninstalling is currently running? -- -- Thom Little -- www.tlaNET.net -- Thom Little Associates, Ltd. --
5
by: Adam Clauss | last post by:
I am needing to automate some installation tasks. I first need to determine if there is already a version of a program installed. The program appears in the Add/Remove Programs in control panel,...
1
by: Dan Pavel | last post by:
Hi, I need to build an small application to uninstall an application, remotely, from the computers in my network. How I can do this through WMI. It is not an application installed by MSI. I use...
0
by: Henry Seymour | last post by:
I've developed a Windows application and used the Click-Once Deployment. In that application I would like to allow the user a click-once method of uninstalling it. I do not find an uninstall...
0
by: Henry Seymour | last post by:
I've developed a Windows application and used the Click-Once Deployment. In that application I would like to allow the user a click-once method of uninstalling it. I do not find an uninstall...
2
by: WWengert | last post by:
I am developing a Windows application using VS2005 Pro (VB). The solution includes a setup project. I sent the setup files to a tester and he installed and used the program successfully. I then...
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...
3
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post by:
Hi anyone, I have installed a winforms application vs 2005. It appears in Control Panel -Add / Remove Programs. I have another application .NET and I want uninstall the application installed...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.