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 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 [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 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: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
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 updategave 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:
Environment is: