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.

26 lines
1.0 KiB

13 years ago
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="7zip"
name="Gestionnaire d'archives 7-Zip"
8 years ago
revision="10"
13 years ago
reboot="false"
priority="10">
8 years ago
<variable architecture='x86' name="MSI" value="7z1604.msi" />
<variable architecture='x64' name="MSI" value="7z1604-x64.msi" />
<variable name="PKG_VERSION" value="16.04"/>
13 years ago
<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>