如何卸载我的 Office 插件?

发布于 2024-10-07 03:49:56 字数 194 浏览 0 评论 0原文

我开发了一个Office插件和一个安装应用程序,但是当我将其安装到我的计算机上,然后卸载它后,似乎一切正常。

但当我想重新安装它时,却什么也得不到。看来注册表中保留了一些信息。有没有什么工具可以帮助我找到它们并解决这个问题?

顺便说一句,我用的是 vsto |本地安装我的办公室插件。 我已经在卸载程序中完成了所有添加的注册表,但似乎不起作用

I developed an office add in and a setup application, but after I install it on my computer, and then I uninstall it, it seems everything is OK.

But when I want to reinstall it, I always get nothing. It seems there are some information retained in the registry. Is there any tools can help me to find them out and solve this problem ?

By the way, I used vsto | local to install my office add in.
And I have completed all the added registry in my uninstaller, but seems not work

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

余厌 2024-10-14 03:49:56

不要以编程方式尝试卸载,而是采用老式方式进行卸载。通过 Office 删除加载项,让它删除密钥等,然后重试。

我相信加载项保存到:

  • HKEY_CLASSES_ROOT\CLSID{guid}\addin-name\keys
  • HKEY_CLASSES_ROOT\addinName
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Office\product\Addins\addinName (所有用户条目)
  • HKEY_CURRENT_USER\Software\Microsoft\Office \product\Addins\addinName(当前用户条目)

以及 HKLM 和/或 HKCU 下的 Wow6432Node(具体取决于系统)

Rather than programmatically trying to uninstall, do it the old fashioned way. Remove the add-in via office, let it remove the keys and such, and then try again.

I believe an add-in is saved to:

  • HKEY_CLASSES_ROOT\CLSID{guid}\addin-name\keys
  • HKEY_CLASSES_ROOT\addinName
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Office\product\Addins\addinName (all users entry)
  • HKEY_CURRENT_USER\Software\Microsoft\Office\product\Addins\addinName (current user entry)

and, depending on the system, the Wow6432Node as well under HKLM &/or HKCU

赠意 2024-10-14 03:49:56

我发现点击一次缓存有时会保留这些旧版本,并且不允许您重新安装。您可以尝试以下几件事:
1) 从 MS 运行名为 Mage 的实用程序。您想要运行“Mage -cc”来清除缓存。
2) 如果这不起作用,您可以添加环境变量:VSTO_SUPPRESSDISPLAYALERTS 并将其设置为 0。重试该过程。这将为您提供更详细的弹出信息。

I've found that the click-once cache sometimes hangs on to these old versions and won't let you re-install. You can try a couple of things:
1) run the utility from MS called Mage. You want to run "Mage -cc" which clears the cache.
2) if that doesn't work you can add the environment variable: VSTO_SUPPRESSDISPLAYALERTS and set itto 0. Try the process again. This will give you a more detailed pop-up of information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文