Open Bug 1617248 Opened 5 years ago Updated 4 years ago

Ability to upgrade/downgrade addons installed in multiple locations

Categories

(Toolkit :: Add-ons Manager, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: rehandalal+mozilla, Unassigned)

References

(Blocks 1 open bug)

Details

We need a way to upgrade or downgrade addons installed in one location so that a different version that already exists in another location (such as built-in) can take precedence.

This would need to work similar to installStagedAddon and not call the onUninstall notifications.

This is required to implement graduation behaviour of addon rollouts in Normandy.

The AddonManager doesn't have an explicit upgrade/downgrade interface. Instead, the usual practice is to install a new version and the addon install path takes care of noticing that the same addon is already installed and handling the installation as an upgrade or downgrade rather than as a fresh install.
With that in mind, it seems like this functionality should just be part of bug 1575948, I'm not sure how the capability described in this bug could be done separately?

Blocks: 1613647
Priority: -- → P2
Severity: normal → N/A
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.