After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 169824 - Installing as non-admin in win32 environment results in missing files in system32\
Installing as non-admin in win32 environment results in missing files in syst...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Windows Installer
2.2.x
Other Windows
: Normal normal
: ---
Assigned To: Jernej Simončič
Jernej Simončič
: 407106 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-03-10 11:13 UTC by Jonathan Fors
Modified: 2008-01-15 12:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Fors 2005-03-10 11:13:51 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
Comment 1 Michael Schumacher 2005-03-10 11:28:38 UTC
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.
Comment 2 Jonathan Fors 2005-03-10 12:40:55 UTC
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?
Comment 3 Michael Schumacher 2005-03-10 13:18:49 UTC
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.
Comment 4 Jernej Simončič 2005-03-10 13:55:45 UTC
The installer currently doesn't modify PATH if the user doesn't have 
administrator privileges. I'll look into this.
Comment 5 Jonathan Fors 2005-03-10 14:13:34 UTC
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.
Comment 6 Jernej Simončič 2005-06-13 12:47:07 UTC
gtk+-2.6.7-setup-2.exe now sets the PATH for current user when the system-wide 
path can't be set.
Comment 7 Tor Lillqvist 2007-02-14 16:08:02 UTC
*** Bug 407106 has been marked as a duplicate of this bug. ***