c# install and uninstall app

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?ZnJlZGR5?=

    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
  • Roger Frost

    #2
    Re: c# install and uninstall app

    "freddy" <freddy@discuss ions.microsoft. comwrote in message
    news:B49E3AE9-B253-47CC-A19F-56BB0D1E8A19@mi crosoft.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"


    Comment

    • RobinS

      #3
      Re: c# install and uninstall app


      "Roger Frost" <frostrl@hotmai l.comwrote in message
      news:9DCDF4C9-192A-4466-8071-521DE23CEC6D@mi crosoft.com...
      "freddy" <freddy@discuss ions.microsoft. comwrote in message
      news:B49E3AE9-B253-47CC-A19F-56BB0D1E8A19@mi crosoft.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&Featur es (or AddRemoveProgra ms 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.

      Comment

      Working...