Oct 17 2021 02:37 AM - edited Oct 17 2021 02:53 AM
I've already investigated using PackageManager.FindPackagesForUser to detect installed packages and parsing the associated manifest files for <com:ComServer> tags. However, it seem like a rather clunky approach to me. Having some sort of Windows API for querying the "Packaged COM" catalog for installed COM servers would make everything much simpler.
Nov 24 2021 02:52 PM
Solution@forderud80 Thank you for your question. We do have a public API that might help (ICatInformation::EnumClassesOfCategories (comcat.h) - Win32 apps | Microsoft Docs) for enumerating CLSIDs of:
The results include both classes in HKCR\CLSID and Packaged COM, but there is no public API for querying Packaged COM specifically.
Nov 26 2021 02:26 AM - edited Dec 08 2021 04:38 AM
Thanks a lot Aditi! This was exactly what I'm looking for. 🙂
Do you know if there are also APIs for querying registry metadata for a COM class like Version, InprocServer32/LocalServer32 paths etc. that will include the Packaged COM catalog?
Feb 11 2022 03:40 AM
Nov 24 2021 02:52 PM
Solution@forderud80 Thank you for your question. We do have a public API that might help (ICatInformation::EnumClassesOfCategories (comcat.h) - Win32 apps | Microsoft Docs) for enumerating CLSIDs of:
The results include both classes in HKCR\CLSID and Packaged COM, but there is no public API for querying Packaged COM specifically.