[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 21:32:39 CEST

Stefan Küng wrote:
> Molle Bestefich wrote:
> > "HKCU/Software/TortoiseSVN/CurrentVersion"
> >
> > Contains the current version of TortoiseSVN.
> >
> > Since TortoiseSVN is installed in C:\Program Files once and for all
> > (there's no option to install on a per-user base), this key should
> > reside in HKLM instead of HKCU.
> You can install TSVN per user if you really want to. If you're an Admin,
> then simply passing the correct params to msiexec.exe will do. If you're
> not an admin, then TSVN installs per user automatically. But of course,
> you only can install TSVN as non-admin if (and only if) both MFC and the
> C-runtime libs are already installed on the system.


> So no, this key should *not* reside in HKLM. Most of all, because this
> key is created/updated on the first start of TortoiseProc.exe and not by
> the installer itself.

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.

> > "HKLM/Software/TortoiseSVN/_xxx_Icon"
> >
> > Which icons to use is a matter of user preference.
> > Therefore these keys should reside in HKCU, not HKLM.
> 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.

Ok, cool nuff.

To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun May 28 21:32:52 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.