如果不将extensibility.dll复制到安装设置,VS 2008 Word Addin将无法运行 [英] VS 2008 Word Addin does not work without copying extensibility.dll to the installation setup

查看:98
本文介绍了如果不将extensibility.dll复制到安装设置,VS 2008 Word Addin将无法运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Visual Studio 2008开发了一个单词加载项。
加载项工作正常,但它似乎只适用于已经安装了Visual Studio的comps:on comps without Visual在打开Word时,加载项不会加载Studio。

在搜索msdn论坛后,我找到了很多专门讨论这个问题的线程。该修复涉及添加"extensibility.dll"。作为对安装文件的额外依赖,以便加载项将始终与此dll文件一起安装。

现在我的问题是所有遇到此问题的人都使用Visual Studio 2005修复KB 908002已经发布,它有助于创建ExtensibilityMSI安装程序,看起来如此。由于我使用的是Visual Studio 2008,很自然地,我很困惑这个问题仍然存在。 VS2008是否有任何KB补丁或服务包可能有助于修复此错误?如果我找不到干净的解决方法,我将不得不将我的加载项和dll一起分发:(

(我之前在错误的论坛中问过这个问题,它被移到了非主题区域,所以我将其发布在建议的论坛中)

解决方案

< blockquote>你正在为Office 2003开发吗?如果是,下面的主题回答你的问题
http://office-outlook.com/outlook-forum/index.php/m/0/144065/0/#msg_144065


" 如果在安装Office 2007时已安装Framework,Office 2007将安装PIA,除非自定义安装禁用安装。 PIA的。如果未安装Framework,则Office 2007不会安装PIA。Office 2007不需要该框架。

对于Office 2003,仅安装PIA用于安装的自定义安装。

用于Office 2007的可再发行的PIA包包括可扩展性和stole。用于PIA的Office 2003可再发行程序包不包括可扩展性或stole,并且可能需要单独安装那些可能的注册表和锁定密钥。有一个KB 908002。

当你安装VS时,你很可能在安装过​​程中为你安装了stole和扩展性。"


I've developed an add-in for word using Visual Studio 2008.
The Add-in works fine, but it seemed to work only on comps that already had Visual Studio installed on them: on comps without Visual Studio the add-in would not load while opening Word.

After searching the msdn forums I found quite a few threads dedicated to this issue; The fix involved adding "extensibility.dll" as an additional dependency to the setup files so that the add-in would always install along with this dll file.

Now my problem is that all the others who faced this problem used Visual Studio 2005 for which a fix KB 908002 was released that would assist in creating an ExtensibilityMSI installer, it would seem. Since I'm using Visual Studio 2008, quite naturally I'm baffled that this problem is still around. Is there any KB patch or service pack for VS2008 that might assist in fixing this bug??? I shall have to distribute my add-in along with the dll if I don't find a clean work-around :(

(I had asked this question in the wrong forum earlier and it was moved to the off-topic zone, so I'm posting it in the suggested forum)

解决方案

Are you developing for Office 2003? If Yes the thread below answers your question
http://office-outlook.com/outlook-forum/index.php/m/0/144065/0/#msg_144065


"Office 2007 installs the PIA's if the Framework is already installed when
Office 2007 is installed unless a custom installation disables installation
of the PIA's. If the Framework is not installed Office 2007 doesn't install
the PIA's. The Framework is not required for Office 2007.

For Office 2003 the PIA's are installed only for a custom installation where
they are selected for installation.

The redistributable PIA package for Office 2007 includes extensibility and
stdole. The Office 2003 redistributable package for the PIA's does not
include either extensibility or stdole and those plus possibly a registry
lockback key need to be installed separately. There's a KB 908002 for that.

When you install VS you most likely got stdole and extensibility installed
for you during installation."


这篇关于如果不将extensibility.dll复制到安装设置,VS 2008 Word Addin将无法运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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