我已经使用VS 2010创建一个Excel 2007外接程序用C#。该加载项是一个TaskPane为基础的用户界面。伟大的作品,喜欢它。
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.
不过,我的用户没有管理员权限,并因为VSTO要求无法安装加载项。
However, my users do not have Admin access and cannot install the add-in because VSTO is required.
有没有一种方法来创建/端口此加载到一个正常的基于COM加载项没有这个表演停止参考VSTO?
Is there a way to create/port this add-in to a normal COM based add-in without this show-stopping reference to VSTO?
或者你可以让用户安装的时候,它会在系统帐户安装了作为.msi程序包了。
or you could package it up as .msi so that when users installed, it will be installed under system account.
即使你将其转换为COM,你必须注册(regasm)的DLL和需要管理员权限反正。最好不要去通过COM航线...:)
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 ... :)