Closed Bug 633225 Opened 14 years ago Closed 7 years ago

Bundled extensions in distribution/extensions aren't unpacked on profile install

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
blocking2.0 --- -

People

(Reporter: kev, Unassigned)

References

Details

When bundling an extension in the distribution/extensions directory as an .xpi that has <em:unpack> set to true in its included install.rdf per bug 474289, the xpi is installed to the user profile, but is not unpacked. This can affect the bundled extension from working properly while still appearing to be installed (or it can just bork things). Steps to reproduce: - Install Firefox - Create an <appdir>/distribution/extensions directory - Drop an extension .xpi that requires unpacking into that directory, renaming the .xpi file using it's GUID, e.g. <GUID>.xpi - Launch Firefox with a fresh profile Expected result: - The extension is installed into the profile, unpacked, and loaded Actual result: - The extension is installed into the profile, and loaded, but is not unpacked. I can provide an installer that demonstrates this issue, as well.
This sounds similar to bug 633189, something we also have discovered today. Could it be that we somehow do not correctly register the extensions which have to be installed? This sounds like a blocker for bundled distributions.
blocking2.0: --- → ?
Version: unspecified → Trunk
This was an intentional limitation of the implementation and can be easily worked around, it will not block the release.
blocking2.0: ? → -
Is the workaround simply to use an unpacked extension in the directory, e.g.: <appdir>/distribution/extensions/<guid>/unpacked-files-go-here ?
Yes, sorry that I missed that comment on the other bug.
(In reply to comment #3) > Is the workaround simply to use an unpacked extension in the directory, e.g.: > > <appdir>/distribution/extensions/<guid>/unpacked-files-go-here > > ? yes
thanks. adds some complexity for repacks, but workable. I wouldn't mind re-visiting post-release, though. thanks folks, appreciate your time.
Unpacked addons are no longer supported.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.