-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Command-InstallIssue related to WinGet InstallIssue related to WinGet InstallIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateIssue is a duplicateIssue is a duplicate
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget install
Brief description of your issue
winget fails to install new update of package Microsoft.AppInstaller.
Steps to reproduce
# Running as admin:
# winget install -e --id 'Microsoft.AppInstaller'
Found an existing package already installed. Trying to upgrade the installed package...
Found App Installer [Microsoft.AppInstaller] Version 1.27.440.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
Microsoft.VCLibs.Desktop.14 [>= 14.0.33728.0]
Microsoft.VCLibs.14 [>= 14.0.33519.0]
Microsoft.WindowsAppRuntime.1.8 [>= 1.8.0]
(1/2) Found Microsoft Visual C++ 2015 UWP Runtime Package [Microsoft.VCLibs.14] Version 14.0.33519.0
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
Extracting archive...
Successfully extracted archive
Starting package install...
████████████████████████████▌ 95%
Successfully installed. Restart the application to complete the upgrade.
(2/2) Found Windows App Runtime 1.8 [Microsoft.WindowsAppRuntime.1.8] Version 1.8.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://aka.ms/windowsappsdk/1.8/1.8.251106002/windowsappruntimeinstall-x64.exe
██████████████████████████████ 101 MB / 101 MB
Successfully verified installer hash
Starting package install...
Successfully installed
Successfully verified installer hash
Starting package install...
████████████████████████████▌ 95%
An unexpected error occurred while executing the command:
0x800704c7 : The operation was canceled by the user.
# Checking Error message:
# err 0x800704c7
# No results found for hex 0x800704c7 / decimal -2147023673
# as an HRESULT: Severity: FAILURE (1), FACILITY_WIN32 (0x7), Code 0x4c7
# for hex 0x4c7 / decimal 1223
ERROR_CANCELLED winerror.h
# The operation was canceled by the user.
# 1 matches found for "0x800704c7"
Expected behavior
That installing new updates works, or at least gives a sensible error message
Actual behavior
Fails
Environment
# winget --info
Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.7462
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.350.0
Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
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
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy DisabledReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Command-InstallIssue related to WinGet InstallIssue related to WinGet InstallIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateIssue is a duplicateIssue is a duplicate