Inkscape for WPKG on iPasserelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.6 KiB

13 years ago
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="inkscape"
name="Inkscape"
10 years ago
revision="7"
13 years ago
reboot="false"
priority="10">
10 years ago
<variable name="PKG_VERSION" value="0.91" />
<variable architecture="x86" name="OLD_INSTALL_PATH" value="%PROGRAMFILES%\Inkscape" />
<variable architecture="x64" name="OLD_INSTALL_PATH" value="%PROGRAMFILES(x86)%\Inkscape" />
13 years ago
<check type="uninstall" condition="exists" path="Inkscape %PKG_VERSION%" />
10 years ago
<install include="remove" />
<install architecture="x86" cmd='msiexec /qn /i "%SOFTWARE%\inkscape\inkscape-%PKG_VERSION%.msi"' />
<install architecture="x64" cmd='msiexec /qn /i "%SOFTWARE%\inkscape\inkscape-%PKG_VERSION%-x64.msi"' />
13 years ago
<install cmd='%COMSPEC% /C del /q /f "%ALLUSERSPROFILE%\Bureau\Inkscape.lnk"'>
<exit code="0" />
<exit code="1" />
</install>
10 years ago
<install cmd='%COMSPEC% /C del /q /f "%PUBLIC%\Desktop\Inkscape %PKG_VERSION%.lnk"'>
13 years ago
<exit code="0" />
<exit code="1" />
</install>
10 years ago
13 years ago
<upgrade include="install" />
<downgrade include="install" />
10 years ago
<remove cmd='%COMSPEC% /C IF EXIST "%OLD_INSTALL_PATH%\uninstall.exe" "%OLD_INSTALL_PATH%\uninstall.exe" /S' />
<remove architecture="x86" cmd='msiexec /qn /norestart /x "%SOFTWARE%\inkscape\inkscape-%PKG_VERSION%.msi"'>
<exit code='any' />
</remove>
<remove architecture="x64" cmd='msiexec /qn /norestart /x "%SOFTWARE%\inkscape\inkscape-%PKG_VERSION%-64.msi"'>
<exit code='any' />
</remove>
13 years ago
</package>
</packages>