Difference between revisions of "Scribus"
From WPKG | Open Source Software Deployment and Distribution
(→Scribus: refreshed the page) |
(update to 1.4.1) |
||
Line 4: | Line 4: | ||
===WPKG Package=== | ===WPKG Package=== | ||
<source lang="xml"> | <source lang="xml"> | ||
+ | |||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <!-- OpenSource --> | ||
+ | |||
+ | |||
+ | <packages> | ||
<package | <package | ||
− | id=" | + | id="Scribus" |
name="Scribus" | name="Scribus" | ||
− | revision=" | + | revision="%version%" |
reboot="false" | reboot="false" | ||
− | priority=" | + | priority="50"> |
− | < | + | <variable name="version" value="1.4.1" /> |
− | + | ||
− | + | ||
− | + | ||
− | < | + | <check type="file" condition="exists" path="%PROGRAMFILES%\Scribus\Scribus.exe" /> |
− | + | <check type="uninstall" condition="exists" path="Scribus %version%" /> | |
− | + | ||
− | < | + | |
− | + | ||
− | < | + | <install cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\Scribus\uninst.exe" "%PROGRAMFILES%\Scribus\uninst.exe" /S'/> |
− | + | <install cmd="%SOFTWARE%\scribus\scribus-%version%-windows.exe /S /D=%PROGRAMFILES%\Scribus" /> | |
+ | |||
+ | <downgrade include="install" /> | ||
+ | |||
+ | <upgrade include="install" /> | ||
+ | |||
+ | <remove cmd="%PROGRAMFILES%\Scribus\uninst.exe /S" /> | ||
</package> | </package> | ||
+ | </packages> | ||
+ | |||
</source> | </source> | ||
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Revision as of 14:59, 18 September 2012
Scribus
Scribus is a free open source Desktop Publishing (DTP) application.
WPKG Package
<?xml version="1.0" encoding="UTF-8"?>
<!-- OpenSource -->
<packages>
<package
id="Scribus"
name="Scribus"
revision="%version%"
reboot="false"
priority="50">
<variable name="version" value="1.4.1" />
<check type="file" condition="exists" path="%PROGRAMFILES%\Scribus\Scribus.exe" />
<check type="uninstall" condition="exists" path="Scribus %version%" />
<install cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\Scribus\uninst.exe" "%PROGRAMFILES%\Scribus\uninst.exe" /S'/>
<install cmd="%SOFTWARE%\scribus\scribus-%version%-windows.exe /S /D=%PROGRAMFILES%\Scribus" />
<downgrade include="install" />
<upgrade include="install" />
<remove cmd="%PROGRAMFILES%\Scribus\uninst.exe /S" />
</package>
</packages>