Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Add/Remove program through code

Add/Remove program through code

Scheduled Pinned Locked Moved C#
comwindows-adminhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ajithevn
    wrote on last edited by
    #1

    Hi all http://www.codeproject.com/Messages/2330256/Add-Remove-program-through-code.aspx[^] i went through the post on 2:56 22 Nov '07 by d@nish for "Add/Remove program through code" but in that he is reffering to this.treePrograms.SelectedNode.Text which im not able to understand. is he reffering to registry or so of the control in his form or something else.plz help me

    F 1 Reply Last reply
    0
    • A Ajithevn

      Hi all http://www.codeproject.com/Messages/2330256/Add-Remove-program-through-code.aspx[^] i went through the post on 2:56 22 Nov '07 by d@nish for "Add/Remove program through code" but in that he is reffering to this.treePrograms.SelectedNode.Text which im not able to understand. is he reffering to registry or so of the control in his form or something else.plz help me

      F Offline
      F Offline
      freakyit
      wrote on last edited by
      #2

      he posted just a code snip where he gets the Uninstallstring from registry of the selected node in the treeview. comparing the text of the node with the DisplayName coming from registry..

      A 1 Reply Last reply
      0
      • F freakyit

        he posted just a code snip where he gets the Uninstallstring from registry of the selected node in the treeview. comparing the text of the node with the DisplayName coming from registry..

        A Offline
        A Offline
        Ajithevn
        wrote on last edited by
        #3

        where will we get text of the node from is it treenode of registry

        F 1 Reply Last reply
        0
        • A Ajithevn

          where will we get text of the node from is it treenode of registry

          F Offline
          F Offline
          freakyit
          wrote on last edited by
          #4

          he uses a treeview on a form the treeview is build at initialize or some where else... this snip is only finding the correct uninstallstring according to the selected node.. take a look an System.Windows.Forms.TreeView and Microsoft.Registry to understand!!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups