SumatraPDF 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.

25 lines
1.0 KiB

<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="sumatrapdf"
name="Lecteur de PDF SumatraPDF"
revision="15"
priority="10"
reboot="false">
<variable name="PKG_VERSION" value="3.1.1" />
<variable architecture="x86" name="SETUP" value="SumatraPDF-%PKG_VERSION%-install.exe" />
<variable architecture="x64" name="SETUP" value="SumatraPDF-%PKG_VERSION%-64-install.exe" />
<check type="uninstall" condition="versiongreaterorequal" path="SumatraPDF.*" value="%PKG_VERSION%" />
<install cmd='"%SOFTWARE%\sumatrapdf\SumatraPDF-%PKG_" /S' />
<!-- Remove the x86 variante -->
<upgrade architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\SumatraPDF\uninstall.exe" "%PROGRAMFILES(x86)%\SumatraPDF\uninstall.exe" /S' />
<upgrade include="install" />
<downgrade include="install" />
<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\SumatraPDF\uninstall.exe" "%PROGRAMFILES%\SumatraPDF\uninstall.exe" /S' />
</package>
</packages>