winutil icon indicating copy to clipboard operation
winutil copied to clipboard

winget failed to install

Open Grimmrp2 opened this issue 2 years ago • 12 comments

When i run the tool i get winget failed to install

running powershell as admin on win 11

image

Grimmrp2 avatar Feb 01 '24 00:02 Grimmrp2

Did U try WinGet reinstall? fix

Garou3299 avatar Feb 01 '24 16:02 Garou3299

Did U try WinGet reinstall? fix

I'll give it a try thanks

Grimmrp2 avatar Feb 01 '24 19:02 Grimmrp2

install winget from microsoft/winget-cli repo,

petterssonjonas avatar Feb 02 '24 17:02 petterssonjonas

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:

possumdoe avatar Feb 06 '24 01:02 possumdoe

winget failed updating to latest winget. but when installing anyapp. Winget failed to install.

maxy3d avatar Feb 06 '24 20:02 maxy3d

I think winget is just broken.(See image below)

image It won't install a package by microsoft.

TheAnonymousXII avatar Feb 06 '24 22:02 TheAnonymousXII

@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

possumdoe avatar Feb 07 '24 02:02 possumdoe

Same for me, I get error with every app I try to install. I tried to reinstall winget but nothing changed

Screenshot 2024-02-07 080431

PS C:\Users\Max> winget -v v1.6.3482 PS C:\Users\Max>

ghost avatar Feb 07 '24 07:02 ghost

Same, Get installed works, but trying to install package no, either win 10 or win 11 (latest updates)

ubrider avatar Feb 07 '24 10:02 ubrider

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. chris-titus-tech-install

nkap90 avatar Feb 07 '24 12:02 nkap90

Closed due to inactivity

github-actions[bot] avatar Feb 22 '24 00:02 github-actions[bot]

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

clfmoher avatar Feb 06 '25 16:02 clfmoher