简体   繁体   English

无法使用Skype for Business 2016安装Lync 2013 SDK

[英]Can't install Lync 2013 SDK with Skype for Business 2016

I'm trying to make a simple WinForms application that changes Skype for Business status (I'm using Skype for Business 2016). 我正在尝试制作一个简单的WinForms应用程序来改变Skype for Business状态(我正在使用Skype for Business 2016)。 According to the links below, I should be able to install the Lync 2013 SDK (which I'm finding here: https://www.microsoft.com/en-in/download/details.aspx?id=36824 ). 根据下面的链接,我应该能够安装Lync 2013 SDK(我在这里找到: https//www.microsoft.com/en-in/download/details.aspx?id = 36824 )。 But when I attempt to install it, it says Microsoft Lync 2013 not found. Go here to download and install: http://go.microsoft.com/fwlink/?LinkID=248583 但是当我尝试安装它时,它说Microsoft Lync 2013 not found. Go here to download and install: http://go.microsoft.com/fwlink/?LinkID=248583 Microsoft Lync 2013 not found. Go here to download and install: http://go.microsoft.com/fwlink/?LinkID=248583 . Microsoft Lync 2013 not found. Go here to download and install: http://go.microsoft.com/fwlink/?LinkID=248583 Any suggestions? 有什么建议么? Do I have to also have Lync installed in order to interact with Skype for Business 2016? 我是否还必须安装Lync才能与Skype for Business 2016进行交互?

Is Lync 2013 Client SDK compatible with Skype for Business? Lync 2013 Client SDK是否与Skype for Business兼容?

No client SDK for Skype for Business 2016 Skype for Business 2016没有客户端SDK

A simple solution is to extract the .exe installer with 7-zip or some other program. 一个简单的解决方案是使用7-zip或其他程序提取.exe安装程序。 After you unzip it, just run the corresponding .msi installers. 解压缩后,只需运行相应的.msi安装程序即可。

You don't need Lync 2013, but the installer thinks you do and checks for it. 您不需要Lync 2013,但安装程序认为您执行并检查它。 It checks a couple different registry keys looking for it, so if you fake one of them you can get past the check: 它会检查几个不同的注册表项来查找它,所以如果你伪造其中一个,你可以通过检查:

  • Open regedit 打开注册表
  • Go to HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\15.0\\Lync (create any keys along the way if necessary) 转到HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office\\15.0\\Lync (如有必要,沿途创建任何键)
  • Create a new string value named InstallationDirectory ; 创建一个名为InstallationDirectory的新字符串值; the data doesn't matter 数据无关紧要
  • Run the SDK installer 运行SDK安装程序
  • Once it's finished, undo your changes to the registry 完成后,撤消对注册表的更改

If you don't want to navigate around regedit manually, this registry script will create the appropriate key: 如果您不想手动浏览regedit,则此注册表脚本将创建相应的密钥:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Lync]
"InstallationDirectory"=""

This is a known issue. 这是一个已知的问题。 The current work around is to install with a Skype for Business 15 client and then do the client upgrade 目前的解决方法是使用Skype for Business 15客户端进行安装,然后进行客户端升级

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM