简体   繁体   中英

VSTO addin and runtime without administrator rights

I've developed a C# Excel Addin with Visual Studio 2008 (.NET Framework 3.5). 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:

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."

There is ZERO chance of getting an administrator to install the VSTO 3.0 Runtime on this network. .NET Framework 3.5 SP1 is installed.

Before, I developed the Addin in VBA and was able to distribute it as a .XLAM.

This question is similar to: Create Excel Add-in without VSTO

Is there a workaround for this?

C ++ Shim加载项不需要管理员权限

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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