[wpkg-users] Firefox 8 and extension deployment
Falko Trojahn
nospam_ft at smi-softmark.de
Tue Dec 6 18:17:56 CET 2011
Hello chiddie,
>
> Are you sure that Firefox 8 extensions deployment is the same as Firefox 4?
>
> I followed the instructions in the "Firefox 4 Series Extensions" section of
> the wpkg firefox page, but, even if after the installation i see the folder
> with the GUID number in the \firefox\extensions\ folder, and even if i see
> the registry key in the "HKLM\Software\Mozilla\Firefox\Extensions" path,
> when i launch the program and i go to see the extensions panel, it's empty.
>
> If i try to install the .xpi directly from the browser, it is indeed
> installed, but i have no idea about where the system put the addon files
> (surely not under \firefox\extensions\ and surely there's no
> "HKLM\Software\Mozilla\Firefox\Extensions" key added by the browser
> installation).
>
> Can anyone help me? The addon is "dizionario_italiano-3.3.1-tb+fx+sm.xpi".
>
just did a short check using your addon with this system:
http://wpkg.org/Firefox_ext_install_downloads
and it worked flawlessly.
My package for your addon looks like this:
cat firefox-ext-dizionario_italiano.xml
<!DOCTYPE firefoxextension [ <!ENTITY ext-name "dizionario_italiano">
<!ENTITY ext-key "3.3.1-tb+fx+sm"> <!ENTITY ff-extension SYSTEM
"../templates/ff-extension.xml"> ]>
<packages>&ff-extension;</packages>
The plugin installed successfully using firefox 8.0.1. I just added the
package for firefox 8 on the above mentioned page. BUT: firefox addon
page shows "Dizionario italiano is not compatible with Firefox 8.0.1".
To make it work, open the xpi file (e.g. using 7-zip), change in
install.rdf the line
<em:maxVersion>6.0a1</em:maxVersion>
to
<em:maxVersion>8.*</em:maxVersion>
Since Firefox 8.x, after installation, there will be a message that
"another programm on your computer tries to modify Firefox using
following Add-on" ...
According to
http://kb.mozillazine.org/About:config_entries#Extensions.
I think that setting:
extensions.autoDisableScopes = 0
extensions.enabledScopes = 15
could do the trick. For this, I've put into default/profile/prefs.js:
user_pref("extensions.enabledScopes", 15);
user_pref("extensions.autoDisableScopes", 0);
So, to answer your question, if you look into install-extensions.cmd,
you see "HKLM\Software\Mozilla\%1\Extensions" as registry key, while
"%1" is "firefox".
The files are in %CommonProgramFiles%\Mozilla Shared\Extensions\.
HTH,
Falko
More information about the wpkg-users
mailing list