Updating add-ons: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (category)
(merging material from Update compatible, but not installable extensions for a new Firefox version; still needs cleanup and other serious work)
Line 1: Line 1:
{{stub}}
{{cleanup}}


You can configure Firefox to update your extensions and themes automatically. (This is part of the [[Software Update]] feature.)
==Automatic updating of extensions==
 
You can configure Firefox and Thunderbird to update your extensions and themes automatically. (This is part of the [[Software Update]] feature.)


===Disable auto-update for individual extensions===
===Disable auto-update for individual extensions===
It is possible to prevent individual extensions from updating automatically even when you have the Software Update feature enabled. Further details can be found [http://forums.mozillazine.org/viewtopic.php?t=280424 here].
It is possible to prevent individual extensions from updating automatically even when you have the Software Update feature enabled. Further details can be found [http://forums.mozillazine.org/viewtopic.php?t=280424 here].
:''This section is a [[Stub articles|stub]]. You can help MozillaZine Knowledge Base by expanding it.''
==Updating compatible but not installable extensions for a new application version==
In some cases extensions that are compatible with the latest version of Firefox or Thunderbird cannot be installed simply because the "installer.rdf" file has the "wrong" version number. If this is the only problem, it can be cured very easily like this:
* extract the according .xpi-file (they are simply zipped files with a .xpi-extension, so you should be able to use something like unzip or Stuffit-expander (on mac) for extraction)
* edit the '''install.rdf''' - file. There should be a tagline like this (maybe with another revision-number):
'''<em:maxVersion>0.10</em:maxVersion>'''
* change the "0.10" to "1.0" or whatever you need. That tells the installer that the version can be installed with the 1.0-Firefox-version
* '''this is purely optional but I think a good idea:''' you could also edit the lines describing the version and author/contributor of the extension. I do that just because I want to be remembered that I changed the extension for my own private purpose
* create a zip-archive containing all the files that have been in the original xpi-file, '''together with your edited install.rdf file'''. Rename it to something like "myExt.xpi" or whatever you like. The only important thing in here is ".xpi"
* open the file from firefox and it should install
'''Be warned though:''' Especially if you install a very outdated extension, it might very well be that the extension doesn't work or something goes wrong in the firefox-folder because some internal things in Firefox have changed. Therefore '''you probably should make a backup of the folder, containing the installed extensions.''' Just make a copy of the firefox extension folder. On macs this is found within the user/library/Application Support/ - folder. On Windows 2000 (and probably on XP as well) it is something like ''C'':\Documents and Settings\''username''\Application Data\Mozilla\Firefox\Profiles\''somethingOrOther''\extensions\ where the italicized portions are system dependant. I don't know where this folder is found on other systems. '''Maybe a user on other systems could update this artictle to show the location of the folder on their system?'''
I also found out that even if the main Firefox-window doesn't open after installing an incompatible extension you can often still open the extension-window and deinstall the wrong version and everything works again.
If you're just updating Firefox, and the extension was already installed on your previous version, it is sometimes possible to re-enable it. In Tools->Extensions right click on it and select Enable and then restarting Firefox.


[[Category:Installation and update (Firefox)]]
[[Category:Installation and update (Firefox)]]
[[Category:Issues (Firefox)]]
[[Category:Extensions (Firefox)]]
[[Category:Extensions (Firefox)]]
[[Category:Extensions (Thunderbird)]]

Revision as of 09:50, 5 November 2005

Automatic updating of extensions

You can configure Firefox and Thunderbird to update your extensions and themes automatically. (This is part of the Software Update feature.)

Disable auto-update for individual extensions

It is possible to prevent individual extensions from updating automatically even when you have the Software Update feature enabled. Further details can be found here.

This section is a stub. You can help MozillaZine Knowledge Base by expanding it.

Updating compatible but not installable extensions for a new application version

In some cases extensions that are compatible with the latest version of Firefox or Thunderbird cannot be installed simply because the "installer.rdf" file has the "wrong" version number. If this is the only problem, it can be cured very easily like this:

  • extract the according .xpi-file (they are simply zipped files with a .xpi-extension, so you should be able to use something like unzip or Stuffit-expander (on mac) for extraction)
  • edit the install.rdf - file. There should be a tagline like this (maybe with another revision-number):

<em:maxVersion>0.10</em:maxVersion>

  • change the "0.10" to "1.0" or whatever you need. That tells the installer that the version can be installed with the 1.0-Firefox-version
  • this is purely optional but I think a good idea: you could also edit the lines describing the version and author/contributor of the extension. I do that just because I want to be remembered that I changed the extension for my own private purpose
  • create a zip-archive containing all the files that have been in the original xpi-file, together with your edited install.rdf file. Rename it to something like "myExt.xpi" or whatever you like. The only important thing in here is ".xpi"
  • open the file from firefox and it should install

Be warned though: Especially if you install a very outdated extension, it might very well be that the extension doesn't work or something goes wrong in the firefox-folder because some internal things in Firefox have changed. Therefore you probably should make a backup of the folder, containing the installed extensions. Just make a copy of the firefox extension folder. On macs this is found within the user/library/Application Support/ - folder. On Windows 2000 (and probably on XP as well) it is something like C:\Documents and Settings\username\Application Data\Mozilla\Firefox\Profiles\somethingOrOther\extensions\ where the italicized portions are system dependant. I don't know where this folder is found on other systems. Maybe a user on other systems could update this artictle to show the location of the folder on their system?

I also found out that even if the main Firefox-window doesn't open after installing an incompatible extension you can often still open the extension-window and deinstall the wrong version and everything works again.

If you're just updating Firefox, and the extension was already installed on your previous version, it is sometimes possible to re-enable it. In Tools->Extensions right click on it and select Enable and then restarting Firefox.