Create Excel Add-in without VSTO

拈花ヽ惹草 提交于 2019-12-11 07:32:49

问题


I have used VS 2010 to create an Excel 2007 Add-in with C#. The add-in is a TaskPane-based UI. Works great, love it.

However, my users do not have Admin access and cannot install the add-in because VSTO is required.

Is there a way to create/port this add-in to a normal COM based add-in without this show-stopping reference to VSTO?


回答1:


They shouldn't necessarily require admin rights just because you use vsto. Make sure that the addin is being installed "Per user" instead of "per machine".




回答2:


or you could package it up as .msi so that when users installed, it will be installed under system account.

even if you convert it to COM, you will have to register (regasm) the dlls and that requires admin rights anyway. Best not to go through COM route ... :)



来源:https://stackoverflow.com/questions/5707340/create-excel-add-in-without-vsto

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!