Work laptop, latest Windows 10 release, running as Administrator but there are group policy restrictions in place.
Failed to install winget using DesktopAppInstaller. CLI tools worked but took additional and unexpected steps.
Double clicking the AppXBundle file gave a deployment error 0x8000FFFF, but using the Add-AppxPackage worked fine. However, running winget source update gave an additional error (log below). I resolved this by downloading the sources from https://winget.azureedge.net/cache/source.msix and installing through Add-AppxPackage.
Winget now appears to be working correctly.
Logfile output is:
2020-5-21 21:24:35.580 [CORE] WinGet, version [0.1.41331], activity [{1757EE48-D4BB-4BB5-8B7B-D39CE709534F}]
2020-5-21 21:24:35.581 [CORE] OS: Windows.Desktop v10.0.18363.836
2020-5-21 21:24:35.581 [CORE] Package: Microsoft.DesktopAppInstaller v1.0.41331.0
2020-5-21 21:24:35.581 [CLI ] WinGet invoked with arguments: 'source' 'update'
2020-5-21 21:24:35.581 [CLI ] Found subcommand: source
2020-5-21 21:24:35.581 [CLI ] Found subcommand: update
2020-5-21 21:24:35.581 [CLI ] Leaf command to execute: root:source:update
2020-5-21 21:24:35.598 [CLI ] Executing command: update
2020-5-21 21:24:35.605 [REPO] Named source to be updated, found: winget
2020-5-21 21:24:35.605 [REPO] Initializing source from: winget => https://winget.azureedge.net/cache/source.msix
2020-5-21 21:24:36.996 [REPO] Found package full name: winget => Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe
2020-5-21 21:24:37.026 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2020-5-21 21:24:37.026 [CORE] Found matching extension.
2020-5-21 21:24:37.636 [CORE] Downloading to path: "C:\Users\rmalone\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix"
2020-5-21 21:24:37.637 [CORE] Started applying motw to "C:\Users\rmalone\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix"
2020-5-21 21:24:37.637 [CORE] Finished applying motw
2020-5-21 21:24:37.637 [CORE] Downloading from url: https://winget.azureedge.net/cache/source.msix
2020-5-21 21:24:38.224 [CORE] Download completed.
2020-5-21 21:24:38.225 [CORE] Starting RequestAddPackage operation #0: file:///C:/Users/rmalone/AppData/Local/Packages/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe/TempState/WinGet/Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix
2020-5-21 21:24:38.227 [CORE] Begin waiting for deployment #0
2020-5-21 21:24:38.227 [CORE] Begin blocking for deployment #0
2020-5-21 21:24:38.610 [CORE] Deployment failed #0: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe from: (Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix) failed with error 0x8000FFFF. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
2020-5-21 21:24:38.610 [FAIL] C:\BA\138\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(50)\AppInstallerCLI.exe!00007FF69CE4ED54: (caller: 00007FF69CE4F3B4) Exception(1) tid(a34) 8000FFFF Catastrophic failureMsg:[Install failed: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe from: (Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix) failed with error 0x8000FFFF. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.]2020-5-21 21:24:38.611 [FAIL] C:\BA\138\s\external\pkg\src\AppInstallerRepositoryCore\RepositorySource.cpp(229)\AppInstallerCLI.exe!00007FF69CEBFB31: (caller: 00007FF69CE70AAC) LogHr(1) tid(a34) 8000FFFF Catastrophic failure
Msg:[C:\BA\138\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(50)\AppInstallerCLI.exe!00007FF69CE4ED54: (caller: 00007FF69CE4F3B4) Exception(1) tid(a34) 8000FFFF Catastrophic failure Msg:[Install failed: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe from: (Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix) failed with error 0x8000FFFF. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.]]
2020-5-21 21:24:38.611 [REPO] Source update failed, waiting a bit and retrying: winget
2020-5-21 21:24:40.622 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2020-5-21 21:24:40.622 [CORE] Found matching extension.
2020-5-21 21:24:41.277 [CORE] Downloading to path: "C:\Users\rmalone\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix"
2020-5-21 21:24:41.278 [CORE] Started applying motw to "C:\Users\rmalone\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix"
2020-5-21 21:24:41.278 [CORE] Finished applying motw
2020-5-21 21:24:41.279 [CORE] Downloading from url: https://winget.azureedge.net/cache/source.msix
2020-5-21 21:24:41.482 [CORE] Download completed.
2020-5-21 21:24:41.482 [CORE] Starting RequestAddPackage operation #1: file:///C:/Users/rmalone/AppData/Local/Packages/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe/TempState/WinGet/Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix
2020-5-21 21:24:41.484 [CORE] Begin waiting for deployment #1
2020-5-21 21:24:41.484 [CORE] Begin blocking for deployment #1
2020-5-21 21:24:41.872 [CORE] Deployment failed #1: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe from: (Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix) failed with error 0x8000FFFF. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
2020-5-21 21:24:41.872 [FAIL] C:\BA\138\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(50)\AppInstallerCLI.exe!00007FF69CE4ED54: (caller: 00007FF69CE4F3B4) Exception(2) tid(a34) 8000FFFF Catastrophic failureMsg:[Install failed: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe from: (Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix) failed with error 0x8000FFFF. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.]2020-5-21 21:24:41.872 [CLI ] Caught wil::ResultException: C:\BA\138\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(50)\AppInstallerCLI.exe!00007FF69CE4ED54: (caller: 00007FF69CE4F3B4) Exception(2) tid(a34) 8000FFFF Catastrophic failure
Msg:[Install failed: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe from: (Microsoft.Winget.Source_2020.521.2050.685_neutral__8wekyb3d8bbwe.msix) failed with error 0x8000FFFF. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.]
Environment is:
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.Windows: Windows.Desktop v10.0.18363.836
Package: Microsoft.DesktopAppInstaller v1.0.41331.0
I had this problem also, thank you for the workaround steps.
I've the same problem when I applied same steps above it's fixed.
the work around did work. unfortunately after installing a few packages i'm starting to get this error on all packages, even running winget source update
We are having the same issue. For us, it appears to be company-wide. We don't use AD or GP. We do use Workspace One. We think it might have to do with that.
I've had a similar issue but your workaround worked for me as well.
PS> winget search deno
Failed to open the source; try removing and re-adding it
An unexpected error occurred while executing the command:
Install failed: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2020.718.1720.43_neutral__8wekyb3d8bbwe from: (Microsoft.Winget.Source_8wekyb3d8bbwe.msix) failed with error 0x80073D1B. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
0x80073d1b : The packages failed the SmartScreen reputation check.
I'm using CoreDNS as a DNS Server, which forwards everything to 8.8.8.8 except requests to *.test, maybe this is an issue?
Just here to say me too ... I've spent over an hour and got no further than the original poster.
The latest 0.2.2941 AppInstallerCLI.exe is still failing with Exception(1) tid(48f0) 8000FFFF Catastrophic failure in the logs.
Oh and confirming workaround of:
Invoke-RestMethod https://winget.azureedge.net/cache/source.msix -OutFile $env:temp\sources.msix
Add-AppxPackage -Path $env:temp\sources.msix
UPDATE: CLI search then appears to work but it still fails to install anything failing due to
2020-11-23 12:06:22.312 [FAIL] C:\BA\217\s\external\pkg\src\AppInstallerCommonCore\HttpStream\HttpClientWrapper.cpp(48)\AppInstallerCLI.exe!00007FF6A2D33DD7: (caller: 00007FF6A2CD4907) Exception(1) tid(5848) 80070138 No ranges for the specified operation were able to be processed.
I've been fighting this error for weeks now. It might work for a bit, then would fail to update sources, so I would try everything with no luck until the next time I attempted to use it and would succeed for unknown reasons until it stopped again.
Always resulting in some error similar to
An unexpected error occurred while executing the command:
Install failed: Deployment Add operation with target volume C: on Package Microsoft.Winget.Source_2020.1211.1927.552_neutral__8wekyb3d8bbwe from: (Microsoft.Winget.Source_8wekyb3d8bbwe.msix) failed with error 0x8000FFFF. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
0x8000ffff : Catastrophic failure
Today this command worked, though I'm not sure which force was the good one.
Invoke-WebRequest -Uri https://winget.azureedge.net/cache/source.msix -OutFile source.msix
Add-AppxPackage -Path .\source.msix -ForceUpdateFromAnyVersion -Confirm -ForceTargetApplicationShutdown
Confirm
Are you sure you want to perform this action?
Performing the operation "Deploy package" on target "source.msix".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): a
winget source update
Updating all sources...
Updating source: winget...
Done
Updating source: msstore...
Done
Wow, that just seemed to fix my issue....will know after more testing.
Thanks @cryolithic ,
Most helpful comment
I've the same problem when I applied same steps above it's fixed.