Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can´t intall Windows Terminal via any way (store, winget, release page) - Fails with code 80070002 #15197

Closed
CdrBlair opened this issue Apr 17, 2023 · 1 comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-External For issues that are outside this codebase

Comments

@CdrBlair
Copy link

CdrBlair commented Apr 17, 2023

Windows Terminal version

1.16.10261.0

Windows build number

10.0.22621.0

Other Software

No response

Steps to reproduce

Try to install Windows Terminal from Windows Store, via Winget or via Package from Release Page on Github

Expected Behavior

Terminal gets installed and runs on Windows 11

Actual Behavior

When installing from Windows store, the store just says that an unexpected error occcured with error Code 0x80073CF9.
grafik

The Event Logs for AppXDeployments/Operational states:
"Fehler "0x80070002" beim AppX Deployment-Vorgang für Paket "". Der Fehlertext lautet: Deployment operation failed."

Trying the install via winget leads to same error code but with different text: "Installieren fehlgeschlagen mit Exitcode: 0x80070002 : Das System kann die angegebene Datei nicht finden."
The verbose log shows:

2023-04-18 01:11:15.837 [CORE] Started applying motw to C:\Users\amv\AppData\Local\Temp\WinGet\Microsoft.WindowsTerminal.1.16.10261.0\ba6fc6854e713094b4009cf2021e8b4887cff737ab4b9c4f9390462dd2708298 with zone: 2
2023-04-18 01:11:15.838 [CORE] Finished applying motw
2023-04-18 01:11:15.838 [CLI ] Successfully renamed downloaded installer. Path: C:\Users\amv\AppData\Local\Temp\WinGet\Microsoft.WindowsTerminal.1.16.10261.0\Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msix
2023-04-18 01:11:15.853 [CORE] Starting StagePackageAsync operation #0: C:\Users\amv\AppData\Local\Temp\WinGet\Microsoft.WindowsTerminal.1.16.10261.0\Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msix
2023-04-18 01:11:15.853 [CORE] Begin waiting for operation #0
2023-04-18 01:11:15.853 [CORE] Begin blocking for operation #0
2023-04-18 01:11:16.003 [CORE] Deployment operation #0: Der Bereitstellungsvorgang "Stage" mit Zielvolume "C:" für das Paket "Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe" von " (Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msix) " ist mit dem Fehler 0x80070002 fehlgeschlagen. Weitere Informationen zum Diagnostizieren von Problemen bei der Bereitstellung von Apps finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=235160".
2023-04-18 01:11:16.003 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFAE37C9064: (caller: 00007FFAE37C9F70) Exception(1) tid(4944) 80070002 Das System kann die angegebene Datei nicht finden.

    Msg:[Operation failed: Der Bereitstellungsvorgang "Stage" mit Zielvolume "C:" für das Paket "Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe" von " (Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msix) " ist mit dem Fehler 0x80070002 fehlgeschlagen. Weitere Informationen zum Diagnostizieren von Problemen bei der Bereitstellung von Apps finden Sie unter "http://go.microsoft.com/fwlink/?LinkId=235160".] 

2023-04-18 01:11:16.003 [CORE] Starting RemovePackage operation #1: Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe
2023-04-18 01:11:16.008 [CORE] Begin waiting for operation #1
2023-04-18 01:11:16.008 [CORE] Begin blocking for operation #1
2023-04-18 01:11:16.023 [CORE] Deployment operation #1: Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe kann nicht entfernt werden, da der aktuelle Benutzer dieses Paket nicht installiert hat. Verwenden Sie Get-AppxPackage, um die Liste der installierten Pakete anzuzeigen.
2023-04-18 01:11:16.023 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFAE37C9064: (caller: 00007FFAE37CA73C) Exception(2) tid(4944) 80073CF1 Das Paket wurde nicht gefunden.

    Msg:[Operation failed: Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe kann nicht entfernt werden, da der aktuelle Benutzer dieses Paket nicht installiert hat. Verwenden Sie Get-AppxPackage, um die Liste der installierten Pakete anzuzeigen.] 

2023-04-18 01:11:16.023 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(126)\WindowsPackageManager.dll!00007FFAE394FFB1: (caller: 00007FFAE37CBA63) LogHr(1) tid(4944) 80073CF1 Das Paket wurde nicht gefunden.

    Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFAE37C9064: (caller: 00007FFAE37CA73C) Exception(2) tid(4944) 80073CF1 Das Paket wurde nicht gefunden.

    Msg:[Operation failed: Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe kann nicht entfernt werden, da der aktuelle Benutzer dieses Paket nicht installiert hat. Verwenden Sie Get-AppxPackage, um die Liste der installierten Pakete anzuzeigen.] 
] 

2023-04-18 01:11:16.026 [CLI ] MSIX installer failed: 2147942402
2023-04-18 01:11:16.026 [CLI ] Terminating context: 0x80070002 at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:1cb

Installing via msixbundle fails with: "Fehler bei der App-Installation. Fehlermeldung: Deployment operation failed. (0x80070002)"
The Log here is much shorter:

2023-04-18 01:02:31.846 [CLI ] Get user entitlement. 2023-04-18 01:02:32.498 [CLI ] Get entitlement succeeded. Server error. ProductId: 9N0DX20HK701 2023-04-18 01:02:32.499 [CLI ] Terminating context: 0x8a15001e at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\MSStoreInstallerHandler.cpp:8c

Tried already to reset the store and load different versions, nothing helped. Any ideas on that?

@CdrBlair CdrBlair added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 17, 2023
@zadjii-msft zadjii-msft added the Resolution-External For issues that are outside this codebase label Apr 18, 2023
@zadjii-msft
Copy link
Member

Last time we saw this (#14823), our recommendation was try filing this over at https://github.com/microsoft/winget-cli/issues? They'd be more equipped to investigate. If it comes back as something wrong with our package, we'd be happy to reopen. Thanks!


sanity check notes:

0x80070002 is -2147024894 is E_FILE_NOT_FOUND

Looks like you are trying to install the Win10 package on Win11 (which should work perfectly fine).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-External For issues that are outside this codebase
Projects
None yet
Development

No branches or pull requests

2 participants