1、Run the setup, select all the features you want to install.
2、DO NOT change the install path, press next.
3、When you see the screen displaying the configuration summary, check the config.ini path, then copy/paste the file to another drive or folder.
4、Edit this file to set correct values for INSTALLSHAREDDIR & INSTALLSHAREDWOWDIR (for my case I set D:/Program Files (x86)/Microsoft Sql Server and D:/Program Files (x86)/Microsoft
Sql Server (x86)).
5、Run setup from the command line : setup.exe /q /action=Install /configurationfile=<Path
of your config.ini which you have modified.>
Note : the /q stands for silent mode. I didn't try without this switch.