Changes

Firefox ext install downloads

1,150 bytes added, 17:23, 6 December 2011
template file ff-extension.cmd including clean-extensions.cmd
<package id='firefox-ext-&ext-name;' name='Firefox Extension &ext-name;' revision='&ext-key;' priority='15'>
<variable name='fxext' value='&ext-name;-&ext-key;'/>
<variable name='fxname' value='&ext-name;-'/>
<check type="logical" condition="or">
<check type="file" condition="exists" path="%CommonProgramFiles%\Mozilla Shared\Extensions\%FXEXT%\install.rdf" />
<check type="file" condition="exists" path="%CommonProgramFiles(x86)%\Mozilla Shared\Extensions\%FXEXT%\install.rdf" />
</check>
<depends package-id="firefox-check" />
<install cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd" Firefox %FXEXT% >nulc:\netinst\logs\%FXEXT%-install.log'/> <upgrade cmd='%SOFTWARE%\tools\pskill.exe firefox.exe'> <exit code="-1" /> </upgrade> <upgrade cmd='"%SOFTWARE%\packages\mozilla\clean-extensions.cmd" Firefox %FXEXT% %FXNAME%>c:\netinst\logs\%FXNAME%-upgrade.log'/> <upgrade cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd" Firefox %FXEXT% >nulc:\netinst\logs\%FXEXT%-upgrade.log'/> <downgrade cmd='%SOFTWARE%\tools\pskill.exe firefox.exe'> <exit code="-1" /> </downgrade> <downgrade cmd='"%SOFTWARE%\packages\mozilla\clean-extensions.cmd" Firefox %FXEXT% %FXNAME%>c:\netinst\logs\%FXNAME%-downgrade.log'/> <downgrade cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd" Firefox %FXEXT% >nulc:\netinst\logs\%FXEXT%-downgrade.log'/> <remove cmd='"%SOFTWARE%\packages\mozilla\remove-extensions.cmd" Firefox %FXEXT% >nulc:\netinst\logs\%FXEXT%-remove.log'/> <remove cmd='cmd /c if exist "%CommonProgramFiles%\Mozilla Shared\Extensions\%FXEXT%\" rmdir /s /q "%CommonProgramFiles%\Mozilla Shared\Extensions\%FXEXT%\"' /> <remove cmd='cmd /c if exist "%CommonProgramFiles(x86)%\Mozilla Shared\Extensions\%FXEXT%\" rmdir /s /q "%CommonProgramFiles(x86)%\Mozilla Shared\Extensions\%FXEXT%\"'/>
</package>
</source>
66
edits