[wpkg-users] Thunderbird auto install extensions

John Danks john.danks at gmail.com
Fri Jun 15 00:03:05 CEST 2012


All I do is:

Set extensions.autoDisableScopes to 11.
Extract the xpi file to a folder with the extension version number.
Copy the contents to a folder with name matching the extension ID
under %PROGRAMFILES%\Mozilla Thunderbird\extensions\

Double-check everything. You might have a typo somewhere.

<package
id="thunderbird-lightning"
name="Lightning"
revision="%version%">
 <depends package-id="thunderbird" />
 <variable name="version" value="1.4" />
<variable name="extid" value="{e2fda1a4-762b-4020-b5ad-a41df1933103}" />

<check
type="file"
condition="exists"
path="%PROGRAMFILES(X86)%\Mozilla
Thunderbird\extensions\%extid%\chrome.manifest" />
 <install cmd='%COMSPEC% /C xcopy /Q /I /E /Y
"%SOFTWARE%\apps\thunderbird\lightning\%version%" "%
PROGRAMFILES(X86) %\Mozilla Thunderbird\extensions\%extid%\"' />
 <upgrade cmd="taskkill /F /IM Thunderbird.exe">
<exit code="any" />
</upgrade>
<upgrade cmd='%COMSPEC% /C rmdir /q /s "% PROGRAMFILES(X86) %\Mozilla
Thunderbird\extensions\%extid%"' />
<upgrade cmd='%COMSPEC% /C xcopy /Q /I /E /Y
"%SOFTWARE%\apps\thunderbird\lightning\%version%" "%
PROGRAMFILES(X86) %\Mozilla Thunderbird\extensions\%extid%\"' />
 <remove cmd="taskkill /F /IM Thunderbird.exe">
<exit code="any" />
</remove>
<remove cmd='%COMSPEC% /C if exist "% PROGRAMFILES(X86) %\Mozilla
Thunderbird\extensions\%extid%" rmdir /q /s "% PROGRAMFILES(X86) %\Mozilla
Thunderbird\extensions\%extid%"' />
</package>

On Thu, Jun 14, 2012 at 2:36 PM, Donny Brooks <dbrooks at mdah.state.ms.us>wrote:

>    I have been trying to get Thunderbird to install extensions for a while
> now. However no matter what method I try according to the
> wpkg.org/Thunderbird wiki I am unable to get it to work. I did get the
> auto config to work properly with the directions on there. I have tried
> putting the .xpi file in the %PROGRAMFILES%\Mozilla Thunderbird\extensions\
> folder named as the {extension-id}.xpi located in the install.rdf. I even
> tried adding a %PROGRAMFILES%\Mozilla Thunderbird\distribution\extensions\
> folder and placing it there instead. I have tried putting the unzipped
> files from the .xpi file in the folder named the extension-id also. In my
> config I have added extensions.autoDisableScopes to 11 but nothing works. I
> am at a loss. The plugin I am trying to add is the sogo-integrator. Anyone
> have any ideas as to what could be causing this not to work? I am testing
> manually but will be deploying this with our wpkg system.
>
> Donny B.
>
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120614/de5457fa/attachment.html>


More information about the wpkg-users mailing list