(Open Source) GIMP

Version: 2
Views: 27.2k  |  Created: 07/10/2008

Average Rating: 0
GIMP has 1 inventory records, 2 Questions, 1 Blogs and 3 links. Please help add to this by sharing more!

Deployment Tips (12)

Most Common Setup Type
Legacy Setup with command line support
Average Package Difficulty Rating
Rated 1 / 5 (Very Easy) based on 3 ratings
Most Commonly Reported Deployment Method
Vendor Provided Command Line (switch driven)
or cancel
125
Note
To repackage as an MSI, download the Windows installer available at http://www.gimp.org/downloads/ and prep Wise Package Studio to do a SetupCapture.

Run the installation, making whatever setup choices make sense for your site. For mine, I took the defaults except for not installing a desktop icon or quick launch icon and associating JPEG files with it.

At the end of the install, launch The GIMP. If you like, turn off the tips at startup. Exit The GIMP.

Continue the SetupCapture process.

Exclude any files that are in the installing user ID's "Documents and Settings" folder. Exclude any other files picked up that aren't in the GIMP-2.0 directory.

Exclude any Registry keys you pick up that aren't in HKCR or HKLM\SOFTWARE.

Exclude any INI files picked up.

Exclude shortcuts for Readme (optional) and Uninstall (strongly recommended).

Finish the SetupCapture.

Edit the WSI in Windows Installer Editor.

Under Product Details, enter the correct GIMP version.

Under Add/Remove Programs, check the "Hide Modify Button" option. If you want a nice icon to appear in the Add/Remove Programs Control Panel, click the "Browse" button next to the "Display Icon" option. Browse to C:\Program Files\GIMP-2.0\bin and select gimp2.4.exe (or the now-current version number). Select Icon #1. Click OK.

Fill in any of the Support Information you like with appropriate data.

Compile the WSI into an MSI.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
10
Command Line
For GIMP 2.6.6 on Windows I was able to get a silent install with no desktop icon using the following:

gimp-2.6.6-i686-setup.exe /VERYSILENT /NORESTART /MERGETASKS="!desktopicon"

The /VERYSILENT switch worked better than just the /SILENT switch and /NORESTART didn't seem to be necessary but I left it in for good measure.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
  • Thanks this works.
Please log in to comment
6
Command Line
auto-install :
GIMP_2_6_7_fr.exe /silent /norestart /SUPPRESSMSGBOXES

silent install
GIMP_2_6_7_fr.exe /verysilent /norestart /SUPPRESSMSGBOXES

uninstall :
"C:\Program Files\GIMP-2.0\setup\unins000.exe" /silent /norestart /SUPPRESSMSGBOXES
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Note
I downloaded the separate parts that make up and support the GIMP here: http://www.gimp.org/windows/

The gimp-help package will bomb out if gimp already is not installed, so make sure you install gimp-help after gimp and gtk.

gtk+-2.8.18-setup-1.exe /SP- /SILENT /NORESTART
gimp-2.2.13-i586-setup-1.exe /SP- /SILENT /NORESTART
gimp-help-2-0.10-setup.exe /SP- /SILENT /NORESTART
gimp-gap-2.2.0-setup.exe /SP- /SILENT /NORESTART

Run one of the first two EXEs with /? to get the command-line options (amazing that /? is understood by anything other than msiexec these days). The help and animation package EXEs don't understand /?

/NOICONS does not work for the GTK+ runtime, so you'll have to move its program group as a separate step if you don't want to see it. It doesn't like /GROUP="Folder Name" either.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Note
--== GIMP 2.6.6 (Windows) ==--

GIMP Help: if you would rather have the application default to using the web-based help rather than install the often out-of-date help installation package you can edit the following file and deliver it with your package:

%ProgramFiles%\GIMP-2.0\etc\gimp\2.0\gimprc

I edited with WordPad because by default the line breaks are not CR/LF and Notepad does not display it correctly.

There are two lines to add / change.
1 - look for "(help-browser" without the quotes (around line 620) and if the only place this appears is with a hash '#' symbol at the front then this is a comment. Add the following line after the comment (or edit the line if it exists as not a comment):
(help-browser web-browser)

2 - Look for "(user-manual-online" without the quotes (around line 634) and if the only place this appears is with a hash '#' symbol at the front then this is a comment. Add the following line after the comment (or edit the line if it exists as not a comment):
(user-manual-online yes)

These two settings mean that GIMP will not complain the first time you access help and it finds it is not installed and will not complain about the absence of the GIMP browser component since it will use the computer's default browser.

