问题
I'm trying to make a simple WinForms application that changes Skype for Business status (I'm using 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 ). 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
. Any suggestions? Do I have to also have Lync installed in order to interact with Skype for Business 2016?
Is Lync 2013 Client SDK compatible with Skype for Business?
No client SDK for Skype for Business 2016
回答1:
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
回答2:
A simple solution is to extract the .exe installer with 7-zip or some other program. After you unzip it, just run the corresponding .msi installers.
回答3:
You don't need Lync 2013, but the installer thinks you do and checks for it. 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) - Create a new string value named
InstallationDirectory
; the data doesn't matter - Run the SDK installer
- 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:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Lync]
"InstallationDirectory"=""
来源:https://stackoverflow.com/questions/37978074/cant-install-lync-2013-sdk-with-skype-for-business-2016