This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: non-admin install may fail (win xp pro)
Type: Stage:
Components: Installation Versions: Python 2.5
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, mhammond, pvrijlandt
Priority: normal Keywords:

Created on 2005-07-05 18:31 by pvrijlandt, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pv_python.zip pvrijlandt, 2005-07-07 17:43 zipped logfile
python.log mhammond, 2008-04-07 14:50 log after selecting "just for me" on vista
Messages (11)
msg25724 - (view) Author: Patrick Vrijlandt (pvrijlandt) Date: 2005-07-05 18:31
concerns: python 2.4.1 msi

When trying to do a non-admin install on Windows XP 
Pro, the installer probably tries to make shortcuts in a 
non-accessible directory.

The status-window is displaying: creating shortcuts

A messagebox appears and says the installer lacks 
priveliges on a certain directory: please try again as an 
administrator, (which i am obviously not).

The cancel-option now leads to a rollback of the 
installation.
msg25725 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2005-07-06 05:16
Logged In: YES 
user_id=21627

It works fine for me...

Can you please install with

msiexec /i python-2.4.1.msi /l*v python.log

and attach a zipped version of python.log?
msg25726 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2005-08-06 12:47
Logged In: YES 
user_id=21627

Closed because of lack of response.
msg25727 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2005-08-06 12:48
Logged In: YES 
user_id=21627

Oops, missed the attachment.
msg25728 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2005-08-06 12:58
Logged In: YES 
user_id=21627

According to the log file, there was an error accessing

\\bw2\snelkop\2003\info\programma's\Python 2.4

How come your Menu folder is on a network drive? What is the
ACL on that folder?
msg25729 - (view) Author: Patrick Vrijlandt (pvrijlandt) Date: 2005-08-11 19:11
Logged In: YES 
user_id=1307917

These are difficult questions for me.
I don't know if my ACL (access control list?) is on that folder.

I'm almost certain the sysadmins did this for us. They try to 
get as much userfiles as possible on the network. They are 
also pretty restrictive (and understaffed) Backup is done only 
for network drives. The advantage is that I can access my 
user files from different computers (without using a server OS)

My start menu is almost empty. All programs we are able to 
use, are accessible through a shortcut on the desktop. I 
probably can read the startmenu folder but not write it. 

"My documents" refers to a networked directory. I have full 
access there and can run programs from there.

I suppose a patch would be to make more configuration 
options in the installer (Do you want to make shortcuts? Do 
you want to make them here?). I would make shortcuts on 
my desktop. (Yes, I can write there. Files sometimes go to 
c:\windows\desktop, and sometimes to a networked drive)

What would be needed to run python (and pythonwin) from a 
memory-stick or cd-rom? If that would work, my problem 
would be solved too. Even better: one installation would make 
python accessible from any computer on our network I would 
login to.

BTW: some drives (like C:) are hidden from explorer. I cannot 
do start -> run (but I can make a shortcut to cmd on my 
desktop, and run from there). I'm not sure I can get to regedit 
and/or do anything useful there.
msg25730 - (view) Author: Patrick Vrijlandt (pvrijlandt) Date: 2005-08-11 19:14
Logged In: YES 
user_id=1307917

These are difficult questions for me.
I don't know if my ACL (access control list?) is on that folder.

I'm almost certain the sysadmins did this for us. They try to 
get as much userfiles as possible on the network. They are 
also pretty restrictive (and understaffed) Backup is done only 
for network drives. The advantage is that I can access my 
user files from different computers (without using a server OS)

My start menu is almost empty. All programs we are able to 
use, are accessible through a shortcut on the desktop. I 
probably can read the startmenu folder but not write it. 

"My documents" refers to a networked directory. I have full 
access there and can run programs from there.

I suppose a patch would be to make more configuration 
options in the installer (Do you want to make shortcuts? Do 
you want to make them here?). I would make shortcuts on 
my desktop. (Yes, I can write there. Files sometimes go to 
c:\windows\desktop, and sometimes to a networked drive)

What would be needed to run python (and pythonwin) from a 
memory-stick or cd-rom? If that would work, my problem 
would be solved too. Even better: one installation would make 
python accessible from any computer on our network I would 
login to.

BTW: some drives (like C:) are hidden from explorer. I cannot 
do start -> run (but I can make a shortcut to cmd on my 
desktop, and run from there). I'm not sure I can get to regedit 
and/or do anything useful there.
msg25731 - (view) Author: Patrick Vrijlandt (pvrijlandt) Date: 2006-10-02 21:48
Logged In: YES 
user_id=1307917

This bug still exists with 2.5

As a workaround, I found out that I could install for all 
users.
msg65074 - (view) Author: Mark Hammond (mhammond) * (Python committer) Date: 2008-04-07 14:50
I can repro this too using python-2.6a2.msi - after selecting "just for
me" on XP running as a non-admin user, I see an error message regarding
permissions.  On vista, I get an elevation prompt (and if I hit "allow",
installation proceeds as if I had selected 'for all users' - ie,
HKLM\Python is written, rather than HKCU, shortcuts are written to "all
users" folder, uninstall requires elevation)

I'm attaching the log after canceling installation at the elevation
prompt under Vista.
msg65106 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-04-07 19:48
> I can repro this too using python-2.6a2.msi - after selecting "just for
> me" on XP running as a non-admin user, I see an error message regarding
> permissions.

I think this is mixing up entirely unrelated issues. 2.6a2 is known to
require admin privileges; see the caveat on the release page.
msg65114 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-04-07 20:10
I'm closing this as "won't fix". I don't really see a way to support
this kind of setup (i.e. the start menu is on a network drive to which
the installer service cannot write).
History
Date User Action Args
2022-04-11 14:56:12adminsetgithub: 42163
2008-04-07 20:10:12loewissetstatus: open -> closed
resolution: wont fix
messages: + msg65114
2008-04-07 19:48:47loewissetmessages: + msg65106
2008-04-07 14:50:06mhammondsetfiles: + python.log
nosy: + mhammond
messages: + msg65074
2005-07-05 18:31:26pvrijlandtcreate