|
|
|
@ -2,18 +2,19 @@ |
|
|
|
|
<packages> |
|
|
|
|
<package id="inkscape" |
|
|
|
|
name="Inkscape" |
|
|
|
|
revision="7" |
|
|
|
|
revision="8" |
|
|
|
|
reboot="false" |
|
|
|
|
priority="10"> |
|
|
|
|
<variable name="PKG_VERSION" value="0.91" /> |
|
|
|
|
<variable name="PKG_VERSION" value="0.92.0" /> |
|
|
|
|
<variable architecture="x86" name="OLD_INSTALL_PATH" value="%PROGRAMFILES%\Inkscape" /> |
|
|
|
|
<variable architecture="x64" name="OLD_INSTALL_PATH" value="%PROGRAMFILES(x86)%\Inkscape" /> |
|
|
|
|
<variable architecture="x86" name="MSI" value="%SOFTWARE%\inkscape\Inkscape-%PKG_VERSION%.msi" /> |
|
|
|
|
<variable architecture="x64" name="MSI" value="%SOFTWARE%\inkscape\Inkscape-%PKG_VERSION%-x64.msi" /> |
|
|
|
|
|
|
|
|
|
<check type="uninstall" condition="exists" path="Inkscape %PKG_VERSION%" /> |
|
|
|
|
|
|
|
|
|
<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"' /> |
|
|
|
|
<install cmd='msiexec /qn /i "%MSI%"' /> |
|
|
|
|
<install cmd='%COMSPEC% /C del /q /f "%ALLUSERSPROFILE%\Bureau\Inkscape.lnk"'> |
|
|
|
|
<exit code="0" /> |
|
|
|
|
<exit code="1" /> |
|
|
|
@ -23,15 +24,13 @@ |
|
|
|
|
<exit code="1" /> |
|
|
|
|
</install> |
|
|
|
|
|
|
|
|
|
<upgrade cmd='msiexec /qn /norestart /x{81922150-317E-4BB0-A31D-FF1C14F707C5}' /> |
|
|
|
|
<upgrade include="install" /> |
|
|
|
|
|
|
|
|
|
<downgrade include="install" /> |
|
|
|
|
|
|
|
|
|
<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%-x64.msi"'> |
|
|
|
|
<remove cmd='msiexec /qn /norestart /x "%MSI%"'> |
|
|
|
|
<exit code='any' /> |
|
|
|
|
</remove> |
|
|
|
|
</package> |
|
|
|
|