473,395 Members | 1,532 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.

c# install and uninstall app

I would like to uninstall app form both local and remote computers without
the user knowing what is going on. I have admin right to all the computers so
this is not a problem. Can this be done?

Thanks
Freddy
Mar 3 '08 #1
2 2771
"freddy" <fr****@discussions.microsoft.comwrote in message
news:B4**********************************@microsof t.com...
I would like to uninstall app form both local and remote computers without
the user knowing what is going on. I have admin right to all the computers
so
this is not a problem. Can this be done?

Thanks
Freddy

Since your subject says "install and uninstall" here's an idea...

This functionality is built into the VS 2008 (perhaps earlier????) version.
Just "Publish" your project and (if you use the correct settings, they are
fairly intuitive) you will have a central location to install your program
from, complete with uninstall capabilities.

As far as actually getting the application on all of the computers in your
company (or whatever), simple scripts should facilitate this, if not your
favorite admin tool.

....if this isn't what you're looking for, a little more information will be
needed....

But I hope it helps,
--
Roger Frost
"Logic Is Syntax Independent"
Mar 4 '08 #2

"Roger Frost" <fr*****@hotmail.comwrote in message
news:9D**********************************@microsof t.com...
"freddy" <fr****@discussions.microsoft.comwrote in message
news:B4**********************************@microsof t.com...
>I would like to uninstall app form both local and remote computers
without
the user knowing what is going on. I have admin right to all the
computers so
this is not a problem. Can this be done?

Thanks
Freddy


Since your subject says "install and uninstall" here's an idea...

This functionality is built into the VS 2008 (perhaps earlier????)
version. Just "Publish" your project and (if you use the correct settings,
they are fairly intuitive) you will have a central location to install
your program from, complete with uninstall capabilities.

As far as actually getting the application on all of the computers in your
company (or whatever), simple scripts should facilitate this, if not your
favorite admin tool.

...if this isn't what you're looking for, a little more information will
be needed....

But I hope it helps,
--
Roger Frost
"Logic Is Syntax Independent"
If you are referring to the ClickOnce capabilities available in the Publish
tab under the project properties, be aware that the user can uninstall, but
you can't really uninstall it from some kind of remote process. The
ClickOnce deployment is stored in an obfuscated folder. You can *guess*
about it, search for it, etc., but you'd really want to be careful you
didn't remove any pieces of any other ClickOnce deployments if you removed
it via scripting. Also, if you just deleted the files, I don't think it will
remove the entry from Programs&Features (or AddRemovePrograms in XP).

He's probably looking for something like what corporations use -- is it
called SMS? -- to push software out to the machines and uninstall it as
well. Even if he created an msi package with Visual Studio, or used
InstallShield, I think both of those provide uninstall methods that can be
called to deinstall the software, and thus could be called remotely.

That's my best guess.

RobinS.
GoldMail, Inc.

Mar 5 '08 #3

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

Similar topics

5
by: Leslie Lim | last post by:
I had link my 4 of workstations to server with MySql. 1 pc of my pc can run a software which can update MsSql perfectly but not others(3 failed). I tried to add System Dsn data source for Control...
3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
3
by: Analyst | last post by:
Is it possible to install DB2 CAE v5.2 using a response file ? From one of IBMs tech article, I found that the IBM DB2 Universal DB can be installed using a response file. My objective it to...
14
by: Chuck | last post by:
I'm trying to install VWD Express Beta 2, but it's telling me that I need to uninstall MSDN Express Library 2005 Beta first. I uninstalled everything using the Add/Remove Programs control panel...
9
by: VJ | last post by:
I am deploying a Package having applications developed using VB.NET and VS.NET 2003. I am using the Packaging feature provided with the VisualStudio. I can use the package to creates shortcuts for...
5
by: seberino | last post by:
It appears that apps distributed as Python Eggs are either a single compressed blob in site-packages directory or a directory under site-packages directory. Is this ALWAYS true? So by just...
0
by: Nattydreadlock | last post by:
Hello, I'm having some problems installing Visual Studio 2005. I'll briefly explain what's the history of the problem here. First I installed VS 2005 beta 2. I uninstalled it later via the...
5
by: Curious | last post by:
I installed a service program. It contained executables in the form of .exe and .dll files. And the service was started automatically after the install. Then, I UN-installed the program, but the...
0
by: JDeats | last post by:
I have a new Installer class (derived from System.Configuration.Install.Installer) and I have override methods for Install, Uninstall, Commit. The MSI builder tool I'm using is Advanced Installer,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.