简体   繁体   English

如何在没有管理员权限的情况下在ie7中运行Activex控件?

[英]how can run an activex control in ie7 without admin privileges?

i understand that with ie8 microsoft has improved the active x experience but i am dealing with a large installed base of xp-ie7 systems and a system admin who doesn't want to upgrade. 我了解到,ie8可以使Microsoft改善Active X的使用体验,但是我正在处理大量已安装的xp-ie7系统和不想升级的系统管理员。

if the system is logged in with admin privileges, install and subsequent run work great. 如果系统使用管理员权限登录,则安装和后续运行都非常有效。 if the ystem is logged in without privilege we can neither install nor run. 如果系统未经特权登录,我们将无法安装也无法运行。 if we install with admin and fall back to non admin, our controls don't load but we don't get any diagnostic feedback that we have been able to find. 如果我们使用admin安装并退回为非admin,则不会加载我们的控件,但不会获得任何能够找到的诊断反馈。

one possible twist on the cause of the problem is that our active x are written in c# instead of c++, a nuance that the person before me didn't fully appreciate. 导致此问题的原因的一种可能转折是,我们的活动x是用c#而不是c ++编写的,这一细微之处使我之前的人并没有完全意识到。

According to this msdn page , it is not supported: You need both windows Vista and IE8. 根据此msdn页面 ,不支持此操作:您需要Windows Vista和IE8。 So upgrading IE alone won't help you. 因此,仅升级IE不会对您有所帮助。

There is actually something called registration free COM , but that only works if you can control the .exe file hosting the COM components. 实际上有一种叫做免注册COM的东西,但是只有在您可以控制承载COM组件的.exe文件的情况下才起作用。 And COM overlaps, but is not exactly the same as ActiveX, so it might not work anyways. 和COM重叠,但与ActiveX不完全相同,因此它可能仍然无法正常工作。

Your best bet is to provide this sysadmin with an MSI file that the admin can pro-actively push to all sysems on the site. 最好的选择是为该sysadmin提供一个MSI文件,管理员可以将其主动推送到站点上的所有sysem。 Make sure that .net gets thrown into the package. 确保将.net扔进包中。 You should invests some time to test that your binaries install flawlessly everywhere. 您应该花一些时间来测试您的二进制文件在任何地方都可以完美安装。 Also consider that you won't be able to upgrade the deployed version from your web page. 另外请考虑您将无法从网页升级已部署的版本。 So your upgrades there should be compatible with the existing activex, or done synchronous with the activex deployment. 因此,在那里的升级应该与现有的activex兼容,或者与activex部署同步完成。

If deployment is a problem, discuss the issue with the site's management, so they can require the admin to cooperate. 如果部署存在问题,请与站点的管理人员讨论此问题,以便他们可以要求管理员进行合作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM