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 3: Line 3:
 
<source lang="xml">
 
<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"/>  
                <check type="file" condition="exists" path="%PROGRAMFILES%\Mozilla Thunderbird\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}" />
+
<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>
+
<install cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%PACKAGES%\thunderbird_add-on\lightning-0.3.win32.xpi"' />
                <upgrade cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%PACKAGES%\thunderbird_add-on\lightning-0.3.win32.xpi"'>
+
<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?"'/>
 
                 <remove cmd='cmd /c echo "How uninstall ONLY add-on?"'/>
 
</package>
 
</package>

Revision as of 19:13, 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"' />
 <upgrade cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%PACKAGES%\thunderbird_add-on\lightning-0.3.win32.xpi"' />
                <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.