Difference between revisions of "Defraggler"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(WPKG Package)
Line 3: Line 3:
 
Defraggler is available from http://www.defraggler.com.
 
Defraggler is available from http://www.defraggler.com.
 
A 'slim' installer, without the bundled toolbar, is available from http://www.defraggler.com/download/builds.
 
A 'slim' installer, without the bundled toolbar, is available from http://www.defraggler.com/download/builds.
 +
 +
 +
 +
  
 
==WPKG Package==
 
==WPKG Package==
Line 38: Line 42:
  
 
</source>
 
</source>
 +
 +
 +
==Alternative use of Portable Build==
 +
 +
It appears theer is no longer a Slim build of Defraggler 2.0.4.
 +
You can download a 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.
 +
 +
 +
<source lang="xml">
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
<packages>
 +
 +
<package
 +
id="defraggler"
 +
name="Defraggler 2.04"
 +
revision="2040"
 +
reboot="false"
 +
priority="2">
 +
 +
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.4.0.297" />
 +
<install cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Defraggler"' />
 +
<install cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\dfsetup204\*.* "%PROGRAMFILES%\Defraggler" /y' />
 +
 +
<upgrade cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\dfsetup204\*.* "%PROGRAMFILES%\Defraggler" /y' />
 +
 +
<remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' />
 +
<remove cmd='%COMSPEC% /c rmdir /q /s "%PROGRAMFILES%\Defraggler"' />
 +
</package>
 +
 +
 +
</packages>
 +
 +
</source>
 +
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 11:42, 26 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>


Alternative use of Portable Build

It appears theer is no longer a Slim build of Defraggler 2.0.4. You can download a 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.04"
		revision="2040"
		reboot="false"
		priority="2">
 
		<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="2.4.0.297" />
 		<install cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Defraggler"' />
		<install cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\dfsetup204\*.* "%PROGRAMFILES%\Defraggler" /y' />

		<upgrade cmd='%COMSPEC% /C copy %SOFTWARE%\defraggler\dfsetup204\*.* "%PROGRAMFILES%\Defraggler" /y' />
 
		<remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' />
		<remove cmd='%COMSPEC% /c rmdir /q /s "%PROGRAMFILES%\Defraggler"' />
	</package>


</packages>