Listing installed updates
-
Is there any API which will display all the installed software updates in the windows including the os updates . ??
vineesh
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_
-
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_
-
But it will only list the microsoft updates ... I need all the software updates too .. Is there any difference between updates and patches
vineesh
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_
-
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_
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