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 / C++ / MFC
  4. How to list all installed programs of my windows?

How to list all installed programs of my windows?

Scheduled Pinned Locked Moved C / C++ / MFC
windows-adminhelptutorialquestionannouncement
8 Posts 4 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.
  • K Offline
    K Offline
    kcynic
    wrote on last edited by
    #1

    I want to list all the installed programs like control panel Add/Remove programs. I know all the items would be list in the registry path: 'HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall'. But, the problem is, there would be too many items if I enumerate the key, all system update packages and other small applets included,too. I only need basic information of the installed programs like control panel do, how to do that? Thanks

    A D L 3 Replies Last reply
    0
    • K kcynic

      I want to list all the installed programs like control panel Add/Remove programs. I know all the items would be list in the registry path: 'HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall'. But, the problem is, there would be too many items if I enumerate the key, all system update packages and other small applets included,too. I only need basic information of the installed programs like control panel do, how to do that? Thanks

      A Offline
      A Offline
      Adam Roderick J
      wrote on last edited by
      #2

      Please check this article, it will be useful <a href="http://www.codeproject.com/KB/system/installed\_programs.aspx">How to get a list of installed applications</a>[<a href="http://www.codeproject.com/KB/system/installed\_programs.aspx" target="_blank" title="New Window">^</a>] This article to doing the same, only you can filter those which you dont want.

      Величие не Бога может быть недооценена.

      K 1 Reply Last reply
      0
      • K kcynic

        I want to list all the installed programs like control panel Add/Remove programs. I know all the items would be list in the registry path: 'HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall'. But, the problem is, there would be too many items if I enumerate the key, all system update packages and other small applets included,too. I only need basic information of the installed programs like control panel do, how to do that? Thanks

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        kcynic wrote:

        I want to list all the installed programs like control panel Add/Remove programs. I know all the items would be list in the registry path: 'HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall'.

        What you want is just not possible. Windows does not know about all programs that you have installed (especially the older ones), only the ones that have gone the "standard" route and updated the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall key.

        "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        K 1 Reply Last reply
        0
        • D David Crow

          kcynic wrote:

          I want to list all the installed programs like control panel Add/Remove programs. I know all the items would be list in the registry path: 'HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall'.

          What you want is just not possible. Windows does not know about all programs that you have installed (especially the older ones), only the ones that have gone the "standard" route and updated the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall key.

          "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          K Offline
          K Offline
          kcynic
          wrote on last edited by
          #4

          maybe it's a complicated work. Thanks for your reply.

          1 Reply Last reply
          0
          • A Adam Roderick J

            Please check this article, it will be useful <a href="http://www.codeproject.com/KB/system/installed\_programs.aspx">How to get a list of installed applications</a>[<a href="http://www.codeproject.com/KB/system/installed\_programs.aspx" target="_blank" title="New Window">^</a>] This article to doing the same, only you can filter those which you dont want.

            Величие не Бога может быть недооценена.

            K Offline
            K Offline
            kcynic
            wrote on last edited by
            #5

            Thanks for your reply. But it still list all the programs installed on the system, updates, addons included.

            1 Reply Last reply
            0
            • K kcynic

              I want to list all the installed programs like control panel Add/Remove programs. I know all the items would be list in the registry path: 'HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall'. But, the problem is, there would be too many items if I enumerate the key, all system update packages and other small applets included,too. I only need basic information of the installed programs like control panel do, how to do that? Thanks

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              The Official method (used by "Add/Remove program") is with COM interfaces) See on Win32 ng[^] where the code has often ben posted (C++)

              K 1 Reply Last reply
              0
              • L Lost User

                The Official method (used by "Add/Remove program") is with COM interfaces) See on Win32 ng[^] where the code has often ben posted (C++)

                K Offline
                K Offline
                kcynic
                wrote on last edited by
                #7

                Thanks, I'll have a try Regards

                D 1 Reply Last reply
                0
                • K kcynic

                  Thanks, I'll have a try Regards

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #8

                  Don't bother. A quick look through kilt's post history shows that his suggestions are all but completely useless.

                  "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

                  "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                  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