mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-17 15:28:16 +00:00
add comments for all steps
This commit is contained in:
@@ -66,12 +66,13 @@ function Start-Installer {
|
|||||||
$installerUrl = "https://go.microsoft.com/fwlink/?linkid=866658"
|
$installerUrl = "https://go.microsoft.com/fwlink/?linkid=866658"
|
||||||
$downloadPath = "C:\SQLInstall"
|
$downloadPath = "C:\SQLInstall"
|
||||||
$setupPath = Join-Path $downloadPath "SQLEXPR_x64_ENU"
|
$setupPath = Join-Path $downloadPath "SQLEXPR_x64_ENU"
|
||||||
|
#Create directory for temporary files
|
||||||
md $downloadPath
|
md $downloadPath
|
||||||
Set-Location -Path $downloadPath
|
Set-Location -Path $downloadPath
|
||||||
$installerPath = Start-DownloadWithRetry -Url "https://go.microsoft.com/fwlink/?linkid=866658" -DownloadPath $downloadPath -Name "SQL2019-SSEI-Expr.exe"
|
$installerPath = Start-DownloadWithRetry -Url "https://go.microsoft.com/fwlink/?linkid=866658" -DownloadPath $downloadPath -Name "SQL2019-SSEI-Expr.exe"
|
||||||
Download-FullSQLPackage -InstallerPath $installerPath -DownloadPath $downloadPath
|
Download-FullSQLPackage -InstallerPath $installerPath -DownloadPath $downloadPath
|
||||||
Unpack-SQLInstaller -InstallPath "$setupPath.exe"
|
Unpack-SQLInstaller -InstallPath "$setupPath.exe"
|
||||||
$resultPath = Join-Path $setupPath "SETUP.exe"
|
$resultPath = Join-Path $setupPath "SETUP.exe"
|
||||||
Write-Host $resultPath
|
|
||||||
Start-Installer -InstallerPath $resultPath
|
Start-Installer -InstallerPath $resultPath
|
||||||
|
#Cleanup folder with installation packages.
|
||||||
Remove-Item $downloadPath -Recurse
|
Remove-Item $downloadPath -Recurse
|
||||||
Reference in New Issue
Block a user