Difference between revisions of "Gimp"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(dl for windows installer has moved -> ftp ; small modification for 2.8.8)
(Removed long outdated GIMP versions. Updated GIMP Help for 2.8. Fixed version number in uninstaller note. Is GIMP 2.6 Help Browser Fix necessary for 2.8?)
Line 3: Line 3:
 
== GIMP 2.8 ==
 
== GIMP 2.8 ==
  
Note that in 2.820, the uninstaller unins000.exe has been moved from 'setup' to 'uninst', and must be called with /VERYSILENT to run successfully.
+
Note that from GIMP 2.8, the uninstaller unins000.exe has been moved from the 'setup' directory to the 'uninst' directory, and must be called with /VERYSILENT to run successfully.
  
 
<code> DIR= </code> can be removed to allow default directory.  
 
<code> DIR= </code> can be removed to allow default directory.  
Line 29: Line 29:
 
</source>
 
</source>
  
== GIMP 2.6 ==
 
  
=== GIMP ===
+
== GIMP-Help (British English) ==
 
+
/SILENT shows progress, /VERYSILENT is truly silent and has no dialogue boxes at all (running 'gimp.exe /?' reveals all the switches).
+
 
+
The installer often includes a revision number, for example the current revision of the 2.6.10 installer is 1, so the installer filename includes a corresponding '-1' (gimp-2.6.10-i686-setup-1.exe). Be aware of this when upgrading.
+
 
+
<source lang="xml">
+
<package
+
  id="gimp"
+
  name="GNU Image Manipulation Program (GIMP)"
+
  revision="%version%"
+
  reboot="false"
+
  priority="20">
+
 
+
  <variable name="version" value="2.6.11" />
+
 
+
  <check type="uninstall" condition="exists" path="GIMP %version%" />
+
 
+
  <install cmd='"%SOFTWARE%\gimp\gimp-%version%-i686-setup-1.exe" /SILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"' />
+
 
+
  <upgrade cmd='"%SOFTWARE%\gimp\gimp-%version%-i686-setup-1.exe" /SILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"' />
+
 
+
  <remove cmd='"%PROGRAMFILES%\GIMP\setup\unins000.exe" /SILENT /NORESTART' >
+
    <exit code="1" />
+
  </remove>
+
 
+
  <remove cmd='%COMSPEC% /c rmdir /s /q "%PROGRAMFILES%\GIMP"' />
+
</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\etc\gimp\2.0\gimprc"' />
+
 
+
<install cmd='%COMSPEC% /c echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />
+
+
<upgrade cmd='%COMSPEC% /c echo (help-browser web-browser) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />
+
 
+
<upgrade cmd='%COMSPEC% /c echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />
+
</source>
+
 
+
 
+
=== GIMP-Help ===
+
  
 
<source lang="xml">
 
<source lang="xml">
Line 96: Line 49:
  
 
<install
 
<install
cmd="%SOFTWARE%\gimp-help\gimp-help-2-2.6.0-en-setup.exe SP- /SILENT /NORESTART" />
+
cmd="%SOFTWARE%\gimp-help\gimp-help-2-2.8.1-en_GB-setup.exe SP- /SILENT /NORESTART" />
  
<upgrade
+
<upgrade include="install" />
cmd="%SOFTWARE%\gimp-help\gimp-help-2-2.6.0-en-setup.exe SP- /SILENT /NORESTART" />
+
 
 
 
<remove
 
<remove
cmd='cmd /C rmdir /S /Q "%PROGRAMFILES%\GIMP\share\gimp\2.0\help\" '/>
+
cmd='cmd /C rmdir /S /Q "%PROGRAMFILES%\GIMP\share\gimp\2.0\help\en-GB" '/>
 
</package>
 
</package>
  
Line 111: Line 63:
  
  
== GIMP 2.4.6 ==
+
== GIMP 2.6 Help Browser Fix ==
 +
 
 +
This may or may not be necessary in GIMP 2.8. 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 a 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">
 
<source lang="xml">
<package
+
<install cmd='%COMSPEC% /c echo (help-browser web-browser) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />
  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 -->
+
<install cmd='%COMSPEC% /c echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />
 +
 +
<upgrade cmd='%COMSPEC% /c echo (help-browser web-browser) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />
  
  <check type="uninstall" condition="exists" path="GIMP 2.4.6"/>
+
<upgrade cmd='%COMSPEC% /c echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />
 +
</source>
  
  <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: Silent Installers]]
 
[[Category: Inno Setup]]
 
[[Category: Inno Setup]]

Revision as of 12:30, 17 January 2014

These are silent installer entries for GIMP and GIMP Help (available from ftp://ftp.gimp.org/pub/gimp/v2.8/windows/ ).

GIMP 2.8

Note that from GIMP 2.8, the uninstaller unins000.exe has been moved from the 'setup' directory to the 'uninst' directory, and must be called with /VERYSILENT to run successfully.

DIR= can be removed to allow default directory.

<package
  id="gimp"
  name="GNU Image Manipulation Program (GIMP)"
  revision="%version%"
  reboot="false"
  priority="20">

  <variable name="version" value="2.8.8" />

  <check type="uninstall" condition="exists" path="GIMP %version%" />

  <install cmd='"%SOFTWARE%\gimp\gimp-%version%-setup.exe" /SILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"' />

  <upgrade cmd='"%SOFTWARE%\gimp\gimp-%version%-setup.exe" /SILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"' />

  <remove cmd='"%PROGRAMFILES%\GIMP\uninst\unins000.exe" /VERYSILENT /NORESTART' >
    <exit code="1" />
  </remove>
</package>


GIMP-Help (British English)

<package
	id="gimp-help"
	name="The GIMP help files (English)"
	revision="7"
	reboot="false"
	priority="20">

	<depends
		package-id="gimp" />

	<check
		type="file"
		condition="exists"
		path="%PROGRAMFILES%\GIMP\share\gimp\2.0\help\en\index.html" />

	<install
		cmd="%SOFTWARE%\gimp-help\gimp-help-2-2.8.1-en_GB-setup.exe SP- /SILENT /NORESTART" />

	<upgrade include="install" />
			
	<remove
		cmd='cmd /C rmdir /S /Q "%PROGRAMFILES%\GIMP\share\gimp\2.0\help\en-GB" '/>
</package>

GIMP-Help doesn't create an Add/Remove programs entry.


GIMP 2.6 Help Browser Fix

This may or may not be necessary in GIMP 2.8. 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 a 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.

<install cmd='%COMSPEC% /c echo (help-browser web-browser) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />

<install cmd='%COMSPEC% /c echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />
 
<upgrade cmd='%COMSPEC% /c echo (help-browser web-browser) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />

<upgrade cmd='%COMSPEC% /c echo (user-manual-online yes) >> "%PROGRAMFILES%\GIMP\etc\gimp\2.0\gimprc"' />