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

NEW
Unassigned

Status

()

Toolkit
Add-ons Manager
7 years ago
2 years ago

People

(Reporter: kev, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(blocking2.0 -)

Details

(Reporter)

Description

7 years ago
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: ? → -
(Reporter)

Comment 3

7 years ago
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.
Blocks: 474289
(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
(Reporter)

Comment 6

7 years ago
thanks. adds some complexity for repacks, but workable. I wouldn't mind re-visiting post-release, though.

thanks folks, appreciate your time.
Duplicate of this bug: 1132459
You need to log in before you can comment on or make changes to this bug.