Outlook VSTO 卸载插件

huangapple go评论81阅读模式
英文:

Outlook VSTO uninstall plugin

问题

我是新手使用VSTO。是否有触发器在我们调用卸载VSTO插件时运行?我正在使用插件向Outlook添加新类别。因此,当我卸载插件时,我希望类别被删除。

我成功在按钮点击时删除了类别,但那是在插件已安装的情况下。感谢您的帮助。

英文:

I'm new with vsto. Is there a trigger to run when we call uninstall vsto plugin? I'm using plugin to add new category to outlook. So when I uninstall plugin I would like category to be deleted.

I managed to delete category on button click, but that's while plugin is installed. Thanks for your help.

答案1

得分: 0

不要这样做。从安装程序中在Outlook上做任何事都是个坏主意。如果用户有多个配置文件怎么办?您会连接到所有配置文件吗?如果配置文件没有缓存,Outlook在打开存储时会提示输入凭据。

如果您卸载Office,它不会清除您现有的Outlook数据。无论是在服务器上还是在本地 - 您所有的OST和PST文件仍然完好无损,当您再次安装Outlook时,您将能够使用它们。

英文:

Don't do that. It is a bad idea to do anything in Outlook from the installer. What if the user has multiple profiles? Do you connect to all of them? What if the profile is not cached and Outlook would prompt for credentials when opening a store?

If you uninstall Office, it does not wipe out your existing Outlook data. Not on the server, and not even locally - all your OST and PST files are still intact, and when you install Outlook again, you'd be able to use them.

huangapple
  • 本文由 发表于 2023年6月22日 19:30:19
  • 转载请务必保留本文链接:https://go.coder-hub.com/76531434.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定