Difference between revisions of "Inkscape"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(Add /S switch to remove cmd. Fix upgrade. Bump inkscape version.)
Line 16: Line 16:
 
  /[locale code]=(OFF/ON): e.g am, es, es_MX as in Inkscape supported
 
  /[locale code]=(OFF/ON): e.g am, es, es_MX as in Inkscape supported
  
here's an example package file (<tt>remove</tt> (the uninstaller) is not yet tested):
+
here's an example package file:
  
 
<source lang="xml">
 
<source lang="xml">
Line 28: Line 28:
 
     priority="10">
 
     priority="10">
 
   
 
   
  <check type="uninstall" condition="exists" path="Inkscape 0.45.1" />  
+
    <check type="uninstall" condition="exists" path="Inkscape 0.46" />
   <install cmd='"%SOFTWARE%\inkscape\Inkscape-0.45.1-1.win32.exe" /S /GTK=OFF' />
+
   <install cmd='"%SOFTWARE%\graphics\Inkscape-0.46.win32.exe" /S /GTK=OFF' />
   <upgrade cmd='"%SOFTWARE%\inkscape\Inkscape-0.45.1-1.win32.exe" /S /GTK=OFF' />
+
<!-- Upgrade fails. Uninstall first -->
   <remove cmd='"%PROGRAMFILES%\Inkscape\uninstall\uninst.exe"' />
+
  <upgrade cmd='"%PROGRAMFILES%\Inkscape\uninstall.exe" /S' />
 +
   <upgrade cmd='"%SOFTWARE%\graphics\Inkscape-0.46.win32.exe" /S /GTK=OFF' />
 +
   <remove cmd='"%PROGRAMFILES%\Inkscape\uninstall.exe" /S' />
 
   
 
   
 
   </package>
 
   </package>
Line 37: Line 39:
 
</source>
 
</source>
  
You can fetch the installer [http://downloads.sourceforge.net/inkscape/Inkscape-0.45.1-1.win32.exe from sourceforge].
+
You can fetch the installer [http://downloads.sourceforge.net/inkscape/Inkscape-0.46.win32.exe from sourceforge].
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 02:07, 17 July 2008

the Inkscape installer accepts a number of options (extracted from installer with /? flag):

/S: silent
/D=(directory): where to install inkscape
/GTK=(OFF/ON): GTK+ Runtime environment
/SHORTCUTS=(OFF/ON): shortcuts to start inkscape
/ALLUSER=(OFF/ON): for all users on the computer
/DESKTOP=(OFF/ON): Desktop icon
/QUICKLAUNCH=(OFF/ON): quick launch icon
/SVGEDITOR=(OFF/ON): default SVG editor
/CONTEXTMENUE=(OFF/ON): context menue integration
/PREFERENCES=(OFF/ON): delete users preference files
/ADDFILES=(OFF/ON): additional files
/EXAMPLES=(OFF/ON): examples
/TUTORIALS=(OFF/ON): tutorials
/LANGUAGES=(OFF/ON): translated menues, examples, etc.
/[locale code]=(OFF/ON): e.g am, es, es_MX as in Inkscape supported

here's an example package file:

<?xml version="1.0" encoding="UTF-8"?>
 <packages>
  <package
     id="inkscape"
     name="Inkscape"
     revision="04511"
     reboot="false"
     priority="10">
 
    <check type="uninstall" condition="exists" path="Inkscape 0.46" />
   <install cmd='"%SOFTWARE%\graphics\Inkscape-0.46.win32.exe" /S /GTK=OFF' />
<!-- Upgrade fails. Uninstall first -->
   <upgrade cmd='"%PROGRAMFILES%\Inkscape\uninstall.exe" /S' />
   <upgrade cmd='"%SOFTWARE%\graphics\Inkscape-0.46.win32.exe" /S /GTK=OFF' />
   <remove cmd='"%PROGRAMFILES%\Inkscape\uninstall.exe" /S' />
 
  </package>
</packages>

You can fetch the installer from sourceforge.