Office 2016的Excel COM Addin部署问题 [英] Excel COM Addin deployment issue for Office 2016

查看:453
本文介绍了Office 2016的Excel COM Addin部署问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个使用Visual Studio 2010构建的Excel COM Addin,在Office 2007中工作。现在我们要将Office版本升级到Office 2016.我们购买了Visual Studio 2017来进行转换。所有功能都经过测试,可以部署。
我们为此目的创建了一个Visual Studio Installer项目,配置的属性与Visual Studio 2010中的安装程序项目相同。但我们遇到了在Windows7 64位操作系统中部署的问题。

We have an Excel COM Addin, built with Visual Studio 2010, working in Office 2007. Now we are going to upgrade the Office version to Office 2016. We bought the Visual Studio 2017 to do the conversion. All functions are tested working, it is ready for deployment. We created a Visual Studio Installer project for the purpose, configured the properties the same as the installer project in Visual Studio 2010. But we got the issue of deployment in Windows7 64-bit OS.

1。对于Windows7 32位操作系统:运行setup.exe后,安装了COM Addin,并显示在"COM加载项"中。窗口,并出现在功能区中。这适用于选择"为自己安装,或为使用此计算机的任何人安装",
选择Everyone或Just me。

1. For Windows7 32-bit OS: after running the setup.exe, the COM Addin is installed, and appears in the "COM Add-ins" window, and appears in the Ribbon. This works for both selections of "Install for yourself, or for anyone who uses this computer", choosing either Everyone or Just me.

2。对于Windows7 64位操作系统:如果选择"只是我"选项"为自己安装,或为使用此计算机的任何人"安装,然后成功安装,并显示在"COM加载项"中。窗口。

2. For Windows7 64-bit OS: if choosing "Just me" option of "Install for yourself, or for anyone who uses this computer", then it is successfully installed, and appears in the "COM Add-ins" window.

但是如果选择"Everyone" "为自己安装,或者对使用此计算机的任何人"选项,然后COM加载项不会出现在"COM加载项"中。窗口,也不在功能区中。

But if choosing "Everyone" option of "Install for yourself, or for anyone who uses this computer", then the COM Addin does not appears in the "COM Add-ins" window, nor in the Ribbon.

我没有看到任何错误消息或警告。我被困在这里,请帮助,谢谢。

I don't see any error message or warning. I'm stuck here, please help, thanks .

Qiner

推荐答案



如果您在计算机上的调试中构建了加载项,并且也从部署位置安装了加载项,则可能会导致此问题。

This issue may be caused if you have built the add-in in debug on your machine and it is also installed from the deploy location.

1。通过

a打开"COM加载项"表单。转到Developer功能区并单击"COM加载项"按钮

a. Go to the Developer ribbon and click on the "COM Add-ins" button

b。转到"文件"功能区并单击"选项"按钮。然后在"加载项"下选择"COM加载项"并单击"开始..."

b. Go to the "File" ribbon and click on the "Options" button. Then under "Add-Ins" select "COM Add-ins" and click "Go…"

2。选择加载项名称,然后单击"删除"按钮

2. Select the Add-in name and click the button "Remove"

3。然后,您需要从"程序和功能"中卸载加载项

3. Then you’ll need to uninstall the Add-in from "Programs and Features"

您可能还需要清理在线应用缓存

You may also need to Clean Online App Cache

1。在命令窗口中输入"rundll32 dfshim CleanOnlineAppCache"

1. Type "rundll32 dfshim CleanOnlineAppCache" in the command window


rundll32 dfshim CleanOnlineAppCache





这篇关于Office 2016的Excel COM Addin部署问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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