tuto:gestion_de_parc:wpkg:gimp

The GIMP

gimp.xml
<?xml version="1.0" encoding="UTF-8"?>
<packages>
    <package id="gimp"
             name="GNU Image Manipulation Program (GIMP)"
             revision="16"
             reboot="false"
             priority="8">
 
        <variable name="PKG_VERSION" value="2.8.10" />
        <variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%" />
        <variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%" />
 
        <check type="uninstall" condition="exists" path="GIMP %PKG_VERSION%" />
 
        <install cmd='"%SOFTWARE%\gimp\gimp-%PKG_VERSION%-setup.exe" /VERYSILENT /NORESTART /DIR="%INSTALL_PATH%\GIMP"' />
        <install cmd='%COMSPEC% /C del /q /f "%ALLUSERSPROFILE%\Bureau\GIMP 2.lnk"'>
            <exit code="any" />
        </install>
        <install cmd='%COMSPEC% /C del /q /f "%PUBLIC%\Desktop\GIMP 2.lnk"'>
            <exit code="any" />
        </install>
 
        <upgrade include="install" />
 
        <remove cmd='"%INSTALL_PATH%\GIMP\uninst\unins000.exe" /VERYSILENT /NORESTART' >
            <exit code="any" />
        </remove>
        <remove cmd='"%INSTALL_PATH%\GIMP\uninst\unins001.exe" /VERYSILENT /NORESTART' >
            <exit code="any" />
        </remove>
        <remove cmd='"%INSTALL_PATH%\GIMP\uninst\unins002.exe" /VERYSILENT /NORESTART' >
            <exit code="any" />
        </remove>
        <remove cmd='"%INSTALL_PATH%\GIMP\uninst\unins003.exe" /VERYSILENT /NORESTART' >
            <exit code="any" />
        </remove>
        <remove cmd='%COMSPEC% /c rmdir /s /q "%INSTALL_PATH%\GIMP"' />
    </package>
</packages>
  • tuto/gestion_de_parc/wpkg/gimp.txt
  • Dernière modification: 18/12/2013 13:31
  • de dani