Message from discussion Using regsvr32 question
Received: by 10.68.129.169 with SMTP id nx9mr2362280pbb.2.1331132136992;
Wed, 07 Mar 2012 06:55:36 -0800 (PST)
From: "Mayayana" <mayay...@invalid.nospam>
Subject: Re: Using regsvr32 question
Date: Wed, 7 Mar 2012 09:58:14 -0500
Organization: A noiseless patient Spider
References: <email@example.com> <firstname.lastname@example.org> <email@example.com>
Injection-Date: Wed, 7 Mar 2012 14:55:36 +0000 (UTC)
Injection-Info: mx04.eternal-september.org; posting-host="hA0LZgtsTmFlvERssm/+Tg";
logging-data="4843"; mail-complaints-to="ab...@eternal-september.org"; posting-account="U2FsdGVkX19JB3w+ovGkbknGBXp+9P4ZfloMZkzvY8Y="
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| For example, the COMAddins loaded into my auto-instance of Excel where
| listed under HKLM. Any that were listed under HKCU weren't loaded. I'm
| trying to determine how the DLLs under HKLM got there...
I never realized it was possible to register under HKCU. :)
Deanna's explanation makes sense to me. In general a
COM object is registered for use on the machine. That's
the main reason for having registration in the first place.
I have no ProgIDs at all under HKCU\Software\Classes\.
I've also written a number of DLLs in VB and none of them
registers under HKCU. And I don't see any Typelib key at
all under HKCU, which seems to indicate that nothing ever
has registered under HKCU.
Out of curiosity, I wrote a short VBScript that creates
a dummy object:
Set Obj = CreateObject("Slipshod.FileObject")
Running it with Regmon I saw WSH do 4 checks. It first
tried to open the HKCU key, then the HKLM key, then
repeated the same sequence. (This is on XP.) So it seems
to be feasible to register under HKCU, but very unusual.