dsccommunity / dsccommunity/SharePointDsc
SPInstallPrereqs: sqlncli.msi is no longer required after November 2021 CU
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 246
- Forks
- 106
- PR merge metrics
- No merged PRs in 30d
Description
Problem description
According to the information in November 2021 CU for SharePoint 2016 and 2019 it is no longer recommended to have Microsoft SQL Server 2012 Native Client (sqlncli.msi) installed on the SharePoint servers as it's no longer used. Is it possible to remove this from the prerequisite installation?
I've not tested if the prerequisite installer still enforces installation of sqlncli.msi
SP2019 November CU
SP2016 November CU
Verbose logs
Not relevant
DSC configuration
SPInstallPrereqs PrerequisitesInstallation
{
IsSingleInstance = 'Yes'
InstallerPath = $ConfigurationData.NonNodeData.SPPrereqsInstallerPath;
OnlineMode = $false;
Ensure = "Present";
PSDscRunAsCredential = $SPSetupCredential;
SQLNCli = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\sqlncli.msi"
Sync = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\Synchronization.msi"
AppFabric = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\WindowsServerAppFabricSetup_x64.exe"
IDFX11 = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\MicrosoftIdentityExtensions-64.msi"
MSIPCClient = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\setup_msipc_x64.exe"
WCFDataServices56 = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\WcfDataServices.exe"
MSVCRT11 = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\vcredist_x64.exe"
MSVCRT141 = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\vc_redist.x64.exe"
KB3092423 = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\AppFabric-KB3092423-x64-ENU.exe"
DotNet472 = "$($ConfigurationData.NonNodeData.SPInstallationBinaryPath)\prerequisiteinstallerfiles\NDP472-KB4054530-x86-x64-AllOS-ENU.exe"
DependsOn = "[WindowsFeatureSet]NET-Framework"
}
Suggested solution
Remove installation of sqlncli.msi when installed CU version of SharePoint is November 2021 or newer.
SharePoint version and build
SP 2016 and SP2019 November 2021 CU and newer
Operating system the target node is running
not relevant
PowerShell version and build the target node is running
not relevant
SharePointDsc version
4.8.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the SPInstallPrereqs resource entry point and inspect how the SQLNCli property and SharePoint build or CU version are evaluated. Confirm the November 2021 CU references in the issue, then identify the resource tests, if present; done means sqlncli.msi is not installed for SharePoint 2016 and 2019 November 2021 CU or newer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100