This is not setting this as a policy, only a default. All the settings in the gimprc file can be overridden by the user from Edit / Preferences. Once the user uses GIMP for the first time, their own copy of gimprc is created under %USERPROFILE%\.gimp-2.6\ as soon as they set or change any preferences of their own and close GIMP.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
3
Command Line
For GIMP 2.6.4 (i686) straight from the .exe you need to specify the install directory for a silent install (no idea why), eg:

gimp-2.6.4-i686-setup.exe /SILENT /NORESTART /DIR="C:\Program Files\GIMP"

And don't try %ProgramFiles% in the install path - this doesn't seem to be handled very well.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
3
Command Line

GIMP 2.8.2 unattended install. Works on w7 32- and 64-bit. Sample batch file:

@echo off
REM  Installs GIMP
cls
echo ----------------------------------------------------
echo .
echo .
echo .      Installing/Updating GIMP - Please Wait
echo .
echo .
echo ----------------------------------------------------
REM Exit the application
taskkill.exe /F /FI "IMAGENAME eq gimp-2.8.exe" >nul

REM Uninstall existing GIMP version, delete folder
if exist "%ProgramFiles%\GIMP 2\uninst\unins000.exe" "%ProgramFiles%\GIMP 2\uninst\unins000.exe" /VERYSILENT
:: Wait for 20 seconds
ping -n 40 127.0.0.1 > NUL
if exist "%ProgramFiles%\GIMP 2\" rd "%ProgramFiles%\GIMP 2\" /Q /S

REM Install new version
"%~dp0gimp-2.8.2-setup.exe" /VERYSILENT /NORESTART /DIR="%PROGRAMFILES%\GIMP"

REM Return exit code to SCCM
exit /B %EXIT_CODE%

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
2
Command Line

I deployed Gimp 2.8.10 with SCCM with this command line:

gimp-2.8.10-setup.exe /VERYSILENT /NORESTART

Uninstall command line is :

%Program Files%\GIMP 2\uninst\unins000.exe

Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Vendor Provided Command Line (switch driven)
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Virtualization
Successfully sequenced Gimp 2.6.11

Here the recipe:

Application information
Application name: Gimp
Application version: 2.6.11
Application vendor: The Gimp Team
Application language: german incl. german help


Recipe information
Recipe created by: Kollenbach Ch.
Operating System version: Win XP x86
Operating System language: enu
Sequencer version: 4.6


Sequencing environment preparation information:
At first you have to download the Gimp and the Help File from http://www.gimp.org.
Then you have to create a MSI package with an MSI creation tool (such as Macromedia Adminstudio).
Do to this:
1. Install a clean machine (-> WS01)
2. Install the Gimp and the Help File on WS01
a. During install uncheck the File Associations
b. Do not launch Gimp after install.
3. Open the Adminstudio and create a new MSI Package.
4. Edit the file “C:\Program Files\GIMP-2.0\lib\gimp\2.0\environ\default.env” with a txt-editor (e.g. Notepad)
Delete the Path entry.
Save the File
5. Put all the files from the InstallDir (e.g.: C:\Program Files\Gimp-2.0) to the MSI package (without the sub-dir “C:\Program Files\Gimp-2.0\setup” – these are the uninstall files. You do not need them, because you are creating a own msi package and the uninstall-handling does the msi installer itself.)
6. Within the section “INI File changes” link the “default.env” file to it.
a. Create a new Entry: “Path” (within Adminstudio you have to create a “section” first).
b. Within the properties: Change “Action” to “Replace old Value”
c. Within the properties: Change “Data Value” to “[INSTALLDIR]bin
(If you install Gimp to e.g: “C:\Gimp123” this results in “C:\Gimp123\bin”).
7. Within the section “Environment Variables” create a new Environment Variable GIMP2_DIRECTORY
Properties of the Environment Variable are:
a. Value [CommonAppDataFolder]Gimp
b. On Install Create
c. Placement Replace
d. On Uninstall Remove
e. Type System
Explanation:
If you start Gimp with the default installation the first time, gimp creates a “.gimp2.6” Directory (Yes – Dir-name with a Dot !! as the first letter) within the UserProfile.
Because Windows can’t handle such Dot-Directories very good we have to set an environment variable (see gimprc file).

If you do the config as in point 7, gimp creates the dir within the “C:\Documents and Settings\All Users\Application Data\Gimp”.

8. Put all the DLL’s from the directory “C:\Program Files\Gimp-2.0\bin” to the SYSTEM Directory to the MSI Package.
If you don’t do that you will get an error like “cant find libgimpui-2.0-0.dll” after starting the sequenced app on a client workstation.
9. Do some settings like Manufacturer, SupportSite, Icon,Shortcuts etc)
10. Save the MSI Package.

