XPInstall

Revision as of 22:50, 5 April 2025 by imported>KevinBlue18 (Grammar fix: changed to full phrase (replaced abbreviation "RDF" to the full descriptive phrase to explain what ".rdf" means in the parenthetical "install.rdf" and to match the determiner "a" which words or abbreviations that start with a consonant sound because "RDF" starts with a vowel sound which should be used with "an"))
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description Template:Multiple Template:Infobox file format XPInstall (Cross-Platform Install) is a technology used by the Mozilla Application Suite, SeaMonkey, Mozilla Firefox, Mozilla Thunderbird and other XUL-based applications for installing Mozilla extensions that add functionality to the main application.<ref name="Fisher2009">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref name="File_org2023">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

A XPI (pronounced "zippy" and derived from XPInstall) installer module is a ZIP file that contains an install script or a manifest at the root of the file, and a number of data files.<ref name="Fisher2009" /><ref name="File_org2023" />

In Mozilla, Firefox before 0.7, and before 0.5Template:What, the package contained a JavaScript install script (install.js) with some directives for actions to take during an install, including adding files and directories, removing old or obsolete files and directories, executing command line tools, etc. In middle-old Firefox and Thunderbird versions, the install script has been replaced by a chrome manifest and a resource description framework file (install.rdf). Since Firefox version 45, the only mandatory file is manifest.json.

Since Firefox 1.0, XPIs from sites other than Mozilla Add-ons are blocked by default. This was an attempt to prevent malicious programs, like computer viruses, Trojans and spyware, from being installed by novice users. While it is possible to put a site into the whitelist that limits sites which can install XPIs, malicious sites cannot install extensions in the background (without human intervention). This is because a confirmation dialog needs to be answered for every single installation of an extension.

However, users are still advised to install extensions from trusted sources only.

Applications with built-in support for XPInstallEdit

Web browsersEdit

Other applicationsEdit

See alsoEdit

ReferencesEdit

Template:Reflist

External linksEdit

Template:Portal

  • {{#invoke:citation/CS1|citation

|CitationClass=web }}

  • {{#invoke:citation/CS1|citation

|CitationClass=web }}

  • {{#invoke:citation/CS1|citation

|CitationClass=web }}

Template:Mozilla projects