Here's what I've done so far, created a standard application SQL Server installer with quiet install command (tested when run manually):
setup.exe /action=INSTALL /IACCEPTSQLSERVERLICENSETERMS /qs /features=SQLEngine /INSTALLSQLDATADIR=E:\MSSQL\SYSTEM /SQLBACKUPDIR=D:\Backup\Database /SQLTEMPDBDIR=E:\MSSQL\TEMP /SQLTEMPDBLOGDIR=F:\MSSQL\TRANSLOG /SQLUSERDBDIR=E:\MSSQL\DATA /SQLUSERDBLOGDIR=F:\MSSQL\TRANSLOG /SECURITYMODE=SQL /SQLSYSADMINACCOUNTS="BUILTIN\Administrators" "myadmin" /AGTSVCSTARTUPTYPE=Automatic /INSTANCENAME=MSSQLSERVER /SAPWD=Password1
if you will notice, folders are located in different drives.
on my task sequence, I've formatted the disks first, set it online then assigning drive letters before creating a task "Install Application" which will install the SQL server.
also, already tried using setup.exe /ConfigurationFile=ConfigurationFile.ini (https://docs.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-using-a-configuration-file?view=sql-server-2017) instead of the above command, but same results. here's the screenshot https://cdn1.imggmi.com/uploads/2019/5/9/13dacc4c8f71ffa45aa33c116d79624e-full.jpg
can't seem to get it work as it failed on the last task "Install Application". any ideas?
Thanks!