Changes

Gimp

578 bytes added, 23:40, 3 September 2010
Update for 2.6.10 and rearrange sections
== GIMP 2.6 ==
<source lang="xml"><?xml version="1.0" encoding="UTF-8"?><packages> <package id="gimp26" Note that the file name="GNU Image Manipulation Program (GIMP)" revision="2608" reboot="false" priority="20"> <check type="uninstall" condition="exists" path="GIMP of the installer for 2.6.810 has an extra "/> <install cmd='-1"%SOFTWARE%\gimp\on the end: gimp-2.6.810-i686-setup-1.exe" /VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"'/> <upgrade cmd='"%SOFTWARE%\gimp\gimp-2.6.8-i686-setup.exe" /VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"'/> <Either remove cmd='"%programfiles%\GIMP\setup\unins000.exe" /VERYSILENT /NORESTART' /> </package></packages></source> Gimp 2.6 for Windows does not come with the Help Browser, however by default Gimp is configured it when you download or remember to use remove it from the Help Browser. To correct this add package definition when the following. <source lang="xml"> <install cmd=next version doesn'"%SOFTWARE%\gimp\gimp26_prefst have it.bat"' /> <upgrade cmd='"%SOFTWARE%\gimp\gimp26_prefs.bat"' /></source> <source lang="dos">REM gimp26_prefs.batecho (help-browser web-browser) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"REM Other defaults can also be defined here. Possible defaults are documented in gimprc.</source> == GIMP 2.4.6 ==
<source lang="xml">
id="gimp"
name="GNU Image Manipulation Program (GIMP)"
revision="2460%version%"
reboot="false"
priority="1020">
<!-- Download: http://downloads.sourceforge.net/gimp-win/gimp-variable name="version" value="2.4.6-i686-setup.exe --10" />
<check type="uninstall" condition="exists" path="GIMP 2.4.6%version%"/>
<install cmd='"%SOFTWARE%\gimp\gimp-2.4.6%version%-i686-setup.exe" /VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP-2.0"'/>
<remove upgrade cmd='"%programfilesSOFTWARE%\GIMPgimp\gimp-%version%-i686-setup\unins000.exe" /VERYSILENT /NORESTART/DIR="%PROGRAMFILES%\GIMP-2.0"' />
<remove cmd='"%PROGRAMFILES%\GIMP-2.0\setup\unins000.exe" /VERYSILENT /NORESTART' >
<exit code="1" />
</remove>
<remove cmd='%COMSPEC% /c rmdir /s /q "%PROGRAMFILES%\GIMP-2.0"' />
</package>
</source>
 
=== Help Browser Fix ===
 
Gimp 2.6 for Windows does not come with the Help Browser. You can either install the Help Browser or change the configuration to use the web browser instead, as shown below. Other defaults can also be defined this way. See the gimprc file for documentation on the available configuration settings.
 
<source lang="xml">
<install cmd='%COMSPEC% /c echo (help-browser web-browser) >> "%PROGRAMFILES%\GIMP-2.0\etc\gimp\2.0\gimprc"' />
<install cmd='%COMSPEC% /c echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP-2.0\etc\gimp\2.0\gimprc"' />
<upgrade cmd='%COMSPEC% /c echo (help-browser web-browser) >> "%PROGRAMFILES%\GIMP-2.0\etc\gimp\2.0\gimprc"' />
<upgrade cmd='%COMSPEC% /c echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP-2.0\etc\gimp\2.0\gimprc"' />
</source>
See also a silent installer and uninstaller for [[GTK2_runtime]].
 
== Older Versions ==
 
=== GIMP 2.4.6 ===
 
<source lang="xml">
<package
id="gimp"
name="GNU Image Manipulation Program (GIMP)"
revision="2460"
reboot="false"
priority="10">
 
<!-- Download: http://downloads.sourceforge.net/gimp-win/gimp-2.4.6-i686-setup.exe -->
 
<check type="uninstall" condition="exists" path="GIMP 2.4.6"/>
 
<install cmd='"%SOFTWARE%\gimp\gimp-2.4.6-i686-setup.exe" /VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"'/>
 
<remove cmd='"%programfiles%\GIMP\setup\unins000.exe" /VERYSILENT /NORESTART' />
 
</package>
</source>
 
[[Category: Silent Installers]]
[[Category: Inno Setup]]
117
edits