doadin / DelugeBuildFromSource

26 stars 2 forks source link

NSIS URL unable to load #4

Closed tyhallcsu closed 2 years ago

tyhallcsu commented 2 years ago
    if ( -not (Test-Path 'C:\DelugeDownloads\nsis-3.08.zip' -PathType Leaf) ) { 
        Write-Host "Downloading NSIS..."
        $WebClient.DownloadFile("https://downloads.sourceforge.net/project/nsis/NSIS%203/3.08/nsis-3.08.zip","C:\DelugeDownloads\nsis-3.08.zip")
    }

I cannot get the URL for NSIS to download: https://phoenixnap.dl.sourceforge.net/project/nsis/NSIS%203/3.08/nsis-3.08.zip

Rather, you may want to use this URL: https://downloads.sourceforge.net/project/nsis/NSIS%203/3.08/nsis-3.08.zip

Unless there is a particular reason you decided to use "phoenixnap"?

doadin commented 2 years ago

updated the url. its just the mirror I got when I lasted downloaded, idk why that mirror is not working now.

doadin commented 2 years ago

The script needs a direct url not a webpage that redirects,so no download.sourceforge would not work.