SharePoint 2019: Offline Installation of Prerequisites
Checking Help Section
Let’s begin by checking the help section of the Prerequisite Installer. Open up command prompt as an administrator and type the following:
PrerequisiteInstaller.exe /? help
We should then see a window open which shows you all the flags that you need to install these onto your server.
Using the download links below, save these into a location your server has access to. In this instance, we put them into a folder on the C Drive named “Preinstall”.
Troubleshooting
After running the command line we got an error:
MSVCRT14 Error: Unrecognized command line option
Which is strange as the help file clearly shows MSVCRT14 as a switch.
This was rather annoying and we couldn’t for the life of me figure it out. We then came across a blog post by Trevor Seward talking about a required switch for MSVCRT11 which you can read here
In his code supplied it shows MSVCRT141. Thought we would give that a go and while we were here update my download of the Visual Studio Package from 2015 to 2017 (Which is backed up on the welcome screen).
Then to our surprise… Success, the welcome screen.
After doing the usual next, accept okay, wait…. You’ll get the success screen. If you’re interested in the batch file command line it’s as follows:
D:\PrerequisiteInstaller.exe /SQLNCli:”C:\Preinstall\sqlncli.msi” /Sync:”C:\Preinstall\Synchronization.msi” /AppFabric:”C:\Preinstall\WindowsServerAppFabricSetup_x64.exe” /IDFX11:”C:\Preinstall\MicrosoftIdentityExtensions-64.msi” /MSIPCClient:”C:\Preinstall\setup_msipc_x64.exe” /KB3092423:”C:\Preinstall\AppFabric-KB3092423-x64-ENU.exe” /WCFDataServices56:”C:\Preinstall\WcfDataServices.exe” /DotNet472:”C:\Preinstall\NDP472-KB4054530-x86-x64-AllOS-ENU.exe” /MSVCRT11:”C:\Preinstall\vcredist_x64.exe” /MSVCRT141:”C:\Preinstall\VC_redist.x64.exe”
Just remember to change C:\Preinstall to where you saved the files.
Downloads
- Microsoft Sync Framework Runtime v1.0 SP1 (x64)
- Microsoft SQL Server 2012 SP4 Native Client
- Windows Server AppFabric
- Microsoft Identity Extensions
- WCF Data Services 5.6 Tools
- Cumulative Update 7 for Microsoft AppFabric 1.1 for Windows Server
- Active Directory Rights Management Services Client 2.1
- Microsoft .NET Framework 4.7 (Offline installer)
- Microsoft Visual C++ 2012 Redistributable (x64)
- Microsoft Visual C++ 2017 Redistributable (x64)