Difference between revisions of "Defraggler"
From WPKG | Open Source Software Deployment and Distribution
(Updated to version 2.00 and added commands to remove desktop icons after it's installed) |
(version 2.01 update) |
||
Line 13: | Line 13: | ||
<package | <package | ||
id="defraggler" | id="defraggler" | ||
− | name="Defraggler 2. | + | name="Defraggler 2.01" |
− | revision=" | + | revision="201" |
reboot="false" | reboot="false" | ||
priority="0"> | priority="0"> | ||
<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.1.0.239" /> |
− | <install cmd='%SOFTWARE%\defraggler\ | + | <install cmd='%SOFTWARE%\defraggler\dfsetup201_slim.exe /S' /> |
− | <install cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' > | + | <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> | |
− | <install cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Defraggler.lnk"' > | + | |
− | + | ||
− | + | ||
− | <install cmd='%COMSPEC% /c del /q "%Public%\Desktop\Defraggler.lnk"' > | + | |
− | + | ||
− | + | ||
− | <upgrade cmd='%SOFTWARE%\defraggler\ | + | <upgrade cmd='%SOFTWARE%\defraggler\dfsetup201_slim.exe /S' /> |
− | <upgrade cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' > | + | <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> | |
− | <upgrade cmd='%COMSPEC% /c del /q "%AllUsersProfile%\Desktop\Defraggler.lnk"' > | + | |
− | + | ||
− | + | ||
− | <upgrade cmd='%COMSPEC% /c del /q "%Public%\Desktop\Defraggler.lnk"' > | + | |
− | + | ||
− | + | ||
<remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' /> | <remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' /> |
Revision as of 02:04, 7 January 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.01"
revision="201"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Defraggler" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.1.0.239" />
<install cmd='%SOFTWARE%\defraggler\dfsetup201_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\dfsetup201_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>