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

Controlling package upgrades based on license record data

We sell managed packages and use LMA for license enforcement.  Our customers can purchase monthly licenses or perpetual licenses, the latter of which require them to pay annual maintenance to obtain upgrades and support.


If someone stops paying the monthly fee its easy to turn the license completely off.  But if someone purchases a perpetual license and stops paying annaul maintenance, I want to allow them to continue to use the package version they currently have installed, but prevent them from installing an upgrade.


Does anyone know if it is possible to check a license record during an install for a Maintenance Expires date and only allow a package upgrade based on that date?  If not, my only remedy is to make the customer pay for support to continue using the version they were contractually unauthorized to install, or force them to uninstall and re-install an older version.  Neither of these alternatives are good.


Thanks in advance,



Shoby Abdi.ax910Shoby Abdi.ax910

When you mention upgrading do you mean a Push Upgrade or a Standard Link based upgrade of the application? You can restrict patch upgrades to certain orgs and simply not provide the upgrade link to certain customers. How do you currently provide your customers the means to upgrade? 


Our customers upgrade by visiting our AppExchange listings and clicking the Get It Now button.  We want to have the latest version of the package available here so that new customers get the latest version.