diff --git a/tests/UDKTests/install_vcredist.ps1 b/tests/UDKTests/install_vcredist.ps1 index 369897e..6ac919b 100644 --- a/tests/UDKTests/install_vcredist.ps1 +++ b/tests/UDKTests/install_vcredist.ps1 @@ -5,7 +5,7 @@ New-Item "C:\Temp\" -ItemType Directory -ErrorAction SilentlyContinue Install-Module -Name VcRedist -Force New-Item -Path C:\Temp\VcRedist -ItemType Directory -Force $VcList = Get-VcList -Export Unsupported | Where-Object { $_.Release -eq "2012" } -Save-VcRedist -VcList $VcList -Path C:\Temp\VcRedist -Install-VcRedist -Path C:\Temp\VcRedist -VcList $VcList -Silent +$VcList = Save-VcRedist -VcList $VcList -Path C:\Temp\VcRedist +Install-VcRedist -VcList $VcList -Silent Exit $LASTEXITCODE