winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Update Troubleshooting issue "Executing winget doesn't display help"

Open vuongtuha opened this issue 1 year ago • 0 comments

Brief description of your issue

I got 1st and 2nd error messages on different system build Win 10 and 11. Follow the written guide:

  1. AppInstaller was already installed, but some build come with old version/didnt update
  2. App execution aliases were enabled
  3. Skip bcoz i didnt see the solution clear enough
  4. Develop opt is enabled and Sideload opt too

My suggestion: Add more info in case 3. I didnt get any trouble with the rest 3 cases, and none of msixbundle/appx file can be execute on my testing systems. I can fix it after reset AppInstall inside System App Settings. Assume that also add AppInstaller execution dir to $PATH or update AppInstaller There's another way to do this inside Powershell session: on Win 10: $Manifest = (Get-AppxPackage Microsoft.DesktopAppInstaller).InstallLocation + '\appxmanifest.xml'; Add-AppxPackage -DisableDevelopmentMode -Register $Manifest on Win 11: Get-AppxPackage Microsoft.DesktopAppInstaller | Reset-AppxPackage Ref to the place I got these cmd: https://4sysops.com/archives/fix-settings-app-crashes-in-windows-10-and-windows-11/ Looking for your reply!

vuongtuha avatar Apr 12 '24 02:04 vuongtuha