Sequencing instructions:
Install App to J:\Tools\Graphics\Gimp (we use the J:\Drive instead of Q:\)

Installation phase:
Install the app to j:\tools\graphics\gimp

Configure Application phase (Shortcuts):
Change the Gimp Version to 2.6.11

Application launch phase:
Launch the App.
Note: Launching takes several time
Close the App

Post-wizards steps:
Delete all the files of CSIDL_COMMON_APPDATA directory within the tab “Virtual File System”. (these files are the files described in point 7, they will be copied/created at the 1st start of the App on a client workstation.

Other things to note:
none
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Virtualization
Successfully sequenced Gimp 2.6.11

Here the recipe:

Application information
Application name: Gimp
Application version: 2.6.11
Application vendor: The Gimp Team
Application language: german incl. german help


Recipe information
Recipe created by: Kollenbach Ch.
Operating System version: Win XP x86
Operating System language: enu
Sequencer version: 4.6


Sequencing environment preparation information:
At first you have to download the Gimp and the Help File from http://www.gimp.org.
Then you have to create a MSI package with an MSI creation tool (such as Macromedia Adminstudio).
Do to this:
1. Install a clean machine (-> WS01)
2. Install the Gimp and the Help File on WS01
a. During install uncheck the File Associations
b. Do not launch Gimp after install.
3. Open the Adminstudio and create a new MSI Package.
4. Edit the file “C:\Program Files\GIMP-2.0\lib\gimp\2.0\environ\default.env” with a txt-editor (e.g. Notepad)
Delete the Path entry.
Save the File
5. Put all the files from the InstallDir (e.g.: C:\Program Files\Gimp-2.0) to the MSI package (without the sub-dir “C:\Program Files\Gimp-2.0\setup” – these are the uninstall files. You do not need them, because you are creating a own msi package and the uninstall-handling does the msi installer itself.)
6. Within the section “INI File changes” link the “default.env” file to it.
a. Create a new Entry: “Path” (within Adminstudio you have to create a “section” first).
b. Within the properties: Change “Action” to “Replace old Value”
c. Within the properties: Change “Data Value” to “[INSTALLDIR]bin
(If you install Gimp to e.g: “C:\Gimp123” this results in “C:\Gimp123\bin”).
7. Within the section “Environment Variables” create a new Environment Variable GIMP2_DIRECTORY
Properties of the Environment Variable are:
a. Value [CommonAppDataFolder]Gimp
b. On Install Create
c. Placement Replace
d. On Uninstall Remove
e. Type System
Explanation:
If you start Gimp with the default installation the first time, gimp creates a “.gimp2.6” Directory (Yes – Dir-name with a Dot !! as the first letter) within the UserProfile.
Because Windows can’t handle such Dot-Directories very good we have to set an environment variable (see gimprc file).

If you do the config as in point 7, gimp creates the dir within the “C:\Documents and Settings\All Users\Application Data\Gimp”.

8. Put all the DLL’s from the directory “C:\Program Files\Gimp-2.0\bin” to the SYSTEM Directory to the MSI Package.
If you don’t do that you will get an error like “cant find libgimpui-2.0-0.dll” after starting the sequenced app on a client workstation.
9. Do some settings like Manufacturer, SupportSite, Icon,Shortcuts etc)
10. Save the MSI Package.

Sequencing instructions:
Install App to J:\Tools\Graphics\Gimp (we use the J:\Drive instead of Q:\)

Installation phase:
Install the app to j:\tools\graphics\gimp

Configure Application phase (Shortcuts):
Change the Gimp Version to 2.6.11

Application launch phase:
Launch the App.
Note: Launching takes several time
Close the App

Post-wizards steps:
Delete all the files of CSIDL_COMMON_APPDATA directory within the tab “Virtual File System”. (these files are the files described in point 7, they will be copied/created at the 1st start of the App on a client workstation.

Other things to note:
none
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Command Line

GIMP 2.8.0 Silent install

gimp-2.8.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

Pulled from USSF and tested in SCCM 2007 R2

Setup package type Inno Setup Package

Verified install on W7 x64 sp1 enterprise

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

GIMP

Version

2

Questions & Answers (2)

Questions & Answers related to (Open Source) GIMP

3
ANSWERS
4
ANSWERS

Blogs (1)

Blog posts related to (Open Source) GIMP

blog

Reviews (0)

Reviews related to (Open Source) GIMP