Difference between revisions of "Defraggler"
From WPKG | Open Source Software Deployment and Distribution
(→WPKG Package) |
(→WPKG Package) |
||
Line 19: | Line 19: | ||
<check type="uninstall" condition="exists" path="Defraggler" /> | <check type="uninstall" condition="exists" path="Defraggler" /> | ||
− | <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2. | + | <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.3.0.282" /> |
− | <install cmd='%SOFTWARE%\defraggler\ | + | <install cmd='%SOFTWARE%\defraggler\dfsetup203_slim.exe /S' /> |
<install cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></install> | <install cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></install> | ||
<install cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></install> | <install cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></install> | ||
<install cmd='%COMSPEC% /c del /q "%Public%\Desktop\Defraggler.lnk"' ><exit code="any" /></install> | <install cmd='%COMSPEC% /c del /q "%Public%\Desktop\Defraggler.lnk"' ><exit code="any" /></install> | ||
− | <upgrade cmd='%SOFTWARE%\defraggler\ | + | <upgrade cmd='%SOFTWARE%\defraggler\dfsetup203_slim.exe /S' /> |
<upgrade cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></upgrade> | <upgrade cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></upgrade> | ||
<upgrade cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></upgrade> | <upgrade cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></upgrade> |
Revision as of 07:04, 7 April 2011
Defraggler is a defragmentation utility from Piriform (the authors of CCleaner and Recuva).
Defraggler is available from http://www.defraggler.com. A 'slim' installer, without the bundled toolbar, is available from http://www.defraggler.com/download/builds.
WPKG Package
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="defraggler"
name="Defraggler 2.03"
revision="2.03"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Defraggler" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.3.0.282" />
<install cmd='%SOFTWARE%\defraggler\dfsetup203_slim.exe /S' />
<install cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></install>
<install cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></install>
<install cmd='%COMSPEC% /c del /q "%Public%\Desktop\Defraggler.lnk"' ><exit code="any" /></install>
<upgrade cmd='%SOFTWARE%\defraggler\dfsetup203_slim.exe /S' />
<upgrade cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></upgrade>
<upgrade cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Defraggler.lnk"' ><exit code="any" /></upgrade>
<upgrade cmd='%COMSPEC% /c del /q "%Public%\Desktop\Defraggler.lnk"' ><exit code="any" /></upgrade>
<remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' />
<remove cmd='%COMSPEC% /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\Defraggler"' />
</package>
</packages>