diff --git a/src/playbook/Executables/SOFTWARE.ps1 b/src/playbook/Executables/SOFTWARE.ps1 index 7db69f7b45..22b52df285 100644 --- a/src/playbook/Executables/SOFTWARE.ps1 +++ b/src/playbook/Executables/SOFTWARE.ps1 @@ -78,7 +78,7 @@ $num = 0; foreach ($a in $vcredists.GetEnumerator()) { } # 7-Zip -$website = 'https://7-zip.org' +$website = 'https://7-zip.org/' $download = $website + ((Invoke-WebRequest $website -UseBasicParsing).Links.href | Where-Object { $_ -like "a/7z2301-x64.exe" }) & curl.exe -LSs $download -o "$tempDir\7zip.exe" Start-Process -FilePath "$tempDir\7zip.exe" -WindowStyle Hidden -ArgumentList '/S' -Wait