7-Zip WPKG Package for 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="7zip"
name="Gestionnaire d'archives 7-Zip"
revision="3"
reboot="false"
priority="10">
<variable architecture='x86' name="MSI" value="7z920.msi" />
<variable architecture='x64' name="MSI" value="7z920-x64.msi" />
<variable name="PKG_VERSION" value="9.20"/>
<check type="uninstall" condition="versiongreaterorequal" path="7-Zip .+" value="%PKG_VERSION%" />
<!-- First Uninstall the .exe -->
<install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\7-Zip\Uninstall.exe" "%PROGRAMFILES%\7-Zip\Uninstall.exe" /S' />
<install cmd='msiexec /i "%SOFTWARE%\7zip\%MSI%" /qn /norestart' />
<install cmd='%COMSPEC% /C "%SOFTWARE%\7zip\reg.bat" 1>NUL 2>NUL' />
<upgrade include="install" />
<downgrade include="install" />
<remove cmd='msiexec /x "%SOFTWARE%\7zip\%MSI%" /qn' />
</package>
</packages>