不会从MS Excel的“添加”选项卡中删除卸载自定义Excel Addin。 [英] Uninstalling the custom Excel Addin is not removed from the Addin tab in MS Excel.

查看:529
本文介绍了不会从MS Excel的“添加”选项卡中删除卸载自定义Excel Addin。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Excel Addin 2010项目实现的默认插件。我创建了 中显示的所有注册表项和一个我发布的帖子中有 。如果我卸载应用程序,只删除注册表项而不是MS excel的excel addin选项卡中的Addin。我看到的另一件事是,如果我清理解决方案并检查插件选项卡,我可以看到插件已从选项卡中删除。但是如果我尝试使用msi在其他系统中安装该软件包,则根本不会安装该软件。我怎样才能做到这一点?

帮我解决这个问题。在此先感谢。

解决方案

无法删除仅删除注册表项的Excel Addin。 它可能导致MS Office安装问题!



要卸载MS Excel Addin,您应该打开MS Excel实例并更改AddIn.Installed Property(Excel) [ ^ ]到 false ,然后永久删除来自Excel加载项工作文件夹的Excel加载项文件。



请点击此链接,了解有关使用InnoSetup编译器安装和卸载MS Excel插件的更多信息:< a href =http://dutchgemini.wordpress.com/2011/09/05/install-and-uninstall-an-excel-add-in-with-innosetup-page-1/>安装(和卸载) InnoSetup的Excel加载项 [ ^ ]。这是关于安装/卸载MS Excel Addin期间已知问题的非常好的文章。





你懒惰吗?不,我敢肯定,你不是;)

请先试试!

步骤:

1)创建变量(Excel Addin对象)

2)循环访问MS Excel插件集合(已安装或未安装)

3)更改安装的值 property



请点击以下链接:

演练:Office编程(C#和Visual Basic) [ ^ ]

AddIn interface [ ^ ]

AddIn.Installed属性 [ ^ ]



[ /编辑]

I have a default addin that i have implemented using Excel Addin 2010 project. I created a all the registry entries everything shown in the and one of my thread I posted has . If I uninstall the application,only the registry entries are removed not the Addin from the excel addin tab of MS excel. The other thing i saw was if I clean the solution and check the addin tab , I can see the addin is removed from the tab. But if I try to install the pack in others system using msi, the assin is not installed at all. How can I achieve this ?
help me in this. Thanks in advance.

解决方案

It is not possible to remove Excel Addin removing only registry entries. It can causes MS Office installation issues!

To uninstall MS Excel Addin, you should open MS Excel instance and change AddIn.Installed Property (Excel)[^] to false, then permamently remove an Excel Add-In file from from Excel Add-Ins working folder.

Please, follow the link for further information about installing and uninstalling MS Excel addin using InnoSetup compiler: Install (and Uninstall) an Excel Add-In with InnoSetup[^]. It is very good article about known issues during installing/uninstalling MS Excel Addin.

[EDIT]
Are you lazy? No, I'm sure, you're not ;)
Please, try first!
Steps to do:
1) create variable (Excel Addin object)
2) loop through the collection of MS Excel addins (installed or not)
3) change the value of Installed property

Follow below links:
Walkthrough: Office Programming (C# and Visual Basic)[^]
AddIn interface[^]
AddIn.Installed property[^]

[/EDIT]


这篇关于不会从MS Excel的“添加”选项卡中删除卸载自定义Excel Addin。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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