Difference between revisions of "Thunderbird"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 4: Line 4:
  
 
As the Thunderbird install now nicely upgrades and doesnt leave the old one into the registry, there is no need to differentiate versions in package id.
 
As the Thunderbird install now nicely upgrades and doesnt leave the old one into the registry, there is no need to differentiate versions in package id.
When a new version comes out, just replace every occurrence of 1.5 with 1.5.1 (for example) and then increment the package revision number - this puts the upgrade command to work.
+
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  
 
  <package  
 
       id="thunderbird"  
 
       id="thunderbird"  
       name="Mozilla Thunderbird 1.5.0.4"  
+
       name="Mozilla Thunderbird"  
 
       revision="15041"  
 
       revision="15041"  
 
       reboot="false"  
 
       reboot="false"  
Line 15: Line 15:
 
   <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.5)" />
 
   <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.5)" />
 
   
 
   
   <install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.0.4.exe" -ms' />
+
   <install cmd='"%SOFTWARE%\Thunderbird\Thunderbird Setup 1.5.0.4.exe" -ms' />
 
   
 
   
   <upgrade cmd='"\\server\wpkg\pkg\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' />
 
   <remove cmd='"%PROGRAMFILES%\Mozilla Thunderbird\uninstall\uninstall.exe" -ms' />
Line 23: Line 23:
  
  
----
+
== Making Thunderbird a default mail and news client ==
  
'''Silent installation of Thunderbird extensions.'''
+
If you want to make Mozilla Thunderbird a default mail and news client, add these registry entries:
 +
 
 +
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' />
 +
 
 +
 
 +
== Silent installation of Thunderbird extensions ==
  
 
To silently install Mozilla Thunderbird extensions, do the following:
 
To silently install Mozilla Thunderbird extensions, do the following:

Revision as of 11:19, 30 June 2006

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 doesnt leave the old one into 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:

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' />


Silent installation of Thunderbird extensions

To silently install Mozilla Thunderbird extensions, do the following:

  • download the extension
  • cd "%PROGRAMFILES%\Mozilla Thunderbird\extensions\" and look what folders you have there
  • install the extension in Thunderbird manually
  • 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:
<install cmd='cmd /C xcopy /Q /I /E /Y "\\server\wpkg\thund\ext\quicktext\{8845E3B3-E8FB-40E2-95E9-EC40294818C4}" "%PROGRAMFILES%\Mozilla Thunderbird\extensions\{8845E3B3-E8FB-40E2-95E9-EC40294818C4}"' />
  • basically, it means that you have to copy the folder that is named similar to {8845E3B3-E8FB-40E2-95E9-EC40294818C4} to your "Mozilla Thunderbird\extensions" folder
  • when Mozilla Thunderbird is started next time, new extension is detected automatically - you can verify it in Tools / Extensions menu in Thunderbird