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

38 lines
1.5 KiB

13 years ago
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="scribus"
name="Scribus"
10 years ago
revision="10"
13 years ago
reboot="false"
priority="10">
10 years ago
<variable name="PKG_VERSION" value="1.4.4" />
<variable name="INSTALL_PATH" value="%PROGRAMFILES%\Scribus" />
<variable architecture="x86" name="EXE_PATH" value="%SOFTWARE%\scribus\scribus-%PKG_VERSION%-windows.exe" />
<variable architecture="x64" name="EXE_PATH" value="%SOFTWARE%\scribus\scribus-%PKG_VERSION%-windows-x64.exe" />
13 years ago
<depends package-id="ghostscript" />
<check type="uninstall" condition="versionequalto" path="Scribus.*" value="%PKG_VERSION%" />
13 years ago
<install cmd='"%EXE_PATH%" /S /D=%INSTALL_PATH%' />
13 years ago
<install cmd='%COMSPEC% /C del /f "%ALLUSERSPROFILE%\Bureau\Scribus %PKG_VERSION%.lnk"'>
<exit code="0" />
<exit code="1" />
</install>
<install cmd='%COMSPEC% /C del /f "%PUBLIC%\Desktop\Scribus %PKG_VERSION%.lnk"'>
<exit code="0" />
<exit code="1" />
</install>
<upgrade include="remove" />
<upgrade include="install" />
<downgrade include="upgrade" />
<remove cmd='"%INSTALL_PATH%\uninst.exe" /S _?=%INSTALL_PATH%'/>
<!-- on x64, remove the 32bits version if present -->
<remove architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Scribus\uninst.exe" "%PROGRAMFILES(x86)%\Scribus\uninst.exe" /S _?=%PROGRAMFILES(x86)%\Scribus'/>
13 years ago
</package>
</packages>