asheroto / winget-install

Install winget tool using PowerShell! Prerequisites automatically installed. Works on Windows 10/11 and Server 2019/2022.
https://bit.ly/winget-install
GNU General Public License v3.0
272 stars 33 forks source link

WINGET NOT INSTALLING #14

Closed skyshines closed 1 year ago

skyshines commented 1 year ago

PS E:\Documents\scripts> winget-install.ps1

##########################################

Downloading & installing x64 VCLibs...

##########################################

##########################################

Downloading & installing x64 VCLibs...

##########################################

URL: https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx

###########################################

Downloading & installing x64 UI.Xaml...

###########################################

Downloading: https://www.nuget.org/api/v2/package/Microsoft.UI.Xaml/2.7.3 Saving as: C:\Users\Akashdeep\AppData\Local\Temp\Microsoft.UI.Xaml.2.7.3.nupkg

###################################################

WARNING! An error occurred during installation!

###################################################

WARNING: Something went wrong. If messages above don't help and the problem persists, WARNING: Please open an issue at https://github.com/asheroto/winget-install/issues WARNING: Line number : 375 WARNING: Error: Unable to connect to the remote server

asheroto commented 1 year ago

This may have been a temporary issue, it appears to be working right now.

I have seen this happen quite often with nuget.org. The server seems to be finicky.

Can you please try again and see if it's working?

asheroto commented 1 year ago

I'm working on an alternate version with a backup URL. If you can't get it to work try this one: https://github.com/asheroto/winget-install/blob/Alternate-Method/winget-install.ps1

asheroto commented 1 year ago

Releasing version 2.1.0 which should resolve this by adding an alternate download URL.