By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,728 Members | 1,162 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,728 IT Pros & Developers. It's quick & easy.

c# install and uninstall app

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
"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

P: n/a

"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 discussion thread is closed

Replies have been disabled for this discussion.