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.

26 lines
1.0 KiB

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