Changes

Jump to: navigation, search

Thunderbird

1,798 bytes removed, 10:18, 5 July 2010
improved instructions on getting extension ID; removed old -install-global-extension script
To silently install Mozilla Thunderbird extensions, do the following:
* download Download the extension* go to "%PROGRAMFILES%\Mozilla Thunderbird\extensions\" and see what folders The .xpi file is a zipped up set of files. Extract the files using any zip unarchiving program* Open the file install.rdf that you have therejust extracted* In the section labeled 'Description about="urn:mozilla:install -manifest"', and within that the extension into Thunderbird manuallyitem labeled 'em:id', copy the long ID number, including the curly brackets, for example '{847b3a00-7ab1-11d4-8f02-006008948af5}'** It is best to do this Create a directory using Tools this ID number, including the curly brackets, for example '{847b3a00-> Extensions 7ab1-> Install from within Thunderbird. Then 11d4-8f02-006008948af5}' and put all the extension's files in there** (Alternatively you can find the additional folder containing your ID number by installing the extension into Thunderbird then looking for it in "%PROGRAMFILES%\Mozilla Thunderbird\extensions\".** Alternatively, but this is potentially more complicated because you can use any unzip program have to look inside through the XPI install.rdf file (which is just a zip file with the of each installed extension changed to XPI). However, you will not know find which folder the XPI will extract extension each relates to unless you look inside the install.rdf and look for id.)* copy the new folder Copy your extension directory to the your server* the silent The installer then needs to simply copy this directory to %PROGRAMFILES%\Mozilla Thunderbird\extensions. The WPKG installer will look like this:
<source lang="xml">
</source>
* Basically, it means you have to copy the folder named similar to {8845E3B3-E8FB-40E2-95E9-EC40294818C4} to your "%PROGRAMFILES%\Mozilla Thunderbird\extensions" folder* when Mozilla When Thunderbird is next started, a the new extension is detected automatically - you can verify this in Thunderbird using Tools -> Extensions  or you can use this script ATTENTION: with Thunderbird 3.1 it doesn't longer work. Use the same procedure illustrated for Firefox ([[Firefox#Firefox_Extension_Templates]]) <source lang="xml"><package id="thunderbird-ext-p7m" name="Thunderbird Extension for p7m files" revision="1" reboot="false" priority="0">  <depends package-id="thunderbird" />  <variable name='thext' value='SmartP7mSupport-0.4.1.xpi' /> <variable name='thdir' value='{1199032f-b0f2-4552-a7c0-21f6a60df93a}' />  <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Thunderbird\extensions\%THDIR%\chrome.manifest" />  <install cmd='taskkill /F /IM thunderbid.exe'> <exit code="0" /> <exit code="128" /> </install> <install cmd='cmd /C copy /Y "%SOFTWARE%\packages\%THEXT%" "%PROGRAMFILES%\Mozilla Thunderbird"' /> <install cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%PROGRAMFILES%\Mozilla Thunderbird\%THEXT%"' /> <install cmd='cmd /C del /q "%PROGRAMFILES%\Mozilla Thunderbird\%THEXT%"' /> <install cmd='taskkill /F /IM thunderbird.exe'> <exit code="0" /> <exit code="128" /> </install>  <upgrade cmd='taskkill /F /IM thunderbird.exe'> <exit code="0" /> <exit code="128" /> </upgrade> <upgrade cmd='cmd /c rmdir /q /s "%PROGRAMFILES%\Mozilla Thunderbird\extensions\%THDIR%"' /> <upgrade cmd='cmd /C copy /Y "%SOFTWARE%\packages\%THEXT%" "%PROGRAMFILES%\Mozilla Thunderbird"' /> <upgrade cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%PROGRAMFILES%\Mozilla Thunderbird\%THEXT%"' /> <upgrade cmd='cmd /C del /q "%PROGRAMFILES%\Mozilla Thunderbird\%THEXT%"' /> <upgrade cmd='taskkill /F /IM thunderbird.exe'> <exit code="0" /> <exit code="128" /> </upgrade>  <remove cmd='cmd /c rmdir /q /s "%PROGRAMFILES%\Mozilla Thunderbird\extensions\%THDIR%"' /></package></source>
== Silent installation of dictionaries (spell-checking) ==
577
edits

Navigation menu