Changes

Jump to: navigation, search

Thunderbird

1,851 bytes added, 09:37, 9 July 2009
Silent installation of Thunderbird extensions
</package>
</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 Thunderbird is next started, a new extension is detected automatically - you can verify this in Thunderbird using Tools -> Extensions
 
or you can use this script
 
<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) ==
Anonymous user

Navigation menu