Inkscape

From WPKG | Open Source Software Deployment and Distribution
Revision as of 22:57, 15 February 2008 by WPKGSysop (Talk | contribs)

Jump to: navigation, search

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 (remove (the uninstaller) is not yet tested):

<?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.45.1" />   
   <install cmd='"%SOFTWARE%\inkscape\Inkscape-0.45.1-1.win32.exe" /S /GTK=OFF' />
   <upgrade cmd='"%SOFTWARE%\inkscape\Inkscape-0.45.1-1.win32.exe" /S /GTK=OFF' />
   <remove cmd='"%PROGRAMFILES%\Inkscape\uninstall\uninst.exe"' />
 
  </package>
</packages>

You can fetch the installer from sourceforge.