diff --git a/scripts/Windows/Software/winget/Manage.ps1 b/scripts/Windows/Software/winget/Manage.ps1 index d0ed81bd..db5bdd69 100644 --- a/scripts/Windows/Software/winget/Manage.ps1 +++ b/scripts/Windows/Software/winget/Manage.ps1 @@ -8,9 +8,9 @@ $file = New-TemporaryFile; $file = Rename-Item $file "$file.msixbundle" -PassThru; Invoke-WebRequest "$xamlDownloadLink" -OutFile "$file"; - Add-AppxPackage "$file"; + Add-AppxPackage "$file" -ErrorAction Continue; Invoke-WebRequest "$downloadLink" -OutFile "$file"; - Add-AppxPackage "$file"; + Add-AppxPackage "$file" -ErrorAction Continue; Remove-Item $file; }; } @args;