Difference between revisions of "Thunderbird"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 8: Line 8:
 
  <package  
 
  <package  
 
       id="thunderbird"  
 
       id="thunderbird"  
       name="Mozilla Thunderbird 1.5.0.2"  
+
       name="Mozilla Thunderbird 1.5.0.4"  
       revision="15021"  
+
       revision="15041"  
 
       reboot="false"  
 
       reboot="false"  
 
       priority="0">
 
       priority="0">
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.2.exe" -ms' />
+
   <install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.0.4.exe" -ms' />
 
   
 
   
   <upgrade cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.0.2.exe" -ms' />
+
   <upgrade cmd='"\\server\wpkg\pkg\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' />

Revision as of 11:01, 2 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 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.

<package 
     id="thunderbird" 
     name="Mozilla Thunderbird 1.5.0.4" 
     revision="15041" 
     reboot="false" 
     priority="0">

 <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.5)" />

 <install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.0.4.exe" -ms' />

 <upgrade cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.5.0.4.exe" -ms' />

 <remove cmd='"%PROGRAMFILES%\Mozilla Thunderbird\uninstall\uninstall.exe" -ms' />
</package>



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