将 ClickOnce 应用程序与 Outlook 集成
我有一个 ClickOnce 应用程序,过去由具有高级用户权限的用户运行。因此,为了集成到 Outlook(例如同步电子邮件、约会和地址),我使用了 Add-In Express 中的第 3 方组件,其中包括 ActiveX DLL。
因此,当用户下载我的应用程序时,我会注册 ActiveX DLL(如果尚未注册),然后在应用程序中与其进行互操作。
好吧,现在用户的权限已更改为标准受限用户。这意味着它们无法注册 DLL(因为它会写入不受限制的注册表项)。当然,与 Outlook 的集成会失败。
针对我的情况,有哪些选项可以与 Outlook 集成?
I have a ClickOnce app that used to be run by users with Power User privileges. So to integrate to outlook (e.g. syncing of emails, appointments and addresses) I used a 3rd party component from Add-In Express, which includes an ActiveX DLL.
So when the user would download my app, I'd register the ActiveX DLL (if it wasn't already registered) and then would just interop with it in the application.
Well, now the users had their privileges changed to standard limited User. Which means that they can't register DLLs (since it writes to the registry keys that are off limit). And the integration with Outlook fails, of course.
What are some of options to integrate with Outlook for my situation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为作为“标准”用户确实没有办法解决这个问题,因为他们无法注册 DLL。您可以将 VSTO 打包到 msi 中并为计算机上的所有用户安装它,但安装它的用户必须拥有执行此操作的正确权限(可能是本地管理员)。
最好了解他们如何安装 msi 应用程序?并使用该用户。
I think there is really no way round it as the "standard" user as they can not register DLLs. You can package VSTO into a msi and install it for all users on the machine but the user that installed it would have to have the right rights to do that probally local admin.
Its probaly best to find out how they Install msi apps ? and use that user.