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

Installer failed with exit code: 2147748098 #63886

Closed
Dmole opened this issue Jun 1, 2022 · 7 comments
Closed

Installer failed with exit code: 2147748098 #63886

Dmole opened this issue Jun 1, 2022 · 7 comments
Labels
Area-External Installer-Error The package installer is returning an error Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback This needs a response from the author.
Milestone

Comments

@Dmole
Copy link

Dmole commented Jun 1, 2022

Brief description of your issue

winget upgrade --all

Fails.

Steps to reproduce

winget upgrade --all

Expected behavior

Upgrade.

Actual behavior

winget upgrade --all > fail_to_detect_stdout.txt
^H-^H\^H|^H/^H-^H\^H ^M   ^H-^H ^MFound Microsoft Edge WebView2 Runtime [Microsoft.EdgeWebView2Runtime] Version 102.0.1245.30
(1/1) Found Microsoft Edge WebView2 Runtime [Microsoft.EdgeWebView2Runtime] Version 102.0.1245.30
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H/^H-^H\^H|^H ^MInstaller failed with exit code: 2147748098

Environment

winget --info
    Windows Package Manager v1.2.10941
    Copyright (c) Microsoft Corporation. All rights reserved.

    Windows: Windows.Desktop v10.0.22000.708
    Package: Microsoft.DesktopAppInstaller v1.17.10941.0

    Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

    Links               
    ---------------------------------------------------------------------------
    Privacy Statement   https://aka.ms/winget-privacy
    License Agreement   https://aka.ms/winget-license
    Third Party Notices https://aka.ms/winget-3rdPartyNotice
    Homepage            https://aka.ms/winget
    Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jun 1, 2022
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Jun 1, 2022
@OfficialEsco
Copy link
Contributor

@JinZhuXing
Copy link

What is , and I can't upgrade it.
I tried many times, but it failed everytime (Error Code: 2147747880).

@denelon denelon transferred this issue from microsoft/winget-cli Jun 17, 2022
@ghost ghost added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jun 17, 2022
@denelon denelon added Installer-Error The package installer is returning an error and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Jun 17, 2022
@denelon
Copy link
Contributor

denelon commented Jun 17, 2022

This issue has been reported to EdgeWebView2:

@denelon
Copy link
Contributor

denelon commented Jun 28, 2022

I've submitted a modified manifest:

This should help with the upgrade scenario in terms of detecting if the existing install is either user or machine based.

The error is a result of attempting to upgrade a machine-based install with user context.

We have other work in progress to detect when a package is already installed in the event the user runs winget upgrade <package> to switch over logically to the upgrade flow.

@denelon
Copy link
Contributor

denelon commented Jun 29, 2022

@Dmole can you try again? The changes I submitted have been merged.

@denelon denelon added the Needs-Author-Feedback This needs a response from the author. label Jun 29, 2022
@Dmole
Copy link
Author

Dmole commented Jun 29, 2022

Edge can be upgraded in 4 ways (windows,edge,winget,manual), so instead of testing on a fresh VM, I'll just close this issue for now.

@Dmole Dmole closed this as completed Jun 29, 2022
@D4r3E-1v1l
Copy link

This might help. I found that there is a app called 'Microsoft game input' in the control panel. I uninstall it and I can uninstall one drive without any error code(including 2147747483)

@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Installer-Error The package installer is returning an error Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback This needs a response from the author.
Projects
None yet
Development

No branches or pull requests

5 participants