Difference between revisions of "Defraggler"
(→Alternative use of Portable Build) |
(upgrade to 2.05, other minor changes) |
||
Line 17: | Line 17: | ||
<package | <package | ||
id="defraggler" | id="defraggler" | ||
− | name="Defraggler 2. | + | name="Defraggler 2.05" |
− | revision="2. | + | revision="2.05" |
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.5.0.315" /> |
− | <install cmd='%SOFTWARE%\defraggler\ | + | <install cmd='%SOFTWARE%\defraggler\dfsetup205_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\dfsetup205_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> | ||
Line 46: | Line 46: | ||
==Alternative use of Portable Build== | ==Alternative use of Portable Build== | ||
− | It | + | It usually takes Piriform a week or two to put the slim installer on their website for download. If you don't want to wait you can download the portable version and copy the files directly into Program Files to upgrade Defraggler. |
− | You can download | + | |
− | Extract the Zip archive and use this package to copy the portable files to your system. | + | You can download the portable version here: http://www.piriform.com/defraggler/builds. Extract the Zip archive and use this package to copy the portable files to your system. This does not create any shortcuts, but leaves the link to the uninst.exe to remove previous 'slim' or 'regular' installs. |
− | This does not create any shortcuts, but leaves the link to the uninst.exe to remove previous 'slim' or 'regular' installs. | + | |
Line 58: | Line 57: | ||
<package | <package | ||
id="defraggler" | id="defraggler" | ||
− | name="Defraggler 2. | + | name="Defraggler 2.05" |
− | revision=" | + | revision="2050" |
reboot="false" | reboot="false" | ||
priority="2"> | priority="2"> | ||
− | <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2. | + | <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.5.0.315" /> |
<install cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Defraggler"' /> | <install cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Defraggler"' /> | ||
− | <install cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\ | + | <install cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\dfsetup205\*.* "%PROGRAMFILES%\Defraggler" /y' /> |
− | <upgrade cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\ | + | <upgrade cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\dfsetup205\*.* "%PROGRAMFILES%\Defraggler" /y' /> |
<remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' /> | <remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' /> |
Revision as of 23:39, 1 June 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.05"
revision="2.05"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="Defraggler" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.5.0.315" />
<install cmd='%SOFTWARE%\defraggler\dfsetup205_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\dfsetup205_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>
Alternative use of Portable Build
It usually takes Piriform a week or two to put the slim installer on their website for download. If you don't want to wait you can download the portable version and copy the files directly into Program Files to upgrade Defraggler.
You can download the portable version here: http://www.piriform.com/defraggler/builds. Extract the Zip archive and use this package to copy the portable files to your system. This does not create any shortcuts, but leaves the link to the uninst.exe to remove previous 'slim' or 'regular' installs.
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id="defraggler"
name="Defraggler 2.05"
revision="2050"
reboot="false"
priority="2">
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.5.0.315" />
<install cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Defraggler"' />
<install cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\dfsetup205\*.* "%PROGRAMFILES%\Defraggler" /y' />
<upgrade cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\dfsetup205\*.* "%PROGRAMFILES%\Defraggler" /y' />
<remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' />
<remove cmd='%COMSPEC% /c rmdir /q /s "%PROGRAMFILES%\Defraggler"' />
</package>
</packages>