Re: Account permissions needed for deployment of IE Toolbar (C#)
- From: Jim Meyer <jim.work@xxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Aug 2006 11:26:09 +0200
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.
.
- References:
- Account permissions needed for deployment of IE Toolbar (C#)
- From: Jim Meyer
- RE: Account permissions needed for deployment of IE Toolbar (C#)
- From: "Peter Huang" [MSFT]
- Account permissions needed for deployment of IE Toolbar (C#)
- Prev by Date: Will SysAllocString allocation be GC'ed
- Next by Date: Re: Array Marshalling different between VB6 & Script to an interop C#
- Previous by thread: RE: Account permissions needed for deployment of IE Toolbar (C#)
- Next by thread: DllImport - C Function
- Index(es):
Relevant Pages
|