Changes
→deploy later: (compacting)
To install extensions, you have to put them in the %PROGRAMFILES%\Mozilla Thunderbird\extensions directory. Unpacking the xpi is mostly not needed any more (there are some rare exceptions, like dictionaries)
* To make sure, this is silent and to disable the warning request on startup to allow the installation, you have to set '''extensions.autoDisableScopes''' to '''11''' ([http://forums.mozillazine.org/viewtopic.php?p=11434583#p11434583 see this post])* Set '''extensions.shownSelectionUI''' to '''true''' to disable the addon control wizard, that comes up once when deploy an upgrade an start with an existing profile. (see below on autoconfig how to set [http://wpkg.org/Thunderbird#System-wide system wide user prefs])
<source lang="xml">
id="lightning"
name="Lightning extension for Mozilla Thunderbird"
<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"' />
</source>
reboot="false"
priority="0">
<check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Thunderbird\extensions\{8845E3B3-E8FB-40E2-95E9-EC40294818C4}\install.rdf" />
<install cmd='cmd /C xcopy /Q /I /E /Y "%SOFTWARE%\thunderbird\extensions\quicktext\{8845E3B3-E8FB-40E2-95E9-EC40294818C4}" "%PROGRAMFILES%\Mozilla Thunderbird\extensions\{8845E3B3-E8FB-40E2-95E9-EC40294818C4}"' />
<upgrade cmd='cmd /C xcopy /Q /I /E /Y "%SOFTWARE%\thunderbird\extensions\quicktext\{8845E3B3-E8FB-40E2-95E9-EC40294818C4}" "%PROGRAMFILES%\Mozilla Thunderbird\extensions\{8845E3B3-E8FB-40E2-95E9-EC40294818C4}"' />
<remove cmd='cmd /C rmdir /S /Q "%PROGRAMFILES%\Mozilla Thunderbird\extensions\{8845E3B3-E8FB-40E2-95E9-EC40294818C4}"' />
</package>