-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft Store Destroy Microsoft.DesktopAppInstaller #4979
Comments
Could you try using the Repair-WinGetPackageManager cmdlet from the Microsoft.WinGet.Client PowerShell module?
|
I am in this same boat with the same errors after the November 2024 Patch Tuesday. Will watch for wisdom and/or answers. |
same here
repair fails:
|
I'm adding the full output from my Repair-WinGetPackageManager , interesting is different from @brempusz output : Repair-WinGetPackageManager -Force -Latest -Verbose -AllUsers
|
In my case it has been solved. After starting the Windows Store, "app installer" and "WindowsAppRuntime.Singleton" have been updated, after that, everything worked normally. I leave the thread open in case any of those who had the same problem want to update the information. |
This fixed itself for me this morning. After Microsoft Store updated WinAppRuntime.Singleton, it was able to update other applications. |
|
My Micrtosoft.DesktopAppInstaller are broken... now im in a loop. PS C:\Windows\system32> whereis winget
whereis : The term 'whereis' 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
+ whereis winget
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (whereis:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> where winget
PS C:\Windows\system32> Get-AppPackage Microsoft.DesktopAppInstaller
PS C:\Windows\system32> Import-Module Microsoft.WinGet
Import-Module : The specified module 'Microsoft.WinGet' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module Microsoft.WinGet
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (Microsoft.WinGet:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
Add-AppxPackage -Path "C:\Users\Admin\Downloads\Microsoft.DesktopAppInstaller_2024.1108.1842.0_neutral_~_8wekyb3d8bbwe.Msixbundle" -ForceApplicationShutdown
Get-AppPackageLog -ActivityID 035f3451-3ac7-0021-e25e-5f03c73adb01
PS C:\Users\Admin\Downloads> Get-AppPackageLog -ActivityID 035f3451-3ac7-0021-e25e-5f03c73adb01
.....
19/11/2024 18:44:25 802 Deletion of registry key: Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\S-1-5-21-1250557391-2919243731-1904298097-1004\Microsoft.DesktopAppInstaller_2024.1108.2107.0_neutral_~_8wekyb3d8bbwe failed with error: 0x0.
19/11/2024 18:44:25 802 Deletion of registry key: Software\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\S-1-5-21-1250557391-2919243731-1904298097-1005\Microsoft.DesktopAppInstaller_2024.1108.2107.0_neutral_~_8wekyb3d8bbwe failed with error: 0x0.
19/11/2024 18:44:25 325 error 0x8007139F: While preparing to process the request, the system failed to register the windows.applicationData.undocked extension due to the following error: The group or resource is not in the correct state to perform the
requested operation.
.
19/11/2024 18:44:25 8761 AppExecutionAlias directory missing, error code is 0x8007010B.
19/11/2024 18:44:25 8761 AppExecutionAlias directory missing, error code is 0x8007010B.
19/11/2024 18:44:25 8761 AppExecutionAlias directory missing, error code is 0x8007010B.
19/11/2024 18:44:25 8761 AppExecutionAlias directory missing, error code is 0x8007010B.
19/11/2024 18:44:25 6803 error 0x8007139F: The following error occured while preparing the windows.appExecutionAlias extension in the Microsoft.DesktopAppInstaller_1.24.25180.0_x64__8wekyb3d8bbwe package for update or removal: The group or resource is not
in the correct state to perform the requested operation.
.
19/11/2024 18:44:25 605 The last successful state reached was MachineRegisterRemove. Failure occurred before reaching the next state De-Indexed. hr: 0x8007139F
19/11/2024 18:44:25 751 Windows failed to undo changes with error code 0x8007139F to package Microsoft.DesktopAppInstaller_1.24.25200.0_neutral_split.scale-100_8wekyb3d8bbwe. The package needs to be reinstalled.
19/11/2024 18:44:25 300 error 0x8007139F: Cannot register the Microsoft.DesktopAppInstaller_8wekyb3d8bbwe package due to the following error: The group or resource is not in the correct state to perform the requested operation.
.
19/11/2024 18:44:25 472 Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_2024.1108.2107.0_neutral_~_8wekyb3d8bbwe to \\?\C:\Program
Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_2024.1108.2107.0_neutral_~_8wekyb3d8bbwebd4caa04-c34f-489c-ac90-bbc697b3a1f9. Result: 0x0.
19/11/2024 18:44:25 472 Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.25.40.0_x64__8wekyb3d8bbwe to \\?\C:\Program
Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_1.25.40.0_x64__8wekyb3d8bbweb0efb80c-0729-43a0-8c97-6a32bef4a144. Result: 0x0.
19/11/2024 18:44:25 472 Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.25.40.0_neutral_split.language-ru_8wekyb3d8bbwe to \\?\C:\Program
Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_1.25.40.0_neutral_split.language-ru_8wekyb3d8bbwe82ea8171-caa7-47c6-8a6b-7bd92ce94249. Result: 0x0.
19/11/2024 18:44:25 472 Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.25.40.0_neutral_split.scale-100_8wekyb3d8bbwe to \\?\C:\Program
Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_1.25.40.0_neutral_split.scale-100_8wekyb3d8bbwedc9e1197-5371-4fe5-94ce-57ec3d749f7e. Result: 0x0.
19/11/2024 18:44:25 472 Moving package folder \\?\C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.25.40.0_neutral_split.language-pt_8wekyb3d8bbwe to \\?\C:\Program
Files\WindowsApps\Deleted\Microsoft.DesktopAppInstaller_1.25.40.0_neutral_split.language-pt_8wekyb3d8bbwe0fea33b5-82ff-487f-8638-f6d6853e7f3a. Result: 0x0.
19/11/2024 18:44:25 10001 Finished servicing package Microsoft.DesktopAppInstaller_1.25.40.0_x64__8wekyb3d8bbwe. Setting the package state to enabled returned with 0x8007139F.
19/11/2024 18:44:25 10001 Finished servicing package Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe. Setting the package state to enabled returned with 0x8007139F.
|
Have you tried restarting your computer and updating everything from the Windows store? |
For me is also fixed now after "WinAppRuntime.Singleton" was successfully updated in MS Store. |
Does this recommendation (from winapp sdk repo) unblock your issue? |
Microsoft released a patch OS update for Windows 10 with the fix for the install / uninstall issue. Users might be unable to update or uninstall packaged apps on Windows 10 Updating the OS to the Below optional update will allow the user to uninstall in case if the corrupted version of the app is there. in certain cases, it automatically removes the corrupted app. allowing us to do a fresh install of the app again. |
Brief description of your issue
We come from here: #4794 (comment)
It seemed that the problems had already been solved, but new ones have arrived...
Windows Store has been updating the same 4 looping apps, every 2-3 days, for several weeks now, including the Desktop Installer. At some point this has burst and the desktop installer application has become unusable and with it winget as well.
I have put all the knowledge learned during the solution of the previous problem plus some new ones that I have acquired, but I cannot solve it. I think the problem may have something to do with temporary files, but I can't find out more.
Steps to reproduce
Anything that has to do with the package installer fails
Expected behavior
Normal functions
Actual behavior
Fail
Environment
The text was updated successfully, but these errors were encountered: