While trying to install new instance of SQL Server using command line and the ConfigurationFile.ini unattended answer file, you may receive the following error message : MEDIALAYOUT in SQL Server ConfigurationFile.Ini
1 2 3 4 5 6 |
The specified value for setting ‘MEDIALAYOUT’ is invalid. The expected values are: None Core Advanced Full Error code 0x84B40001. |
Don’t waste your time searching in different documentations about the allowed keywords for the configuration file.
This error means you forgot to put slashes in front of every argument you used on the command line after setup.exe, e.g.
1 |
setup.exe configurationfile |
Just add all the slashes back, and voilà!
Got same error but I have setup.exe /configurationfile
You may want to check if you have “setup.exe /ConfigurationFile=XXXX.ini” or “setup.exe /ConfigurationFile XXX.ini” without the equal sign:
Thanks! You just saved me a lot of time!
that’s fine with param /MEDIALAYOUT=Core:
setup.exe \ConfigurationFile=”C:\localapp\apps\install_sqlserver\SQL_SERVER_2019\Config\ConfigurationFile2019.ini” /MEDIALAYOUT=Core
JUst a small typo. Backslashes won’t do it as option separators, you must use “/ConfigurationFile”