Extension Manager:Multiple Item Packages: Difference between revisions

updated to reflect the current work in progress
(updated to reflect the current work in progress)
Line 59: Line 59:
= Installation =
= Installation =
By using the following process the need for additional code is greatly reduced while providing a similar user experience when installing items.
By using the following process the need for additional code is greatly reduced while providing a similar user experience when installing items.
* extract all packages contained in the multiple package xpi into a temp directory contained in the extensions/staged-dir directory.
* extract all packages contained in the multiple package xpi into the temp directory.
* install each item using the existing methods available.
* install each item using the existing methods available.
* remove the staged-dir/temp directory using the existing methods available.
* remove the items previously etracted.


The existing xpinstall user interface would be used for installing the MPP with the MPP being the only item listed. This will also allow displaying of whether the MPP is signed or not.
The existing xpinstall user interface would be used for installing the MPP with the MPP being the only item listed. This will also allow displaying of whether the MPP is signed or not.


If the MPP installation displays a manager (e.g. Extension / Theme Manager) then the manager would display the individual items contained by the MPP in the same manner that it would if the user had chosen to install multiple items simultaneously. The manager would not display the MPP after the install completes.
If the MPP installation displays a manager (e.g. Extension / Theme Manager) then after the download completes the manager would display the individual items contained by the MPP in the same manner that it would if the user had chosen to install multiple items simultaneously. The manager would not display the MPP after the download of the MPP iis completed.
Confirmed users
1,041

edits