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
highgoshhighgosh 

Firing a trigger upon package installation or update

Is it possible to fire a trigger upon the installation or update of a managed package?

Vinit_KumarVinit_Kumar

In short ,currently this is currently not possible.

sfdcfoxsfdcfox
You can use the InstallHandler interface:

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_install_handler.htm

Usually, this is done by invoking a Batchable class that will iterate over all of the data as soon as the installation or upgrade has succeeded.