Re: Register COM DLL when it is not a registered reference (late bound)?
- From: "Phil Wilson" <pdjwilson@xxxxxxxxxxxxxx>
- Date: Fri, 13 May 2005 12:05:55 -0700
Some Windows Installer registration settings obey the per-user/per-system
rules when the registry entries are installed from the MSI file (vsdrfCOM
setting). That makes perfect sense - why should one user's COM objects be
available for everyone? They get registered in HKCU. Regsvr32 and the code
in DllRegisterServer have no idea about per-user/per-system so they register
for everyone. So if you installed for Just me under one account, a client
running under another account won't find the registration entries. As soon
as you run regsvr32 you make it registered for everyone so now your client
finds it - that's the scenario I was thinking of.
The exact error would be interesting. Class not registered, interface not
registered mean different types of registration error.
You're in the framework.setup group here, but this is a C++ regular COM Dll
we're talking about right? Just checking....
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
"Chubby Arse" <alexstevens@xxxxxxxxx> wrote in message
news:1115974228.419108.227880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Phil,
>
> Thanks for the reply.
>
> When I say the DLL doesn't get registered, I mean that the appliation
> can't find the dll (I presume) when it calls it using late binding.
>
> Once I manually register it using regsvr32 mydll.dll the application is
> able to pick up the dll.
>
> I'm unsure how you mean "Be careful that you installed it for
> Everyone", do you mean the application or the DLL?
> I wasn't aware that they could regsvr a dll for a single user, I though
> it installed for every one (HKLM).
>
> Apologies if I seem a bit dim, but fair it's fair to say that I am.
>
> Alex
>
.
- Follow-Ups:
- Re: Register COM DLL when it is not a registered reference (late bound)?
- From: Chubby Arse
- Re: Register COM DLL when it is not a registered reference (late bound)?
- References:
- Register COM DLL when it is not a registered reference (late bound)?
- From: alexstevens
- Re: Register COM DLL when it is not a registered reference (late bound)?
- From: Phil Wilson
- Re: Register COM DLL when it is not a registered reference (late bound)?
- From: Chubby Arse
- Register COM DLL when it is not a registered reference (late bound)?
- Prev by Date: Re: Windows Service Installation...
- Next by Date: Microsoft Application Updater v2
- Previous by thread: Re: Register COM DLL when it is not a registered reference (late bound)?
- Next by thread: Re: Register COM DLL when it is not a registered reference (late bound)?
- Index(es):
Relevant Pages
|