AutoSPInstaller icon indicating copy to clipboard operation
AutoSPInstaller copied to clipboard

SharePoint SE Installation Fails within W2022 Server Core

Open vherrlein opened this issue 3 years ago • 3 comments

Dear,

  1. May be because of SE setup.exe now another additional argument must be added "/IAcceptTheLicenseTerms". Otherwise the script raise an exception saying the setup installer requiers a reboot. https://github.com/brianlala/AutoSPInstaller/blob/b14be321bbd3f431b81608e0c0f658f55e89e3ac/SP/Automation/AutoSPInstallerModule.psm1#L996

  2. Because of the way how the server core is working, we cannot create shortcut , the conditional statement at the following line should also check if the current machine is a server core: https://github.com/brianlala/AutoSPInstaller/blob/b14be321bbd3f431b81608e0c0f658f55e89e3ac/SP/Automation/AutoSPInstallerMain.ps1#L205

Note: How to retrieve the server product info with the server level : Determining Whether Server Core Is Running

vherrlein avatar Oct 03 '21 17:10 vherrlein

In addition the config XML for server core must change as following:

  1. Display Level must be none <Display Level="none" CompletionNotice="No" AcceptEula="Yes"/> https://github.com/brianlala/AutoSPInstaller/blob/b14be321bbd3f431b81608e0c0f658f55e89e3ac/SP/Automation/AutoSPInstallerModule.psm1#L316

  2. USINGUIINSTALLMODE must be "0" <Setting Id="USINGUIINSTALLMODE" Value="0"/> https://github.com/brianlala/AutoSPInstaller/blob/b14be321bbd3f431b81608e0c0f658f55e89e3ac/SP/Automation/AutoSPInstallerModule.psm1#L321

vherrlein avatar Feb 04 '23 12:02 vherrlein

Hi @vherrlein and @brianlala ,

I have to install sharepoint SE on Windows Server 2022.

@vherrlein : Does the script work with your last posted modification?

@brianlala : Is it possible to use your script for the installation of SharePoint "SE" now?

Best regards

Coco0185 avatar Jun 16 '23 11:06 Coco0185

Yes, SE and Server 2022 are both supported for AutoSPInstaller.

Note though that https://autospinstaller.com has not been updated yet to support building XML configs for the most recent changes, but the scripts themselves will work on the latest version/OS.

brianlala avatar Jun 16 '23 13:06 brianlala