Outlook Add In + 在第三方系统上安装 vsto、dll 的位置

Outlook Add In + Where to add the vsto, dll to install on a third party system

我用 C# 创建了一个 Outlook 加载项,它在 Visual Studio 2017 年执行时将加载项添加到 Outlook。 我需要将它部署到工作中的其他系统,我有 .dll、dll.manifest 和 .vsto 文件,但我无法弄清楚我必须在用户系统中的什么位置存储这些文件或 WHERE 在注册表进行更改以在 Outlook 中添加加载项。

我尝试使用 RegistryKey.SetValue() 直接将文件添加到注册表,但它没有显示在 Outlook 应用程序的加载项中,尽管它在 Outlook 加载项文件夹中创建了必要的文件注册表。

我们将在知道需要在用户系统上存储必需品的位置后创建 MSI。

预期的 Outlook 版本是 Outlook 2013 和 Outlook 2016。

感谢任何帮助。

P.S.- 当我通过 Visual Studio 在我的系统上 运行 应用程序添加插件时,我也需要在其他系统上安装它。

大家好,我找到了同样的方法。单击一个也可以,但我希望将一些特定文件复制到特定目的地。我同样使用 Wix,并使用这篇文章作为参考 https://www.add-in-express.com/creating-addins-blog/2012/11/13/wix-installation-vsto-office-addin/

干杯。