Difference between revisions of "Defraggler"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 7: Line 7:
 
Defraggler Homepage: http://www.defraggler.com/
 
Defraggler Homepage: http://www.defraggler.com/
  
Download Defraggler: http://www.defraggler.com/download/builds
+
Download the slim installer available at: http://www.defraggler.com/download/builds
 
+
Note: Defraggler's installer puts the icons in "%UserProfile%". This corrects that.
+
  
 
<source lang="xml">  
 
<source lang="xml">  
 +
 +
<?xml version="1.0" encoding="UTF-8"?>
  
 
<packages>
 
<packages>
  
    <package
+
<package
        id="defraggler"
+
id="defraggler"
        name="Defraggler"
+
name="Defraggler 1.20"
        revision="1"
+
revision="120"
        reboot="false"
+
reboot="false"
        priority="1">
+
priority="0">
     
+
        <check type="uninstall" condition="exists" path="Defraggler (remove only)" />
+
<check type="uninstall" condition="exists" path="Defraggler" />
     
+
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="1.20.0.201" />
        <install cmd='%software%\dfsetup110.exe /S' />
+
        <install cmd='regedit /s %WPKGROOT%\reg\defraggler.reg' />
+
<install cmd='%SOFTWARE%\defraggler\dfsetup120_slim.exe /S' />
        <install cmd='%COMSPEC% /c mkdir "%AllUsersProfile%\Start Menu\Programs\Defraggler"' />
+
        <install cmd='%COMSPEC% /c copy "%UserProfile%\Start Menu\Programs\Defraggler\*.*" "%AllUsersProfile%\Start Menu\Programs\Defraggler\"' />
+
<upgrade cmd='%SOFTWARE%\defraggler\dfsetup120_slim.exe /S' />
        <install cmd='%COMSPEC% /c rmdir /q /s "%UserProfile%\Start Menu\Programs\Defraggler"' />
+
        <install cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' />
+
<remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' />
     
+
</package>  
        <upgrade cmd='%SOFTWARE%\dfsetup110.exe /S' />
+
        <upgrade cmd='%COMSPEC% /c rmdir /q /s "%UsersProfile%\Start Menu\Programs\Defraggler\"' />
+
        <upgrade cmd='%COMSPEC% /c del /q "%UserProfile%\Desktop\Defraggler.lnk"' />
+
     
+
        <remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' />
+
        <remove cmd='%COMSPEC% /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\Defraggler"' />
+
    </package>  
+
  
 
</packages>
 
</packages>

Revision as of 19:43, 26 June 2010

This is a silent installer and uninstaller for Defraggler.

"From everyone here at Piriform, the company that brought you CCleaner and Recuva... we now bring you a file defragmentation tool... Defraggler!

It differs from other defrag tools on the market, by enabling you to quickly and simply defrag the files you want to, without having to process the whole drive. Simply run it, select the file and defragment in seconds. No more struggling with the Windows defragmentation tool!" - Defraggler.com

Defraggler Homepage: http://www.defraggler.com/

Download the slim installer available at: http://www.defraggler.com/download/builds

 

<?xml version="1.0" encoding="UTF-8"?>

<packages>

	<package
		id="defraggler"
		name="Defraggler 1.20"
		revision="120"
		reboot="false"
		priority="0">
		
		<check type="uninstall" condition="exists" path="Defraggler" />
		<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="1.20.0.201" />
		
		<install cmd='%SOFTWARE%\defraggler\dfsetup120_slim.exe /S' />
		
		<upgrade cmd='%SOFTWARE%\defraggler\dfsetup120_slim.exe /S' />
		
		<remove cmd='"%ProgramFiles%\Defraggler\uninst.exe" /S' />
	</package> 

</packages>