Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- From: "Eugene Gershnik" <gershnik@xxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 02:06:58 -0700
adebaene@xxxxxxxxxxxxxxxx wrote:
> David F a écrit :
>> Finally, I found the problem.
>> Unbelievably, I stasrted to suspect that it "smell" like an access
>> right problem.
>> I always work on my W2K according to MS' recommendation (sometimes
>> they are right...),
>> that is, in User (not even Powered User) mode. I also added "VS
>> Developer" and "Debugger" access rights. That should have worked by
>> definition. Should it?
> 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
>> 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?
As long as this component is only visible to the same user, why not?
--
Eugene
http://www.gershnik.com
.
- Follow-Ups:
- 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
- VS.Net 2005: Uses regsvr32 with undocumented options and fails to register
- Prev by Date: Re: how to remove "First-chance exceptions" debug messages
- Next by Date: Deploy a project
- 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):
Loading