From 66a71260b4105e3ec70b126eb5b92d85fa3785f4 Mon Sep 17 00:00:00 2001 From: "Dariy.Nurgaleev" Date: Sun, 22 Mar 2020 20:17:57 +0700 Subject: [PATCH] added resultPath to resolve the issue --- images/win/scripts/Installers/Install-SQLExpress.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/win/scripts/Installers/Install-SQLExpress.ps1 b/images/win/scripts/Installers/Install-SQLExpress.ps1 index 12b8019a..419e410d 100644 --- a/images/win/scripts/Installers/Install-SQLExpress.ps1 +++ b/images/win/scripts/Installers/Install-SQLExpress.ps1 @@ -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" \ No newline at end of file +$resultPath = Join-Path $setupPath "SETUP.exe" +Start-Installer -InstallerPath $resultPath \ No newline at end of file