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#
help
3 Posts 3 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.
  • D Offline
    D Offline
    dan sh
    wrote on last edited by
    #1

    Pls refer to my earlier post about 10 hrs ago and with same subject I am still seeking for help. May be people from other timezone may help....... Pls take pains to get there if I copy my earlier message the indents are lost and the code looks rubbish so cant do that

    Chaos, panic and disorder - my work here is done.

    K S 2 Replies Last reply
    0
    • D dan sh

      Pls refer to my earlier post about 10 hrs ago and with same subject I am still seeking for help. May be people from other timezone may help....... Pls take pains to get there if I copy my earlier message the indents are lost and the code looks rubbish so cant do that

      Chaos, panic and disorder - my work here is done.

      K Offline
      K Offline
      kingletas
      wrote on last edited by
      #2

      Have you considered it using the Process Class? I think since most programs have an Install/Uninstall program you can use Process.Start() to execute these programs to do it and pass the parameters they take to completely uninstall! I know this sounds too easy but i am not experienced on programming but that is how i would do it at first and then enhance it! hope it helps!

      Luis E Tineo S

      1 Reply Last reply
      0
      • D dan sh

        Pls refer to my earlier post about 10 hrs ago and with same subject I am still seeking for help. May be people from other timezone may help....... Pls take pains to get there if I copy my earlier message the indents are lost and the code looks rubbish so cant do that

        Chaos, panic and disorder - my work here is done.

        S Offline
        S Offline
        Skippums
        wrote on last edited by
        #3

        I looked at your earlier post, and it looks about as efficient as it is going to get. As far as finding installer files, good luck with that, because the only way you will be able to do it is to search recursively through the file system. You could install windows components using the winocmgr command, but other than that you can't expect the OS to provide an *easy* way for you to find all install files that have yet to be run. As far as your other questions, I had no answers, which is why I didn't respond to that post either. At least if you are not going to follow the posting guidelines (by posting the same question twice), provide a link to the referenced thread. Jeff

        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