Inkscape

From WPKG | Open Source Software Deployment and Distribution
Revision as of 15:48, 6 August 2010 by Pete (Talk | contribs) (tidyup)

Jump to: navigation, search

Inkscape is a vector graphics editor. It is free software.

Version 0.47

WPKG Package for Version 0.47

To upgrade Inkscape, you need to uninstall the previous version and remove the program directory (the uninstall leaves uninst.exe then new version's installer complains it won't install into a non-empty directory).

<?xml version="1.0" encoding="UTF-8"?>
 <packages>
  <package
     id="inkscape"
     name="Inkscape"
     revision="047"
     reboot="false"
     priority="10">
 
   <check type="uninstall" condition="exists" path="Inkscape 0.47" />

   <install cmd='"%SOFTWARE%\inkscape\Inkscape-0.47-3.exe" /S /GTK=OFF' />

   <upgrade
      cmd='cmd /c "IF EXIST "%PROGRAMFILES%\Inkscape\inkscape.exe" "%PROGRAMFILES%\Inkscape\Uninstall.exe"" /S' />

   <upgrade
      cmd='cmd /c "IF EXIST "%PROGRAMFILES%\Inkscape\nul.ext" rmdir "%PROGRAMFILES%\Inkscape" /s /q"' />

   <upgrade
      cmd="%SOFTWARE%\inkscape\Inkscape-0.47-3.exe /S" >
      <exit
         code="2" />
   </upgrade>

   <remove cmd='"%PROGRAMFILES%\Inkscape\uninstall.exe" /S' />
 
  </package>
</packages>


Installer Switches for Version 0.47

You can get a list of these by running 'Inkscape-0.47-3.exe /?'.

  • /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