Removed /Edition

This commit is contained in:
Alexander (Sasha) Nosov
2024-07-06 09:51:19 -07:00
committed by GitHub
parent 29be53596f
commit 80e7b2757f
@@ -163,17 +163,16 @@ try {
$setupPath = ($driveLetter + ":\setup.exe")
$argumentList = "
/q
/ACTION=Install
/ACTION=`"Install`"
/FEATURES=SQL
/INSTANCEDIR=C:\SQL
/SQLSYSADMINACCOUNTS='$($SqlServerAdminAccounts)'
/SQLSVCACCOUNT='$($SqlServerSvcAccount)'
/SQLSVCPASSWORD='$($SqlServerSvcPassword)'
/AGTSVCACCOUNT='$($SqlServerSvcAccount)'
/AGTSVCPASSWORD='$($SqlServerSvcPassword)'
/SQLSYSADMINACCOUNTS=`"$($SqlServerAdminAccounts)`"
/SQLSVCACCOUNT=`"$($SqlServerSvcAccount)`"
/SQLSVCPASSWORD=`"$($SqlServerSvcPassword)`"
/AGTSVCACCOUNT=`"$($SqlServerSvcAccount)`"
/AGTSVCPASSWORD=`"$($SqlServerSvcPassword)`"
/IACCEPTSQLSERVERLICENSETERMS
/PID='$($productKey)'
/Edition='$($SqlServerEdition)'
/PID=`"$($productKey)`"
"
if ($SqlServerInstanceName) {
$argumentList += "/INSTANCENAME='$($SqlServerInstanceName)'"