Difference between revisions of "Defraggler"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(version 2.01 update)
(WPKG Package)
Line 13: Line 13:
 
<package
 
<package
 
id="defraggler"
 
id="defraggler"
name="Defraggler 2.01"
+
name="Defraggler 2.03"
revision="201"
+
revision="2.03"
 
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.1.0.239" />
+
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.03.282  " />
  
 
<install cmd='%SOFTWARE%\defraggler\dfsetup201_slim.exe /S' />
 
<install cmd='%SOFTWARE%\defraggler\dfsetup201_slim.exe /S' />

Revision as of 09:56, 15 March 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.03.282  " />

		<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>