Closed bailey-mcquary closed 2 months ago
Also see #677
I'm unable to replication this issue at the moment. In the mean time you can use:
Get-EvergreenAppFromApi -Name 7zip
Just piggy-backing on this issue - but 7-Zip URLs on the main site are now redirecting to GitHub - looks like this is the new home for 7-Zip releases:
I don't see much info to validate that's an offical build.
The links on the official site (e g. https://www.7-zip.org/a/7z2406-x64.msi) all redirect there now, so I assume it's legit.
Had the same issue, I had to edit the download uri slightly to Invoke-WebRequest -Uri $($DownloadURI + "?viasf=1") I had to add an if statement. If $DownloadURI -like "sourceforge.net do the above url edit.
Having visited the sourceforge.net using the new uri https://deac-riga.dl.sourceforge.net/project/sevenzip/7-Zip/24.06/7z2406-x64.msi it does a redirect to https://deac-riga.dl.sourceforge.net/project/sevenzip/7-Zip/24.06/7z2406-x64.msi?viasf=1 which then downloads the full file as normal.
This overall issue will affect all applications sourced from sourceforge.net as I had the same issue with WINSCP
Has anyone found a better a solution, if so please let me know
?viasf=1
Hello you can use -UserAgent "wget" when downloading from sourceforge.
Closing duplicate. Use: https://github.com/aaronparker/evergreen/issues/677
What happened?
Error returned on Get-EvergreenApp -Name "7zip"
Version
2405.1054
What PowerShell edition/s are you running Evergreen on?
Windows PowerShell
Which operating system/s are you running Evergreen on?
Windows 10+, Windows Server 2016+
Have you reviewed the documentation?
Verbose output