added resultPath to resolve the issue

This commit is contained in:
Dariy.Nurgaleev
2020-03-22 20:17:57 +07:00
parent 25fabc3d1b
commit 66a71260b4

View File

@@ -68,4 +68,5 @@ Set-Location -Path $downloadPath
$installerPath = Start-DownloadWithRetry -Url "https://go.microsoft.com/fwlink/?linkid=866658" -Name "SQL2019-SSEI-Expr.exe"
Download-FullSQLPackage -InstallerPath $installerPath
Unpack-SQLInstaller -InstallPath "$setupPath.exe"
Start-Installer -InstallerPath "$setupPath\SETUP.exe"
$resultPath = Join-Path $setupPath "SETUP.exe"
Start-Installer -InstallerPath $resultPath