Changes

Jump to: navigation, search

Thunderbird

1,819 bytes added, 19:07, 3 February 2012
Silent installation of Thunderbird extensions
To silently install Thunderbird extensions, do the following:
Thunderbird versions 4 and later:
* Download the extension
* Determine the extension's ID number. The easiest way to do this is to install it normally, then go to your %APPDATA%\Thunderbird\Profile\<profileID>\extensions, and copy the filename of the extension you just installed. For instance, lightning-1.2.1-sm+tb-windows.xpi is renamed to {e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi upon installation.
* Rename the downloaded extension using its ID (or simply copy the .xpi file from your installed extensions directory).
* The installer then needs to simply copy this file to %PROGRAMFILES%\Mozilla Thunderbird\extensions. The WPKG installer will look like the package pasted below.
* Note that this is not ENTIRELY silent as of Thunderbird 9.0. Upon startup, the user will see a warning requesting them to allow the installation.
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
 
<package
id="lightning"
name="Lightning extension for Mozilla Thunderbird"
revision="%version%"
reboot="false"
priority="20">
 
<variable name="version" value="1.2.1" />
 
<check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Thunderbird\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi" />
 
<install cmd='cmd /C copy /Y "%SOFTWARE%\lightning\{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi" "%PROGRAMFILES%\Mozilla Thunderbird\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi"' />
 
<upgrade cmd='cmd /C copy /Y "%SOFTWARE%\lightning\{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi" "%PROGRAMFILES%\Mozilla Thunderbird\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi"' />
 
<remove cmd='cmd /C del /Y "%PROGRAMFILES\Mozilla Thunderbird\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}.xpi"' />
 
</package>
 
</packages>
</source>
 
Versions of Thunderbird before version 4:
* Download the extension
* The .xpi file is a zipped up set of files. Extract the files using any zip unarchiving program
Anonymous user

Navigation menu