Difference between revisions of "Scribus"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(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="scribus"
+
     id="Scribus"
 
     name="Scribus"
 
     name="Scribus"
     revision="2"
+
     revision="%version%"
 
     reboot="false"
 
     reboot="false"
     priority="3">
+
     priority="50">
  
     <check
+
     <variable name="version" value="1.4.1" />
        type="file"
+
        condition="exists"
+
        path="%PROGRAMFILES%\Scribus\Scribus.exe" />
+
  
     <install
+
     <check type="file" condition="exists" path="%PROGRAMFILES%\Scribus\Scribus.exe" />
        cmd="%SOFTWARE%\scribus\scribus-1.3.8-win32-install.exe /S /D=%PROGRAMFILES%\Scribus" />
+
     <check type="uninstall" condition="exists" path="Scribus %version%" />
       
+
     <upgrade
+
        cmd="%SOFTWARE%\scribus\scribus-1.3.8-win32-install.exe /S /D=%PROGRAMFILES%\Scribus" />
+
  
     <remove
+
     <install cmd='%COMSPEC% /c if exist "%PROGRAMFILES%\Scribus\uninst.exe" "%PROGRAMFILES%\Scribus\uninst.exe" /S'/>
        cmd='"%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>