So I wrote an ActiveX control but I can't install it anywhere when you are not administrator. Does anyone know a work-around for this (that doesn't involve an administrator)?
views:
605answers:
4
+1
A:
There isn't one - you have to be an administration to do a lot of installation bits and pieces, and registering an ActiveX control is one of those.
blowdart
2009-09-10 18:22:28
A:
Maybe by using registration-free COM - with Side-by-Side assemblies (SxS).
Lucero
2009-09-10 18:23:12
It doesn't seem to support vista: "Registration-free COM is a mechanism available on the Microsoft Windows XP (SP2 for .NET-based components) and Microsoft Windows Server 2003 platforms."
rogeriopvl
2009-09-10 18:25:50
That's because this article is quite old (2005) and has not been updates. Google for Vista SxS and you'll see that it is also available.
Lucero
2009-09-10 18:29:37
A:
Since Internet Explorer 8 there are Non-Admin ActiveX Controls in Vista, it does not require user’s admin privileges. All you need is to modify .inf file:
//From MSDN:
[Deployment]
InstallScope=user
[contoso.dll]
file-win32-x86=thiscab
clsid={ABC01234-BA7A-101A-B57A-0000C0C3EFF0}
FileVersion=4,20,0,6164
RegisterServer=yes
RedirectToHKCU=yes
Also, Active Directory allows ActiveX installation for User Group members, but I’m not sure this is your case…
Otherwise, the user must have admin rights.
Eugene
2009-09-14 03:23:55
A:
Hi, I have tried the same inf file for Activex registration on Vista. But it does not work. If I login as admin then it works fine. May I know what could be the reason?
sreelakshmi
2010-06-14 11:43:00