This is what you need when it comes to installing Skype for Business Server – Prerequisites
If you want to automate this part Pat Richard can help you – https://www.ucunleashed.com/3600
Below you will find the prerequisites for each SfB role and the Office Online Server (OOS)
This is tested on Windows Server 2012R2 and Windows Server 2016
.NET Framework 3.5 (NET-Framework-Core) requires an external source to be installed.
Front End Server
Add-WindowsFeature NET-Framework-Core, RSAT-ADDS, Windows-Identity-Foundation, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Dir-Browsing, Web-Asp-Net, Web-Net-Ext, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging, Web-Log-Libraries, Web-Request-Monitor, Web-Http-Tracing, Web-Basic-Auth, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Dyn-Compression, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Web-Mgmt-Tools, Web-Scripting-Tools, Web-Mgmt-Compat, Server-Media-Foundation, Desktop-Experience –Source D:\sources\sxs
Server 2016 has the “Desktop-Experience” feature built in.
Edge Server
Add-WindowsFeature NET-Framework-Core, NET-Framework-45-Core, NET-WCF-HTTP-Activation45, Web-Asp-Net45, Windows-Identity-Foundation –Source D:\sources\sxs
Persitent Chat
Add-WindowsFeature NET-Framework-Core, NET-Framework-45-Core, NET-WCF-HTTP-Activation45, Windows-Identity-Foundation, MSMQ-Services –Source D:\sources\sxs
Office Online Server
Add-WindowsFeature Web-Server, Web-Mgmt-Tools, Web-Mgmt-Console, Web-WebServer, Web-Common-Http, Web-Default-Doc, Web-Static-Content, Web-Performance, Web-Stat-Compression, Web-Dyn-Compression, Web-Security, Web-Filtering, Web-Windows-Auth, Web-App-Dev, Web-Net-Ext45, Web-Asp-Net45, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Includes, InkandHandwritingServices, Windows-Identity-Foundation
Server 2016 has the “InkandHandwritingServices” feature built in.
Server 2016 workaround
During the SfB setup the of the SfB components an error will pop up saying that “Prerequisite installation failed: RewriteModule” If you are trying to install it manually it will say “IIS version 7.0 or greater is required to install IIS URL Rewrite Module 2”
The solution is to download the latest RewriteModule here and install it manually. The version of this module also comes with CU5. But this is not helping if you are starting with the RTM built.
Technet Source for Skype for Business:
https://technet.microsoft.com/en-us/library/dn951388.aspx#Software
https://https://dmunified.com/2016/05/23/deploy-office-online-server-with-skype-for-business