Windows installer requires admin access - shouldn't

Bug #284155 reported by Ian MacLean
8
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

The standalone windows installer fails if the logged in user does not have Administrator entitlements.
Note that although a default windows install will give users these permissions - in a properly administered ( ie secure ) windows environment, users will *not* have local admin entitlements and in most cases installers should not require them for install. In fact earlier versions of the bzr installer did not require them - which is why I'm stuck on version 1.63.

I know that TortioseBzr was recently bundled and its quite likely that this does require admin access - due to the shell extension it installs. However the installer should still have the option of installing the other components.

I realize I can work around this using the Python installer - and have done so. However not everyone will have python installed already.

This is a common issue with windows installer packages - this is the 3rd bug report I've logged this week against an open source project that needlessly requires admin access. Sigh - the joys of working in a corporate environment where I don't have full control of my dev box.

thanks,

Ian

Revision history for this message
Mark Hammond (mhammond) wrote :

What OS are you using? We need to take Vista into account here, and admin access is required to install into "\Program Files" there. Shell extensions are capable of being registered per-user (ie, without touching HKLM), but before we can do that, we need to arrange for it to be *installed* somewhere. We probably need to tweak the installer to handle the non-admin case and install everything into the user's personal "program files" directory, then tweak tortoise to register in HKCU in that case.

Revision history for this message
Ian MacLean (ian-maclean) wrote :

Hey Mark,
How's it going ? Its been a while since ActiveState :)

Anyway - I'm on XP rather than Vista. Agree with your diagnosis. Even on XP I tend to install a lot of stuff to a c:\my-apps directory.

I don't think there is any kind of standard location for this although sounds like it will be a common issue for installing on Vista.

Maybe "C:\Documents and Settings\<user>\Program Files" ? although its a bit clunky.

Ian

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: packaging win32
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.