Difference between revisions of "Thunderbird"
(add "disable auto update") |
(v2 install note) |
||
Line 4: | Line 4: | ||
http://www.mozilla.com/en-US/thunderbird/2.0.0.0/releasenotes/ | http://www.mozilla.com/en-US/thunderbird/2.0.0.0/releasenotes/ | ||
+ | Despite the change of installers, the -ms flag works instead of /s to do silent install. | ||
== General info for version 1.5 == | == General info for version 1.5 == |
Revision as of 17:14, 20 April 2007
Contents
General info for version 2
"New Windows installer: Based on Nullsoft Scriptable Install System, the new Windows installer resolves many long-standing issues." http://www.mozilla.com/en-US/thunderbird/2.0.0.0/releasenotes/
Despite the change of installers, the -ms flag works instead of /s to do silent install.
General info for version 1.5
This is a silent installer and uninstaller for Mozilla Thunderbird 1.5, but it should work with other versions of Thunderbird, too.
If you have a lower version of Thunderbird installed, it will be automatically removed before Mozilla Thunderbird 1.5 installs.
As the Thunderbird install now nicely upgrades and doesn't leave the old one in the registry, there is no need to differentiate versions in package id. When a new version comes out, just replace the installer in "upgrade cmd" with a new one, and then increment the package revision number - this puts the upgrade command to work.
<package id="thunderbird" name="Mozilla Thunderbird" revision="15041" reboot="false" priority="0"> <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.5)" /> <install cmd='"%SOFTWARE%\Thunderbird\Thunderbird Setup 1.5.0.4.exe" -ms' /> <upgrade cmd='"%SOFTWARE%\Thunderbird\Thunderbird Setup 1.5.0.4.exe" -ms' /> <remove cmd='"%PROGRAMFILES%\Mozilla Thunderbird\uninstall\uninstall.exe" -ms' /> </package>
Making Thunderbird a default mail and news client
If you want to make Mozilla Thunderbird a default mail and news client, add these registry entries:
Note: Make sure to change the path MOZILL~2 to MOZILL~1 if you have installed Thunderbird before Firefox or any other Mozilla product. (check on the command line by typing "cd %programfiles%\MOZILL~2")
REGEDIT4 [HKEY_CLASSES_ROOT\mailto] @="URL:MailTo Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\mailto\DefaultIcon] @="@ShortProgFiles\\MOZILL~2\\THUNDE~1.EXE,0" [HKEY_CLASSES_ROOT\mailto\shell\open\command] @="@ShortProgFiles\\MOZILL~2\\THUNDE~1.EXE -compose %1" [HKEY_CLASSES_ROOT\news] @="URL:News Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\news\DefaultIcon] @="@ShortProgFiles\\MOZILL~2\\THUNDE~1.EXE,0" [HKEY_CLASSES_ROOT\news\shell\open\command] @="@ShortProgFiles\\MOZILL~2\\THUNDE~1.EXE -mail %1" [HKEY_CLASSES_ROOT\nntp] @="URL:NNTP Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\nntp\DefaultIcon] @="@ShortProgFiles\\MOZILL~2\\THUNDE~1.EXE,0" [HKEY_CLASSES_ROOT\nntp\shell\open\command] @="@ShortProgFiles\\MOZILL~2\\THUNDE~1.EXE -mail %1" [HKEY_CLASSES_ROOT\snews] @="URL:Snews Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\snews\DefaultIcon] @="@ShortProgFiles\\MOZILL~2\\THUNDE~1.EXE,0" [HKEY_CLASSES_ROOT\snews\shell\open\command] @="@ShortProgFiles\\MOZILL~2\\THUNDE~1.EXE -mail %1" [HKEY_CURRENT_USER\Software\Clients\Mail] @="Mozilla Thunderbird" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail] @="Mozilla Thunderbird" [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News] @="Mozilla Thunderbird"
To register it with WPKG, save it as thunderbird.REG, and add these entries to your Thunderbird XML:
<install cmd='regedit /s %SOFTWARE%\Thunderbird\thunderbird.REG' /> <upgrade cmd='regedit /s %SOFTWARE%\Thunderbird\thunderbird.REG' />
Alternatively, you can use this jscript file to use full path names:
var WshShell = WScript.CreateObject("WScript.Shell"); var key; var value; key = "HKEY_CLASSES_ROOT\\mailto\\"; value = "URL:MailTo Protocol"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\mailto\\URL Protocol"; value = ""; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\mailto\\defaultIcon\\"; value = WshShell.ExpandEnvironmentStrings("%ProgramFiles%") + "\\Mozilla Thunderbird\Thunderbird.exe,0"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\mailto\\shell\\open\\command\\"; value = WshShell.ExpandEnvironmentStrings("%ProgramFiles%") + "\\Mozilla Thunderbird\\Thunderbird.exe -compose %1"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\news\\"; value = "URL:News Protocol"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\news\\URL Protocol"; value = ""; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\news\\defaultIcon\\"; value = WshShell.ExpandEnvironmentStrings("%ProgramFiles%") + "\\Mozilla Thunderbird\Thunderbird.exe,0"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\news\\shell\\open\\command\\"; value = WshShell.ExpandEnvironmentStrings("%ProgramFiles%") + "\\Mozilla Thunderbird\\Thunderbird.exe -mail %1"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\nntp\\"; value = "URL:NNTP Protocol"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\nntp\\URL Protocol"; value = ""; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\nntp\\defaultIcon\\"; value = WshShell.ExpandEnvironmentStrings("%ProgramFiles%") + "\\Mozilla Thunderbird\Thunderbird.exe,0"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\nntp\\shell\\open\\command\\"; value = WshShell.ExpandEnvironmentStrings("%ProgramFiles%") + "\\Mozilla Thunderbird\\Thunderbird.exe -mail %1"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\snews\\"; value = "URL:Snews Protocol"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\snews\\URL Protocol"; value = ""; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\snews\\defaultIcon\\"; value = WshShell.ExpandEnvironmentStrings("%ProgramFiles%") + "\\Mozilla Thunderbird\Thunderbird.exe,0"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CLASSES_ROOT\\snews\\shell\\open\\command\\"; value = WshShell.ExpandEnvironmentStrings("%ProgramFiles%") + "\\Mozilla Thunderbird\\Thunderbird.exe -mail %1"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_CURRENT_USER\\Software\\Clients\\Mail"; value = "Mozilla Thunderbird"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Clients\\Mail"; value = "Mozilla Thunderbird"; WshShell.RegWrite(key, value, "REG_SZ"); key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Clients\\News"; value = "Mozilla Thunderbird"; WshShell.RegWrite(key, value, "REG_SZ");
For wpkg:
<install cmd='wscript %SOFTWARE%\Thunderbird\setdefault.js' /> <upgrade cmd='wscript %SOFTWARE%\Thunderbird\setdefault.js' />
Silent installation of Thunderbird extensions
To silently install Mozilla Thunderbird extensions, do the following:
- download the extension
- go to "%PROGRAMFILES%\Mozilla Thunderbird\extensions\" and see what folders you have there
- install the extension into Thunderbird manually (this needs an explanation as to how this is done - is it by copying the .XPI file into this directory? or using Tools -> Extensions -> Install from within Thunderbird?)
- you will notice that the additional folder appeared in "%PROGRAMFILES%\Mozilla Thunderbird\extensions\" - this is your new extension
- copy the new folder to the server
- the silent installer will look like this:
<package id="thunderbird-quicktext" name="Quicktext extension" revision="1" 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>
- 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
Silent installation of dictionaries (spell-checking)
Mozilla Thunderbird keeps its (MySpell) dictionaries in %PROGRAMFILES%\Mozilla Thunderbird\components\myspell\
.
By default, it only has an English dictionary (for licensing reasons).
Installing a new dictionary is simple - just copy the dictionary files for a given language to that folder.
Installation instructions for a German dictionary
- Download a German dictionary from http://www.thunderbird-mail.de/hilfe/dokumentation1.5/allg_rechtschreibung.php
- The file is a .xpi file (a renamed .zip file). Uncompress it using any unzipping program. Inside you'll find .aff and .dic files - these are the core dictionary files. (There is also a .txt file (some info), and a .js file (the installer, used if you install the dictionary using Thunderbird))
- Copy the core dictionary files into
%PROGRAMFILES%\Mozilla Thunderbird\components\myspell\
. - The XML which installs the German dictionary for Thunderbird should look like this:
<package id="thunderbird-woerterbuch" name="Woerterbuch fuer Thunderbird" revision="1" reboot="false" priority="0"> <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Thunderbird\components\myspell\Deutsch - neue Rechtschreibung.aff" /> <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Thunderbird\components\myspell\Deutsch - neue Rechtschreibung.dic" /> <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Thunderbird\components\myspell\Deutsch - neue Rechtschreibung.txt" /> <install cmd='cmd /C xcopy /Q /I /E /Y "%SOFTWARE%\thunderbird\extensions\woerterbuch\*" "%PROGRAMFILES%\Mozilla Thunderbird\components\myspell\"' /> <upgrade cmd='cmd /C xcopy /Q /I /E /Y "%SOFTWARE%\thunderbird\extensions\woerterbuch\*" "%PROGRAMFILES%\Mozilla Thunderbird\components\myspell\"' /> <remove cmd='cmd /C del "%PROGRAMFILES%\Mozilla Thunderbird\components\myspell\Deutsch - neue Rechtschreibung.*"' /> </package>
Disable auto update
Removing access to Outlook Express
If you want to remove access to OE, simply alter these registry entries:
[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Outlook Express\InstallInfo] "IconsVisible"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\>{881dd1c5-3dcf-431b-b061-f3f88e8be88a}] "IsInstalled"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Oc Manager\Subcomponents] "oeaccess"=dword:00000000
Sometimes a disconnect/reconnect is needed to really have the OE icon disappear.