Create Excel Add-in without VSTO

2019-07-29 17:25发布

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?

2条回答
ゆ 、 Hurt°
2楼-- · 2019-07-29 17:27

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

查看更多
时光不老,我们不散
3楼-- · 2019-07-29 17:48

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 ... :)

查看更多
登录 后发表回答