创建Excel加载不VSTO [英] Create Excel Add-in without VSTO

查看:156
本文介绍了创建Excel加载不VSTO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用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 ... :)

这篇关于创建Excel加载不VSTO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