‘MEDIALAYOUT’ in SQL Server ConfigurationFile.Ini

 

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

<pre class="wp-block-code">```
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.

```
setup.exe configurationfile 
```
```

Just add all the slashes back, and voilà!