KB Issue
When installing SQL Server from PowerShell in a Windows Server Core system, using an install script, without the FEATURES listed, will cause the installation to fail with the following error.
Issue Details
When installing SQL Server from PowerShell in a Windows Server Core system, using an install script, without having the FEATURES listed, will cause the installation to fail with the following error.
03/30/2020 21:19:45.976 Attempting to run user requested action from media ScenarioEngine.exe
03/30/2020 21:19:46.038 Attempting to launch process D:\SQL\x64\ScenarioEngine.exe
03/30/2020 21:21:55.399 Process returned exit code: 0x84B30002
03/30/2020 21:21:55.524 Media ScenarioEngine.exe returned exit code: 0x84B30002
03/30/2020 21:21:55.556 Attempting to release setup mutex
03/30/2020 21:21:55.618 Setup mutex has been released
03/30/2020 21:21:55.696 Setup closed with exit code: 0x84C40013
Recreate Issue
In your installation script, you neglect to add in the FEATURES you need to be installed.
If no features are listed in the install script, the installer will not know what to do, causing the error above to appear to the end user.
Resolve Issue
To install SQL Server on a core server using an installation script, you need the FEATURES listed.
Example of the FEATURES that are allowed in Core.
FEATURES=SQLENGINE, REPLICATION, FULLTEXT, CONN
Copy
Search Site
Search Google
Save the file, then install it using the script.
The install code is as follows.
(Navigate to the SQL Server Installation Directory)
[PowerShell - SQL Server Install Script From PowerShell]
CFFCS | CarrzSynEdit: | PS (PowerShell)
CD N:\
;-- Then run this
PS N:\> ./Setup.exe /Q /ConfigurationFile=D:\Files\CoreSQLInstall.INI
;-- You may encounter other issues along the way, but this will get you started.