Fix uninstall section and support up to uninst0004.exe

tags/wpkg-gimp-2.10.0-0.beta1 2.8.8
Daniel Berteaud 11 years ago
parent 78e4f024bc
commit 28bce39277
  1. 21
      packages/gimp.xml

@ -2,10 +2,10 @@
<packages> <packages>
<package id="gimp" <package id="gimp"
name="GNU Image Manipulation Program (GIMP)" name="GNU Image Manipulation Program (GIMP)"
revision="10" revision="15"
reboot="false" reboot="false"
priority="8"> priority="8">
<variable name="PKG_VERSION" value="2.8.8" /> <variable name="PKG_VERSION" value="2.8.8" />
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%" /> <variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%" />
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%" /> <variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%" />
@ -19,11 +19,20 @@
<install cmd='%COMSPEC% /C del /q /f "%PUBLIC%\Desktop\GIMP 2.lnk"'> <install cmd='%COMSPEC% /C del /q /f "%PUBLIC%\Desktop\GIMP 2.lnk"'>
<exit code="any" /> <exit code="any" />
</install> </install>
<upgrade include="install" /> <upgrade include="install" />
<remove cmd='"%INSTALL_PATH%\GIMP\setup\unins000.exe" /VERYSILENT /NORESTART' > <remove cmd='"%INSTALL_PATH%\GIMP\uninst\unins000.exe" /VERYSILENT /NORESTART' >
<exit code="1" /> <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>
<remove cmd='%COMSPEC% /c rmdir /s /q "%INSTALL_PATH%\GIMP"' /> <remove cmd='%COMSPEC% /c rmdir /s /q "%INSTALL_PATH%\GIMP"' />
</package> </package>

Loading…
Cancel
Save