function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
R_AroraR_Arora 

How can I retrieve a list of installed packages using Apex?

How can I retrieve a list of installed packages using Apex?
Vishal NegandhiVishal Negandhi
Hello, 

I believe this is currently not possible in Apex. It would be possible to do this using Metadata API. 
For your reference, this might throw some light on it:
http://salesforce.stackexchange.com/questions/13561/how-to-get-a-list-of-the-managed-packages-including-version-numbers-installed