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.
37 lines
1.6 KiB
37 lines
1.6 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<packages>
|
|
<package id="inkscape"
|
|
name="Inkscape"
|
|
revision="10"
|
|
reboot="false"
|
|
priority="10">
|
|
<variable name="PKG_VERSION" value="0.92.2" />
|
|
<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%-x86.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 cmd='msiexec /qn /i "%MSI%"' />
|
|
<install cmd='%COMSPEC% /C del /q /f "%ALLUSERSPROFILE%\Bureau\Inkscape.lnk"'>
|
|
<exit code="0" />
|
|
<exit code="1" />
|
|
</install>
|
|
<install cmd='%COMSPEC% /C del /q /f "%PUBLIC%\Desktop\Inkscape %PKG_VERSION%.lnk"'>
|
|
<exit code="0" />
|
|
<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 cmd='msiexec /qn /norestart /x "%MSI%"'>
|
|
<exit code='any' />
|
|
</remove>
|
|
</package>
|
|
</packages>
|
|
|