On Mon, 13 Oct 2008 23:41:31 +0000, "TK Soh" <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 13, 2008 at 6:23 PM, Simon H. <[EMAIL PROTECTED]> wrote:
>> On Mon, 13 Oct 2008 16:04:16 +0000, "TK Soh" <[EMAIL PROTECTED]>
>>> On Mon, Oct 13, 2008 at 1:04 PM, Simon H. <[EMAIL PROTECTED]> wrote:
>>>> On Mon, 13 Oct 2008 13:13:28 +0200, Simon H. <[EMAIL PROTECTED]>
>>>>> On Mon, 13 Oct 2008 12:39:28 +0200, Simon H. <[EMAIL PROTECTED]>
>>>>>> On Mon, 13 Oct 2008 11:46:32 +0200, Simon H. <[EMAIL PROTECTED]>
>>>>>>> On Sat, 11 Oct 2008 04:56:44 +0200, "Peer Sommerlund"
>>>>>>> <[EMAIL PROTECTED]> wrote:
>>>>>>> 2008/10/6 Simon H. <[EMAIL PROTECTED]>
>>>>>>> On Mon, 6 Oct 2008 04:48:04 +0000, "TK Soh" <[EMAIL PROTECTED]>
>>>>>>>> On Thu, Oct 2, 2008 at 1:45 PM, S. Heimberg <[EMAIL PROTECTED]>
>> (Snip)
>>>>>> The missing registry values in HKCR\CLSID for the
>>>>>> TortoiseOverlays.dll are the problem. I copied the TSVN keys
>>>>>> from HKCR\Software\Classes\CLSID
>>>>>> to HKLM\Software\Classes\CLSID. The Icons are here now! The registy
>> file I used for "copying" is appended.
>>>>>> The question which remains: Why were the keys in the wrong place?
>>>>>>
>>>>>> Source of Idea:
>>>>>> en.wikipedia.org/wiki/Windows_Registry#HKEY_CLASSES_ROOT_.28HKCR.29
>>>>>>
>>>>>> Thank a lot for thinking and for your support.
>>>>>> Greetings from a happy Simon H.
>>>>>>
>>>>> The Installer of TortoiseOverlays installes the GUIDs in HKMU (2).
>>>>> This means HKLM for machine installations and HKCU for per-user
>>>>> installations (1). After installing TortoiseHG the keys were in
>>>>> HKLM. Only the installing user saw the overlay icons. After moving
>>>>> them to HGLM the Icons work for all users.
>>>>> Where are the settings selecting a per user or a per machine
>>>>> installations?
>>>>> Is there a switch in the TortoiseHG installer which is set wrong? Or
>>>>> have I done this?
>>>>>
>>>>> Sources:
>>>>> 1 http://wix.sourceforge.net/manual-wix2/wix_xsd_registry.htm
>>>>> 2 <<<snip>>>
>>>>
>>>> Maybe in the call of "msiexec" to install TortoiseOverlays (in 1),
>>>> "ALLUSERS=1" should be appended (see 2).
>>>
>>> I wonder if you can help confirm this by uninstalling the
>>> TortoiseOverlays and clean up the registry keys that you had copied
>>> manually, then reinstall TortoiseOverlays wit ALLUSERS=1 to see if it
>>> fixes the problem.
>>
>> Yes, it does.
>> The following command works for my computer:
>> C:\Programme\TortoiseHG\TortoiseOverlays>msiexec /i
>> TortoiseOverlays-1.0.4.11886-win32.msi /norestart ALLUSERS=1
>>
>> I did the following with TortoiseOverlays:
>> uninstalled it and deleted my manually added keys
>> checked the keys: none was there
>> installed without ALLUSERS=1
>> checked the keys: they were in HKCU
>> uninstalled it
>> checked the keys: none was there
>> installed with ALLUSERS=1
>> checked the keys: they were in HKLM
>
> Really appreciate you went through this much trouble. But if you don't
> terribly mind, I wonder if you can help confirm if reinstalling
> TortoiseOverlays with "ALLUSERS=1" over the one without would fix it
> too.
>
> If it does, it might provide a simpler and quicker workaround for the
> users having problem with 0.5 now.
I am testing. It looks like /i does not work. But maybe /f or /fm. I will
try on.
In the meantime helps doubleclicking on the reg file I sent earlyer. (Of
course only as an administrator.)
>
>> The article about ALLUSERS is not clear. I understand the meaning of
>> ALLUSERS like this:
>> ALLUSERS="" (not given) Install per-user
>> ALLUSERS=1 Install per-machine
>> ALLUSERS=2 Install per-machine if possible, per-user else
>
> That's my understanding from the doc too.
>
>> Where do other (XP) users have the keys?
>> Just try this two commands in a command window (as any user):
>> C:\> reg query
>> HKLM\Software\classes\CLSID\{C5994560-53D9-4125-87C9-F193FC689CB2}
>> Should return one value and one sub key.
>>
>> C:\> reg query
>> HKCU\Software\classes\CLSID\{C5994560-53D9-4125-87C9-F193FC689CB2}
>> Should return an error message.
>>
>> On my machine it was the wrong way round.
>
> On my machine, both return a value and subkey. But I am not sure what
> you are trying to say that, as these are CLSID's of TortoiseSVN?
This are CLSID's of TortoiseOverlays. The default value of the sub key
"InProcServer32" is the path of the TortoiseOverlays.dll.
When this key is not present (in HKCU or HKLM), the dll is not found and no
Icons are shown. (The explorer can not look up the GUID of the registered
TortoiseOverlays handler. When the key is present in bought sections, the
one in HKCU is used.)
I do not know why there are keys in HKCU and HKLM on your machine. It looks
like you have installed TortoiseOverlays several times. Once it was
per-machine and once per-user. (I doubt that a developpers machine is
clean. Mine is not.) ;-)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop