From 827d2cacd4dfe1614c9a2fc6dad2b91492b5b6f5 Mon Sep 17 00:00:00 2001 From: "Dariy.Nurgaleev" Date: Tue, 24 Mar 2020 16:28:43 +0700 Subject: [PATCH] cleanup installation folder. --- images/win/scripts/Installers/Install-SQLExpress.ps1 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/images/win/scripts/Installers/Install-SQLExpress.ps1 b/images/win/scripts/Installers/Install-SQLExpress.ps1 index 8e64c621..7e34a9bf 100644 --- a/images/win/scripts/Installers/Install-SQLExpress.ps1 +++ b/images/win/scripts/Installers/Install-SQLExpress.ps1 @@ -73,6 +73,5 @@ Download-FullSQLPackage -InstallerPath $installerPath -DownloadPath $downloadPat Unpack-SQLInstaller -InstallPath "$setupPath.exe" $resultPath = Join-Path $setupPath "SETUP.exe" Write-Host $resultPath -ls -type SQLEXPR_x64_ENU_decompression_log.txt -Start-Installer -InstallerPath $resultPath \ No newline at end of file +Start-Installer -InstallerPath $resultPath +Remove-Item $downloadPath -Recurse \ No newline at end of file