Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: adebaene@xxxxxxxxxxxxxxxx
- Date: 11 Jul 2005 04:33:15 -0700
Eugene Gershnik a écrit :
> > COM object registration requires administrative privileges.
>
> IIRC this is only if you register under HKCR. If you write directly to
> HKEY_CURRENT_USER\Software\Classes you can do it as any user. The component
> will be usable only by software running under the same account of course.
> Quick MSDN search brings this
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/hkey_classes_root_key.asp
Interesting, I wasn't aware of this solution.
> >> So to add pain to this access right bug,
> > It is not a bug! Would you like to have everybody able to install any
> > COM component on your machine? Is this used by IE when downloading an ActiveX?
>
> As long as this component is only visible to the same user, why not?
Hmmm... I would like to have few more security checks in this case...
What will be helpfull would be to have a parameter to DllRegisterServer
to specify which kind of registration is required (per user or machine
wide).
Arnaud
MVP - VC
.
- Follow-Ups:
- Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: Eugene Gershnik
- Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- References:
- VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: David F
- Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: Heinz Ozwirk
- Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: David F
- Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: adebaene
- Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: Eugene Gershnik
- VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- Prev by Date: Re: a template problem
- Next by Date: Re: how to remove "First-chance exceptions" debug messages
- Previous by thread: Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- Next by thread: Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- Index(es):
Relevant Pages
|