From 2ce6024cf99797160bdc0e360cec62d347b01635 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Fri, 13 Nov 2020 08:54:41 +0100 Subject: [PATCH] Added documentation to SPInstaller --- CHANGELOG.md | 2 ++ .../DSCResources/MSFT_SPInstall/Readme.md | 22 +++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 775deeb91..9105ba554 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - SharePointDsc - Added logging to the event log when the code throws an exception - Added support for trusted domains to Test-SPDscIsADUser helper function +- SPInstall + - Added documentation about a SharePoint 2019 installer issue ### Changed diff --git a/SharePointDsc/DSCResources/MSFT_SPInstall/Readme.md b/SharePointDsc/DSCResources/MSFT_SPInstall/Readme.md index f77a487ac..8a8e10e56 100644 --- a/SharePointDsc/DSCResources/MSFT_SPInstall/Readme.md +++ b/SharePointDsc/DSCResources/MSFT_SPInstall/Readme.md @@ -20,6 +20,28 @@ stream is added to indicate that the file is potentially from an unsafe source. To use these files, make sure you first unblock them using Unblock-File. SPInstall will throw an error when it detects the file is blocked. +NOTE 3: +The SharePoint 2019 installer has an issue with the Visual C++ Redistributable. +The Prerequisites Installer accepts a lower version than the SharePoint Setup +requires, resulting in the setup throwing an error message. The solution is to +download the most recent version of the Redistributable and using the Package +resource to install it through DSC: + +```PowerShell +Package 'Install_VC2017ReDistx64' +{ + Name = 'Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.24.28127' + Path = 'C:\Install\SharePoint\prerequisiteinstallerfiles\vc_redist.x64.exe' + Arguments = '/quiet /norestart' + ProductId = '282975d8-55fe-4991-bbbb-06a72581ce58' + Ensure = 'Present' + Credential = $InstallAccount +} +``` + +More information: +https://docs.microsoft.com/en-us/sharepoint/troubleshoot/installation-and-setup/sharepoint-server-setup-fails + ## Multilingual support Where possible, resources in SharePointDsc have been written in a way that