Difference between revisions of "Scribus"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(update to 1.4.1)
(WPKG Package)
Line 1: Line 1:
 
== Scribus ==
 
== Scribus ==
 
[http://www.scribus.net Scribus] is a free open source Desktop Publishing (DTP) application.
 
[http://www.scribus.net Scribus] is a free open source Desktop Publishing (DTP) application.
 +
 +
'''[[Scribus version 1.4.2]]'''  X86 -- X64
 +
 +
<package
 +
    id="scribus"
 +
    name="scribus"
 +
    revision="%version%"
 +
    reboot="false"
 +
    priority="50">
 +
 +
  <variable name="version" value="1.4.2" />
 +
 +
  <check type='logical' condition='or'>
 +
    <check type="file" condition="exists" path="%PROGRAMFILES%\Scribus\Scribus.exe" />
 +
    <check type="uninstall" condition="exists" path="Scribus %version%" />
 +
  </check>
 +
 +
<!-- INSTALL -->
 +
  <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" architecture='x86' />
 +
  <install cmd="%SOFTWARE%\scribus\scribus-%version%-windows-x64.exe /S /D=%PROGRAMFILES%\Scribus" architecture='x64' />
 +
  <!-- Post -->
 +
  <install cmd='"%SOFTWARE%\scribus\post.bat">nul'><exit code="any"/></install>
 +
<!-- UPGRADE -->
 +
  <upgrade include="install" />
 +
 +
<!-- REMOVE -->
 +
  <remove  cmd="%PROGRAMFILES%\Scribus\uninst.exe /S" />
 +
 +
</package>
 +
 +
  
 
===WPKG Package===
 
===WPKG Package===

Revision as of 09:15, 14 May 2013

Scribus

Scribus is a free open source Desktop Publishing (DTP) application.

Scribus version 1.4.2 X86 -- X64

<package

   id="scribus"
   name="scribus"
   revision="%version%"
   reboot="false"
   priority="50">

 <variable name="version" value="1.4.2" />

 <check type='logical' condition='or'>
   <check type="file" condition="exists" path="%PROGRAMFILES%\Scribus\Scribus.exe" />
   <check type="uninstall" condition="exists" path="Scribus %version%" />
 </check>
  <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" architecture='x86' />
  <install cmd="%SOFTWARE%\scribus\scribus-%version%-windows-x64.exe /S /D=%PROGRAMFILES%\Scribus" architecture='x64' />
  <install cmd='"%SOFTWARE%\scribus\post.bat">nul'><exit code="any"/></install>
 <upgrade include="install" />

 <remove  cmd="%PROGRAMFILES%\Scribus\uninst.exe /S" />

</package>


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>