Difference between revisions of "Mozilla Calendar/Lightning for Thunderbird (global)"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 1: Line 1:
 
Mozilla Calendar/Lightning for Thunderbird (global)
 
Mozilla Calendar/Lightning for Thunderbird (global)
<pre>
+
 
 +
<source lang="xml">
 
<package id="lightning" name="Mozilla Lightning" revision="1" reboot="false" priority="1" timeout="100">
 
<package id="lightning" name="Mozilla Lightning" revision="1" reboot="false" priority="1" timeout="100">
 
                 <depends package-id="thunderbird"/>  
 
                 <depends package-id="thunderbird"/>  
Line 10: Line 11:
 
                 <remove cmd='cmd /c echo "How uninstall ONLY add-on?"'/>
 
                 <remove cmd='cmd /c echo "How uninstall ONLY add-on?"'/>
 
</package>
 
</package>
</pre>
+
</source>
  
  

Revision as of 19:12, 19 February 2008

Mozilla Calendar/Lightning for Thunderbird (global)

<package id="lightning" name="Mozilla Lightning" revision="1" reboot="false" priority="1" timeout="100">
                <depends package-id="thunderbird"/> 
                <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Thunderbird\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}" />
                <install cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%PACKAGES%\thunderbird_add-on\lightning-0.3.win32.xpi"'>
                </install>
                <upgrade cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%PACKAGES%\thunderbird_add-on\lightning-0.3.win32.xpi"'>
                </upgrade>
                <remove cmd='cmd /c echo "How uninstall ONLY add-on?"'/>
</package>


Removing an extension

It looks like to remove an extension it is enough to remove that extension's files - in the above case, remove the whole %PROGRAMFILES%\Mozilla Thunderbird\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103} directory.