Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register



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


.


Loading