Let’s  being by checking the help section of the Prerequisite Installer. Open up command prompt as an administration and type the following:

PrerequisiteInstaller.exe /? help

You 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 my instance I put them into a folder on the C Drive named “Preinstall”.

After running my command line I got an error:

MSVCRT14 Error: Unrecognized command line option

Which is strange as the help file clearly shows MSVCRT14 as a switch as shown in the image below.

image


This was rather annoying and I couldn’t for the life of me figure it out. I then came a cross 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 I would give that a go and while I was here update my download of the Visual Studio Package from 2015 to 2017 (Which is backed up on the welcome screen).

Then to my surprise… Success the welcome screen

image

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)