[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: registry key issues

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2006-05-28 22:05:18 CEST

Stefan Küng wrote:
> Molle Bestefich wrote:
> > In that case, what is this key:
> > "HKLM/Software/TortoiseSVN/Directory" =
> > "C:\Program Files\TortoiseSVN"
> >
> > doing in HKLM?
> >
> > Seeing as TSVN can be installed per user, this one should surely
> > reside in HKCU, right?
> >
> > Same goes for
> > "HKLM/Software/TortoiseSVN/ProcPath" =
> > "C:\Program Files\TortoiseSVN\bub\TortoiseProc.exe"
> >
> > and all the other _xxx_Path values in TortoiseSVN's HKLM.
> >
> > Problem scenario: User one installs TSVN into one of his local
> > directories, user two installs TSVN the same way, user one can no
> > longer run TSVN because the above keys in HKLM points to a folder
> > private to user two.
> Even if you install TSVN per user, that still means that if another user
> installs it too, that user will just *activate* the already existing
> installation of TSVN for himself.

Ah, so there is never more than one installation.

In that case, CurrentVersion is incorrectly stored in HKCU, as I first said.

> Do you have any problems with registry keys?
> Or why do you suddenly check every single key TSVN creates?

I needed to change a particular key, and I fell over some inconsistencies.

It's not like the skies are falling or anything. If we can agree
they're inconsistencies then I can just file a low-priority issue.

It's not like there's a lot of workstations out there shared by
multiple users, anyway. (And those there are probably have their own
problems, eg. "in which user context does TSVNCache run".)

> > > No. Those are the default icons to use. Per-user settings go
> > > automatically into HKCU for each user. That means, if the icons are set
> > > in HKCU, then those are used. If in HKCU is nothing set, then those in
> > > HKLM are used.
> >
> > Shouldn't default settings reside in the program itself instead of HKLM?
> >
> > I can envision a scenario where TSVN is installed per-user, but the
> > user does not have write access to HKLM/Software/... Does TSVN icon
> > overlays then stop working?
> No, because the user only needs read access to those registry keys.

Only needs read access to perform the initial installation of TSVN?
I think there's been a misunderstanding, that can never be true.

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun May 28 22:05:28 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.