Difference between revisions of "Thunderbird"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 3: Line 3:
 
If you have a lower version of Thunderbird installed, it will be automatically removed before Mozilla Thunderbird 1.0.7 installs.
 
If you have a lower version of Thunderbird installed, it will be automatically removed before Mozilla Thunderbird 1.0.7 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.0.7 with 1.0.8 (for example) and then increment the package revision number - this puts the upgrade command to work.
 +
 +
<package
 +
      id="thunderbird"
 +
      name="Mozilla Thunderbird 1.0.7"
 +
      revision="2"
 +
      reboot="false"
 +
      priority="0">
 +
 +
  <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.0.7)" />
 +
 +
  <install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.0.7.exe" -ms'>
 +
  <exit code="0" />
 +
  </install>
 +
 +
  <upgrade cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.0.7.exe" -ms'>
 +
  <exit code="0" />
 +
  </upgrade>
 +
 +
  <remove cmd='%SYSTEMROOT%\UninstallThunderbird.exe -ms' />
 +
</package>
  
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
 
    <package<br>
 
        id="thunderbird107"<br>
 
        name="Mozilla Thunderbird 1.0.7"<br>
 
        revision="1"<br>
 
        reboot="false"<br>
 
        priority="0"><br>
 
        <check type="uninstall" condition="exists" path="Mozilla Thunderbird (1.0.7)" /><br>
 
        <br>
 
        <install cmd='"\\edu\dfs\admin\NON-MSI\thunderbird\Thunderbird Setup 1.0.7.exe" -ms'><br>
 
    <exit code="0" /><br>
 
        </install><br>
 
        <br>
 
        <remove  cmd='%SYSTEMROOT%\UninstallThunderbird.exe -ms' /><br>
 
    <br>
 
    </package> 
 
</blockquote>
 
  
 
[[category:Silent Installers|Thunderbird]]
 
[[category:Silent Installers|Thunderbird]]

Revision as of 12:19, 24 October 2005

This is a silent installer and uninstaller for Mozilla Thunderbird 1.0.7, 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.0.7 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.0.7 with 1.0.8 (for example) and then increment the package revision number - this puts the upgrade command to work.

<package 
     id="thunderbird" 
     name="Mozilla Thunderbird 1.0.7" 
     revision="2" 
     reboot="false" 
     priority="0">

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

 <install cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.0.7.exe" -ms'>
  <exit code="0" />
 </install>

 <upgrade cmd='"\\server\wpkg\pkg\Thunderbird Setup 1.0.7.exe" -ms'>
  <exit code="0" />
 </upgrade>

 <remove cmd='%SYSTEMROOT%\UninstallThunderbird.exe -ms' />
</package>