Skip to content

Latest commit

 

History

History
266 lines (220 loc) · 5.79 KB

SharePointSetup.adoc

File metadata and controls

266 lines (220 loc) · 5.79 KB

DSC Resource 'SharePointSetup'

SharePointSetup installs SharePoint Server binaries, prerequisites, and language packs.

When to use 'SharePointSetup'

Use this resource when you need to install SharePoint Server on a machine. It handles the prerequisites installer, the main SharePoint binary installation, and any language packs. This must be applied before SharePointProvisioning can create or join the farm.

Source

DSC Resource

Documentation

Table 1. Attributes of category 'SharePointSetup'
Parameter Attribute DataType Description Allowed Values

InstallerPath

Mandatory

String

Path to the SharePoint prerequisite installer executable.

OnlineMode

Mandatory

Boolean

Whether the prerequisite installer should use online mode.

SXSpath

String

Path to the Windows SXS folder for feature installation.

SQLNCli

String

Path to the SQL Server Native Client installer.

PowerShell

String

Path to the Windows Management Framework installer.

NETFX

String

Path to the .NET Framework installer.

IDFX

String

Path to the Windows Identity Foundation installer.

Sync

String

Path to the Microsoft Sync Framework installer.

AppFabric

String

Path to the Windows Server AppFabric installer.

IDFX11

String

Path to the Microsoft Identity Extensions installer.

MSIPCClient

String

Path to the Microsoft Information Protection and Control Client installer.

WCFDataServices

String

Path to the WCF Data Services installer.

KB2671763

String

Path to the KB2671763 hotfix installer.

WCFDataServices56

String

Path to the WCF Data Services 5.6 installer.

MSVCRT11

String

Path to the Visual C++ 2012 Redistributable installer.

MSVCRT14

String

Path to the Visual C++ 2015 Redistributable installer.

MSVCRT141

String

Path to the Visual C++ 2017 Redistributable installer.

MSVCRT142

String

Path to the Visual C++ 2019 Redistributable installer.

KB3092423

String

Path to the AppFabric cumulative update KB3092423 installer.

ODBC

String

Path to the ODBC driver installer.

DotNetFx

String

Path to the .NET Framework installer.

DotNet472

String

Path to the .NET Framework 4.7.2 installer.

DotNet48

String

Path to the .NET Framework 4.8 installer.

BinaryDir

Mandatory

string

Path to the SharePoint Server installation binaries.

ProductKey

Mandatory

string

SharePoint Server product key.

InstallPath

String

Custom installation path for SharePoint Server.

DataPath

String

Custom data path for SharePoint Server.

LanguagePacks

Hashtable[]

Array of language packs to install, each splatted to the SPInstallLanguagePack DSC resource.

Table 2. Attributes of category 'SharePointSetup/LanguagePacks'
Parameter Attribute DataType Description Allowed Values

BinaryDir

Key

String

Specifies the directory where the language pack binary files are located.

Ensure

String

Specifies whether the language pack should be installed or removed.

  • Present

  • Absent

Example
SharePointSetup:
  InstallerPath: 'C:\SharePoint Server 2019\Setup\PrerequisiteInstaller.exe'
  OnlineMode: false
  KB3092423: 'C:\SharePoint Server 2019\Prerequisite Installer Files\AppFabric-KB3092423-x64-ENU.exe'
  DotNet472: 'C:\SharePoint Server 2019\Prerequisite Installer Files\NDP472-KB4054530-x86-x64-AllOS-ENU.exe'
  IDFX11: 'C:\\SharePoint Server 2019\Prerequisite Installer Files\MicrosoftIdentityExtensions-64.msi'
  MSIPCClient: 'C:\SharePoint Server 2019\Prerequisite Installer Files\setup_msipc_x64.exe'
  SQLNCli: 'C:\SharePoint Server 2019\Prerequisite Installer Files\sqlncli.msi'
  Sync: 'C:\SharePoint Server 2019\Prerequisite Installer Files\Synchronization.msi'
  WCFDataServices56: 'C:\SharePoint Server 2019\Prerequisite Installer Files\WcfDataServices.exe'
  MSVCRT11: 'C:\SharePoint Server 2019\Prerequisite Installer Files\vc11redist_x64.exe'
  MSVCRT141: 'C:\SharePoint Server 2019\Prerequisite Installer Files\vc_redist.x64.exe'
  AppFabric: 'C:\SharePoint Server 2019\Prerequisite Installer Files\WindowsServerAppFabricSetup_x64.exe'
  BinaryDir: 'C:\SharePoint Server 2019\Setup\'
  ProductKey: key-key-key-key-key
  InstallPath: 'C:\Program Files\Microsoft Office Servers'
  DataPath: 'C:\Program Files\Microsoft Office Servers'
  LanguagePacks:
    - BinaryDir: 'C:\SharePoint Server 2019\Language Pack DE'