AutoSPInstaller
AutoSPInstaller copied to clipboard
SharePoint SE Installation Fails within W2022 Server Core
Dear,
-
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
-
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
In addition the config XML for server core must change as following:
-
Display Level must be none
<Display Level="none" CompletionNotice="No" AcceptEula="Yes"/>
https://github.com/brianlala/AutoSPInstaller/blob/b14be321bbd3f431b81608e0c0f658f55e89e3ac/SP/Automation/AutoSPInstallerModule.psm1#L316 -
USINGUIINSTALLMODE must be "0"
<Setting Id="USINGUIINSTALLMODE" Value="0"/>
https://github.com/brianlala/AutoSPInstaller/blob/b14be321bbd3f431b81608e0c0f658f55e89e3ac/SP/Automation/AutoSPInstallerModule.psm1#L321
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
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.