35
edits
Changes
Updated to version 2.00 and added commands to remove desktop icons after it's installed
<package
id="defraggler"
name="Defraggler 12.2000" revision="1200"
reboot="false"
priority="30">
<check type="uninstall" condition="exists" path="Defraggler" />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Defraggler\Defraggler.exe" value="12.200.0.201230" /> <install cmd='%SOFTWARE%\defraggler\dfsetup120_slimdfsetup200_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\dfsetup120_slimdfsetup200_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>