[英]VSTO addin and runtime without administrator rights
I've developed a C# Excel Addin with Visual Studio 2008 (.NET Framework 3.5). 我用Visual Studio 2008(.NET Framework 3.5)开发了一个C#Excel Addin。 My goal is to be able to install this Addin without administrator rights for Excel 2007. When I publish the solution, and try to install it as a non-admin user, the setup gives an error saying that VSTO runtime 3.0 needs to be installed:
我的目标是能够在没有Excel 2007管理员权限的情况下安装此Addin。当我发布解决方案并尝试以非管理员用户身份安装时,安装程序会提示错误,说明需要安装VSTO运行时3.0:
Prerequisite check for system component Visual Studio Tools for the Office system 3.0 Runtime failed with the following error message: "Administrator permissions are required to install the Visual Studio Tools for the Office system 3.0 Runtime. Contact your administrator."
系统组件的先决条件检查Office系统3.0运行时的Visual Studio工具失败,并显示以下错误消息:“安装Office系统3.0运行时的Visual Studio工具需要管理员权限。请与管理员联系。”
There is ZERO chance of getting an administrator to install the VSTO 3.0 Runtime on this network. 有一个ZERO机会让管理员在这个网络上安装VSTO 3.0 Runtime。 .NET Framework 3.5 SP1 is installed.
已安装.NET Framework 3.5 SP1。
Before, I developed the Addin in VBA and was able to distribute it as a .XLAM. 之前,我在VBA中开发了Addin,并能够将其作为.XLAM进行分发。
This question is similar to: Create Excel Add-in without VSTO 此问题类似于: 创建没有VSTO的Excel加载项
Is there a workaround for this? 这有解决方法吗?
C ++ Shim加载项不需要管理员权限
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.