Changes

Inkscape

No change in size, 15:48, 6 August 2010
tidyup
the [http://www.inkscape.org/ Inkscape] installer accepts is 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 vector graphics 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): eIt is free software.g am, es, es_MX as in Inkscape supported
here=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 an example package file:installer complains it won't install into a non-empty directory).
<source lang="xml">
priority="10">
<check type="uninstall" condition="exists" path="Inkscape 0.47" />  <install cmd='"%SOFTWARE%\graphicsinkscape\Inkscape-0.47-3.exe" /S /GTK=OFF' />  <!-- Upgrade failsupgrade cmd='cmd /c "IF EXIST "%PROGRAMFILES%\Inkscape\inkscape. exe" "%PROGRAMFILES%\Inkscape\Uninstall first --.exe"" /S' />  <upgrade cmd='cmd /c "IF EXIST "%PROGRAMFILES%\Inkscape\uninstallnul.exeext" rmdir "%PROGRAMFILES%\Inkscape" /Ss /q"' />  <upgrade cmd='"%SOFTWARE%\graphicsinkscape\Inkscape-0.47-3.exe" /S /GTK" > <exit code=OFF' "2" /> </upgrade> 
<remove cmd='"%PROGRAMFILES%\Inkscape\uninstall.exe" /S' />
</source>
You can fetch the installer [http://downloads.sourceforge.net/inkscape/Inkscape-0.46.win32.exe from sourceforge].
A strange thing... I had to add the following command to get the upgrade work ..==Installer Switches for Version 0.47==
<source lang="xml"><!-- Upgrade fails. Uninstall first and remove inkscape's directory--> <upgrade cmd=You can get a list of these by running '"%PROGRAMFILES%\Inkscape\uninstall.exe" /S' /> <upgrade cmd='%comspec% /c rd /S /Q "%PROGRAMFILES%\Inkscape"' /> <upgrade cmd='"%SOFTWARE%\graphics\Inkscape-0.47-3.exe" /S /GTK=OFF?' /></source>.
* /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
[[Category:Silent Installers]]
577
edits