You're welcome!  The documentation for install.rdf seems have been recently 
updated.  I actually first found out about unpack by using hg+code.  The other 
part was renaming the xpi to {id}.xpi without unpacking.  I don't think that's 
actually documented anywhere.  Fixing my packager system to work with signed 
extensions prompted me to look more in-depth into it.   
http://www.frontmotion.com/FirefoxPackager/

-Eric
-----Original Message-----
From: Pete Boyd [mailto:[email protected]] 
Sent: Friday, June 10, 2016 1:01 PM
To: Ing-Long Eric Kuo <[email protected]>; [email protected]
Subject: Re: [Mozilla Enterprise] Extension "could not be verified" warning 
when installed globally?

On 10/06/2016 18:46, Ing-Long Eric Kuo wrote:
> Do they have unpack: true in the rdf?

Interesting, thanks. Having a quick look at one that works when unpacked, 
Zotero LibreOffice Integration, yes it does; and one that doesn't work when 
unpacked, Zotero, no it doesn't.

"Optional Property Reference

unpack

A true or false value that tells the application whether the extension requires 
its files be unpacked into a directory in order to work or whether the 
extension can be loaded direct from the XPI. In versions before Gecko 2.0 all 
extensions were unpacked, in Gecko 2.0 and later the default is to not unpack. 
If an extension includes the following then it must request unpacking:
    Binary XPCOM components
    Plugins
    Search plugins
    DLLs loaded with ctypes
    Dictionaries
    Window icons"

- https://developer.mozilla.org/en-US/Add-ons/Install_Manifests

Why aren't authors communicative about this kind of thing... there's no mention 
I can find about this in the former's documentation.

Thanks Ing-Long Eric Kuo


--
Pete Boyd

Open Plan IT - http://openplanit.co.uk
The Golden Ear - http://thegoldenear.org
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to