Inkscape
From WPKG | Open Source Software Deployment and Distribution
Revision as of 02:07, 17 July 2008 by Nebyah (Talk | contribs) (Add /S switch to remove cmd. Fix upgrade. Bump inkscape version.)
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.