winget-cli: Install failed: An internal error occurred with error 0x800700B7
Brief description of your issue
winget install wingetcreate
fails
Steps to reproduce
not really sure. All i did was run winget install wingetcreate
Found Windows Package Manager Manifest Creator [Microsoft.WingetCreate]
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...
██████████████████████████████ 96%
Install failed: An internal error occurred with error 0x800700B7. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
0x800700b7 : Cannot create a file when that file already exists.
Expected behavior
it didn’t fail.
Actual behavior
it failed.
💖❯ winget install wingetcreate
Found Windows Package Manager Manifest Creator [Microsoft.WingetCreate]
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...
██████████████████████████████ 96%
Install failed: An internal error occurred with error 0x800700B7. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
0x800700b7 : Cannot create a file when that file already exists.
💖❯ Get-Command wingetcreate
Get-Command : The term 'wingetcreate' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Get-Command wingetcreate
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (wingetcreate:String) [Get-Command], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand
Environment
Windows Package Manager Manifest Creator version? (wingetcreate.exe -?)
n/a
Any other software?
Windows 10 Build 21390.1
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (7 by maintainers)
Yeah i got the .net 5 and it works directly.
The MSIX issue has been plaguing my windows install for some time. I realize this may not be an issue with winget-cli directly, but rather the AppInstallerCommonCore or AppInstallerCLICore, which are not open source to my knowledge. I have considered reinstalling but I would love to have this fixed. I have tried using a SYSTEM elevated shell to run icacls to reset the ACLs on certain microsoft store package directories with little success. If the error told me which file it failed to edit that would be super useful.