Difference between revisions of "Gimp"
(→GIMP-Help (British English)) |
Link2Twenty (Talk | contribs) |
||
Line 4: | Line 4: | ||
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. | 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. | ||
− | |||
− | |||
<source lang="xml"> | <source lang="xml"> | ||
− | <package id="gimp" name="GNU Image Manipulation Program (GIMP)" revision=" | + | <package id="gimp" name="GNU Image Manipulation Program (GIMP)" revision="%version%" reboot="false" priority="6500"> |
<variable name="version" value="2.8.10" /> | <variable name="version" value="2.8.10" /> | ||
+ | <variable name="PKG_DESTINATION" value="%PROGRAMFILES%\GIMP" architecture="x86" /> | ||
+ | <variable name="PKG_DESTINATION" value="%PROGRAMFILES(x86)%\GIMP" architecture="x64" /> | ||
+ | |||
<check type="uninstall" condition="exists" path="GIMP %version%" /> | <check type="uninstall" condition="exists" path="GIMP %version%" /> | ||
− | <install cmd='"%SOFTWARE%\gimp\gimp-%version%-setup.exe" /VERYSILENT /NORESTART | + | <install cmd='"%SOFTWARE%\gimp\gimp-%version%-setup.exe" /VERYSILENT /NORESTART /> |
− | + | ||
<upgrade include="install" /> | <upgrade include="install" /> | ||
− | <remove cmd='"% | + | <remove cmd='"%PKG_DESTINATION%\uninst\unins000.exe" /VERYSILENT /NORESTART'> |
− | + | ||
− | + | ||
− | + | ||
<exit code="1" /> | <exit code="1" /> | ||
</remove> | </remove> |
Revision as of 15:52, 24 July 2015
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.
<package id="gimp" name="GNU Image Manipulation Program (GIMP)" revision="%version%" reboot="false" priority="6500">
<variable name="version" value="2.8.10" />
<variable name="PKG_DESTINATION" value="%PROGRAMFILES%\GIMP" architecture="x86" />
<variable name="PKG_DESTINATION" value="%PROGRAMFILES(x86)%\GIMP" architecture="x64" />
<check type="uninstall" condition="exists" path="GIMP %version%" />
<install cmd='"%SOFTWARE%\gimp\gimp-%version%-setup.exe" /VERYSILENT /NORESTART />
<upgrade include="install" />
<remove cmd='"%PKG_DESTINATION%\uninst\unins000.exe" /VERYSILENT /NORESTART'>
<exit code="1" />
</remove>
</package>
This package has been tested on: XP, VISTA, 7 - both 32 and 64 BIT
GIMP-Help (German language version)
<!-- GIMP Hilfedateien -->
<package id="gimp-help" name="GIMP Hilfe Dateien" revision="2" reboot="false" priority="6400">
<check type="file" condition="exists" path="%PROGRAMFILES%\GIMP\share\gimp\2.0\help\de\index.html" architecture="x86"/>
<check type="file" condition="exists" path="%PROGRAMFILES(x86)%\GIMP\share\gimp\2.0\help\de\index.html" architecture="x64"/>
<depends package-id="gimp" />
<install cmd='"%SOFTWARE%\gimp\gimp-help-2-2.8.1-de-setup.exe" SP- /SILENT /NORESTART '/>
<upgrade cmd='"%SOFTWARE%\gimp\gimp-help-2-2.8.1-de-setup.exe" SP- /SILENT /NORESTART '/>
<remove cmd='cmd /C rmdir /S /Q "%PROGRAMFILES%\GIMP\share\gimp\2.0\help\" ' architecture="x86"/>
<remove cmd='cmd /C rmdir /S /Q "%PROGRAMFILES(x86)%\GIMP\share\gimp\2.0\help\" ' architecture="x64"/>
</package>
Additional Information: -GIMP-Help doesn't create an Add/Remove programs entry. -Tested on Windows XP, VISTA, 7 both 32 and 64 BIT
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"' />