<?xml version="1.0" encoding="UTF-8"?> <packages> <package id="ccleaner" name="Outil de nettoyage CCleaner" revision="5" reboot="false" priority="10"> <variable name="PKG_VERSION" value="3.19" /> <!-- CCleaner est 32bit, mais il s'install dans %PROGRAMFILES% même sur les Win 64 :/ <variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%\CCleaner" /> <variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%\CCleaner" /> --> <variable name="INSTALL_PATH" value="%PROGRAMFILES%\CCleaner" /> <check type="uninstall" condition="versiongreaterorequal" path="CCleaner" value="%PKG_VERSION%" /> <install cmd='%SOFTWARE%\ccleaner\ccsetup319_slim.exe /S' /> <!-- XP --> <install cmd='%COMSPEC% /C del /q /f "%ALLUSERSPROFILE%\Bureau\CCleaner.lnk"'> <exit code="any" /> </install> <!-- Vista / 7 --> <install cmd='%COMSPEC% /C del /q /f "%PUBLIC%\Desktop\CCleaner.lnk"'> <exit code="any" /> </install> <upgrade include="install" /> <downgrade include="install" /> <remove cmd='"%INSTALL_PATH%\uninst.exe" /S' /> </package> </packages>