Re: Account permissions needed for deployment of IE Toolbar (C#)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Peter Huang [MSFT] wrote:
Hi Jim,

Sorry for delay response.
Based on my research, to install a IE toolbar, I also understand it as a BHO(Browser Helper Object), we need an adminitrator rights.
In addition to register it for common COM registration just as your mentioned, we also need to registered it as BHO.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browse
r Helper Objects

I have checked the permission of the register key.
(You can use regedit to navigate to the key and right click on the key and select Permissions.)
We will find the common Users group only have read permission.

Actually for deploy such an object, we have two concerns.
1. File permission
2. registry key permission.

I understand your scenario that you may only need it to install with a single user.

But COM is commonly an system level object. That is why this may introduce DLL help.
Because once somebody register a COM(e.g. ABC.ABC), any other COM can not use the same one, or the common application that refer to the COM may not work correctly.

That is why we introduce .NET which will enable the XCOPY deploy feature. That is to say, the deployment is just an COPY operation.

Also based on my experience, many applications need administrators to install the software and common user just use it.
Because the registry is the key db for windows OS and misoperation may corrupt the whole OS, it is not proper to grant the common use the permission to modified the HKEY_LOCAL_MACHINE HKEY_CLASSES_ROOT related registry.

Common a common user should only write to the HKEY_CURRENT_USER registry key, but BHO as a COM object, it do need to register in the HKEY_CLASSES_ROOT for COM related registation. Because COM is system level.

If you still have any concern, please feel free to let me know.


Best regards,

Peter Huang

Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


I investigated further and came across this article:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconRegistration-FreeCOMInterop.asp

Since the toolbar is implemented in C# this could be a possible work-around?

/Jim.
.



Relevant Pages

  • RE: Account permissions needed for deployment of IE Toolbar (C#)
    ... Based on my research, to install a IE toolbar, I also understand it as a ... I have checked the permission of the register key. ... We will find the common Users group only have read permission. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Home burial
    ... Obviously a proper death certificate. ... You need to make a register for the grave. ... All that you need is permission from the land owner. ... Consulting the local authority about the water table is not good idea, since this will set alarm bells off all over the Town Hall and you will be interfered with. ...
    (uk.legal)
  • Re: OT: Mitral Regurgitation, durability of repair
    ... it's common to register some cognitive defects after open heart ... we'll look back on invasive surgery and see just how barbaric, ...
    (rec.bicycles.racing)
  • How to tell later if property is helt Joint Tenants or tenants in Common
    ... I already know the definitions of Joint T and of T in common thanks. ... Register and landreg.co.uk. ... It merely says who are proprietors. ... If the house is owned by Mum as joint tenant can ...
    (uk.legal)
  • Re: Question about the Common Dialog control...
    ... have an application where I utililize the Common Dialog control version 6.0. ... I believe the OCX file for this is COMDLG32.OCX. ... To register the OLE server, ...
    (microsoft.public.access.forms)