winget failed to install
When i run the tool i get winget failed to install
running powershell as admin on win 11
Did U try WinGet reinstall?
Did U try WinGet reinstall?
I'll give it a try thanks
install winget from microsoft/winget-cli repo,
Seems related to issues #1557 and #1571
I link the response from the other issue: https://github.com/ChrisTitusTech/winutil/issues/1571#issuecomment-1928638539
Maybe next time include a bit more informations, like the version of winget and some logs :wink:
updating to latest winget. but when installing anyapp. Winget failed to install.
I think winget is just broken.(See image below)
It won't install a package by microsoft.
@Grimmrp2 try attaching more informations like:
- the output of
winget --info - the logs of the script failed run
@TheAnonymousXAlt try reporting directly to winget-cli
Seems like there is an existing open issue related to your error https://github.com/microsoft/winget-cli/issues/4099
Same for me, I get error with every app I try to install. I tried to reinstall winget but nothing changed
PS C:\Users\Max> winget -v v1.6.3482 PS C:\Users\Max>
Same, Get installed works, but trying to install package no, either win 10 or win 11 (latest updates)
I have exactly the same Winget version and failed to install error as the people above and no solution yet. The Winget reinstall does not fix it. I use Window 11 Pro (fresh install, latest updates).
Some extra info:
- The output of winget --info: PS C:\Windows\system32> winget --info Windows Package Manager v1.6.3482 Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.3085 System Architecture: X64 Package: Microsoft.DesktopAppInstaller v1.21.3482.0
Winget Directories
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag… User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett… 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
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
- The logs of the script failed run 2024-02-07 13:09:54.403 [CORE] WinGet, version [1.6.3482], activity [{3122D7E7-CA9F-4089-991D-D8826A1B5017}] 2024-02-07 13:09:54.403 [CORE] OS: Windows.Desktop v10.0.22631.3085 2024-02-07 13:09:54.403 [CORE] Command line Args: "C:\Users\Niels\AppData\Local\Microsoft\WindowsApps\winget.exe" --version 2024-02-07 13:09:54.403 [CORE] Package: Microsoft.DesktopAppInstaller v1.21.3482.0 2024-02-07 13:09:54.403 [CORE] IsCOMCall:0; Caller: winget-cli 2024-02-07 13:09:54.410 [CLI ] WinGet invoked with arguments: '--version' 2024-02-07 13:09:54.410 [CLI ] Leaf command to execute: root 2024-02-07 13:09:54.410 [CLI ] Executing command: root 2024-02-07 13:09:54.410 [CLI ] Leaf command succeeded: root
Hope someone can help, if there is any other information needed, please let me know.
Closed due to inactivity
I ran chris titus utility and has the following config > winget reinstall:
Start-Process : This command cannot be run due to the error: %1 is not a valid Win32 application. At line:5506 char:5
-
Start-Process -FilePath "choco" -ArgumentList "install winget -y ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
- FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
keep getting 0x80072efd when I run: winget source add --name winget https://winget.azureedge.net/cache error 0x80072ee7
