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. Listing installed updates

Listing installed updates

Scheduled Pinned Locked Moved C / C++ / MFC
jsonquestion
5 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.
  • V Offline
    V Offline
    vineeshV
    wrote on last edited by
    #1

    Is there any API which will display all the installed software updates in the windows including the os updates . ??

    vineesh

    _ 1 Reply Last reply
    0
    • V vineeshV

      Is there any API which will display all the installed software updates in the windows including the os updates . ??

      vineesh

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      don't know if there exists an API to get the installed software updates directly. but you can do it by reading them from the registry. The information is stored under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\ Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

      V 1 Reply Last reply
      0
      • _ _AnsHUMAN_

        don't know if there exists an API to get the installed software updates directly. but you can do it by reading them from the registry. The information is stored under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\ Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

        V Offline
        V Offline
        vineeshV
        wrote on last edited by
        #3

        But it will only list the microsoft updates ... I need all the software updates too .. Is there any difference between updates and patches

        vineesh

        _ 1 Reply Last reply
        0
        • V vineeshV

          But it will only list the microsoft updates ... I need all the software updates too .. Is there any difference between updates and patches

          vineesh

          _ Offline
          _ Offline
          _AnsHUMAN_
          wrote on last edited by
          #4

          Patch/Updates:Include bug fixes, replacing graphics and improving the usability or performance. The information for the updates for other softwares would also be there in the registry itself, is there some specific software for which you need the updates information. If affirmative then there should be registry key for that too.

          Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

          V 1 Reply Last reply
          0
          • _ _AnsHUMAN_

            Patch/Updates:Include bug fixes, replacing graphics and improving the usability or performance. The information for the updates for other softwares would also be there in the registry itself, is there some specific software for which you need the updates information. If affirmative then there should be registry key for that too.

            Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

            V Offline
            V Offline
            vineeshV
            wrote on last edited by
            #5

            Thanks for the reply. Actually i want to list out all the installed patches in the machine . I was able to list the patches to a specific product by msienumpatches() function .But i need to pass the product code to the function. The product code i was getting from msienumproducts() list out the registered product which will not list out the os . So i think i need to look some other way to handle this ..

            vineesh

            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