GNOME Bugzilla – Bug 169824
Installing as non-admin in win32 environment results in missing files in system32\
Last modified: 2008-01-15 12:49:43 UTC
Please describe the problem: When installing on a non-admin account, GIMP doesn't start because libglib-2.0.0.dll is missing. The solution is for the user to copy the files in C:\Program\Common Files\GTK\2.0\bin to C:\Windows\system32. Steps to reproduce: 1. Login as non-administrator user 2. Install GTK+ 3. Install The GIMP 4. Launch GIMP Actual results: Progam wouldn't launch, complaining about missing DLL files Expected results: Gimp should have started Does this happen every time? Yes Other information: WinXP SP2
You could simply add this directory to the (user) PATH, or the installer could do it in this case. Copying the files to system32 was one of the worst things you could have done, remove them immediately.
Sorry for having to ask a support question here in the bugzilla, but how can I add something to $PATH when I cannot access System Properties in the Control panel? Administrator privileges is required to do that, unless there is a per-user variable list to edit. And why should all my computer-illiterate friends here at school have to edit an environmental vaiable to be able to use GIMP on their computers?
Well, either they own their computers (and thus could become Administrators in order to install GIMP) or there is an Administrator. The Administrator could either install GIMP - it is possible to have GIMP on a network drive, for example - or make sure that environment variables are set correctly, or that there is a correct entry in the AppPaths registry key - the later requires administrative priviledges, too. The installer could try to set the user version of PATH. The possibility that it doesn't - something that Jernej should be able to answer - is the reason why this bug report is still open.
The installer currently doesn't modify PATH if the user doesn't have administrator privileges. I'll look into this.
When talking about my friends in school I meant the workstations they use in school, not their cimputers at home. Our school is heavily computerized and all students have a personal desktop machine in which they are logged in as restricted users. Our admin is fairly positive to GIMP, but he's also very busy so there is no time to setup a network drive. The simpliest is if the user can install GIMP all by him/herself and just use it. There's no need for him/her to install for all the users, sine the machines essentially are used by one person. The GTK+ installation warns about not installing as an admin, but that is no big issue. It also warns about failed registry stuff during installation, but it's just to click the ignore button and everything works as a charm.
gtk+-2.6.7-setup-2.exe now sets the PATH for current user when the system-wide path can't be set.
*** Bug 407106 has been marked as a duplicate of this bug. ***