Changes

Inkscape

587 bytes added, 16:31, 7 September 2010
Update for 0.48 and clean up a little
[http://www.inkscape.org/ Inkscape] is a vector graphics editor. It is free software.
=Version = Inkscape 0.4748 ==
==WPKG Package for Version This version cleans up properly after uninstall, so removing the install directory isn't required. Note that although the advertised version is 0.47==To upgrade Inkscape48, you need to uninstall the previous actual version is 0.48.0 and remove the program directory (the uninstall leaves uninst.exe then new version's installer complains it won't install into file has a non-empty directory)number appended to it.
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?> <packages> <package id="inkscape" name="Inkscape" revision="047%version%" reboot="false" priority="1050"> <variable name="version" value="0.48.0" /> <check type="uninstall" condition="exists" path="Inkscape 0.47%version%" />
<install cmd='"%SOFTWARE%\apps\inkscape\Inkscape-0.47%version%-31.exe" /S /GTK=OFF' />
<upgrade cmd='cmd /c "IF EXIST "%PROGRAMFILESSOFTWARE%\Inkscapeapps\inkscape.exe" "\Inkscape-%PROGRAMFILESversion%\Inkscape\Uninstall-1.exe"" /S' />
<upgrade remove cmd='cmd /c "IF EXIST "%PROGRAMFILES%\Inkscape\nuluninstall.ext" rmdir "%PROGRAMFILES%\Inkscapeexe" /s S' /q"' ></package></source>
<upgrade cmd="%SOFTWARE%\inkscape\= Inkscape-0.47-3.exe /S" > <exit code="2" /> </upgrade>=
<remove cmd='"%PROGRAMFILES%\== WPKG Package ===To upgrade Inkscape\, you need to uninstallthe previous version and remove the program directory (the uninstall leaves uninst.exe" /Sthen new version' /> </package></packages></source>s installer complains it won't install into a non-empty directory).
<source lang="xml">
<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>
</source>
===Installer Switches for Version 0.47===
You can get a list of these by running 'Inkscape-0.47-3.exe the installer with /?'.
* /S: silent
117
edits