4
edits
Changes
no edit summary
</source>
<source lang="xml">
<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.rdf" />
<install cmd='%comspec% /c copy "%SOFTWARE%\Thunderbird\lightning-0.8-tb-win.xpi" %TEMP%' />
<install cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%TEMP%\lightning-0.8-tb-win.xpi"' />
<install cmd='%comspec% /c del "%TEMP%lightning-0.8-tb-win.xpi"' />
<upgrade cmd='%comspec% /c copy "%SOFTWARE%\Thunderbird\lightning-0.8-tb-win.xpi" %TEMP%' />
<upgrade cmd='"%PROGRAMFILES%\Mozilla Thunderbird\thunderbird.exe" -install-global-extension "%TEMP%\lightning-0.8-tb-win.xpi"' />
<upgrade cmd='%comspec% /c del "%TEMP%lightning-0.8-tb-win.xpi"' />
<remove cmd='%comspec% /c del /S /Q "%PROGRAMFILES%\Mozilla Thunderbird\extensions\{e2fda1a4-762b-4020-b5ad-a41df1933103}" > null'/>
</package>
</source>
== Removing an extension ==