-
-
Notifications
You must be signed in to change notification settings - Fork 432
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
[BUG] WinGetUI fails to launch with no error message #2068
Comments
Please uninstall any "App Sdk" or "App runtime" or "XAML" entry you can find on Windows Settings. Then reinstall WingetUI |
I uninstalled 4 entries in Windows Settings | Apps... Windows App Runtime Singleton, Main, and DDLM x86/x64 NO CHANGE - fails with the same Access Denied error in Event Log Forgot to mention I'm on Windows 10 x64 22H2 |
Please go to Windows Settings -> Uninstall programs and find “.NET 8.0.x”. Uninstall this program. Then try to launch WingetUI again. If the issue does not work, please roll back to v3.0.0 and wait until I can fix this issue. |
v3.0.0 fails with the same issue I should also mention I have Visual Studio 2022 on this machine (as well as another one where WingetUI is working fine), and only found the .NET SDK 8.0.2 so I installed the runtime you linked and WingetUI still fails the same way |
I downloaded the source code and built it release and debug, and it also fails. The program '[21056] WingetUI.exe' has exited with code 2147942405 (0x80070005). I set a breakpoint at the first line of Main and AsyncMain and it didnt hit either |
For now I have gone back to v2.2.0 and it is working. |
A bit more info... I have WinGetUI 3.0.1 on two other machines... one is Windows Server 2019 and it is working fine there still. The other is similar to the first machine I reported the bug on (Visual Studio, Windows 10 22H2) and it is now not working either. So I'm guessing an update to the WindowsAppRuntime either via the store or Visual Studio 2022 has caused the issue? Neither Store or VS is on the Server. |
This is an issue with the app runtime, and therefore the entry point is not even reached, and the debugger does not reach WingetUI code. |
Unfortunately I have done that on both the machines that are exhibiting the problem. Since they both have Visual Studio 2022 on them configured for C#, .NET, and Windows Desktop App development, I am hesitant to remove too much. I have removed the latest versions of Windows App Runtime 5001 (Main, Singleton, DDLM x86/x64) that were installed/updated around March 14. On the one machine where WIngetUI 3.x still works, those were the only versions installed, where as the other two machines have older version of the Windows App Runtime that I am hesitant to remove because other software may be dependent on them. All machines have multiple versions of the Windows Desktop Runtime, including 8.0.3 which I believe is the new name for ".NET". On the other two machines with Visual Studio installed there are lots of SDK's, such as the .NET 8.x SDK that comes from Visual Studio. I have attached the winget list output from the good and the bad machine. Perhaps you can suggest other things to uninstall? |
This did not fix the issue for me. I uninstalled everything, and reinstalled WingetUI, and it still doesn't launch. This was even a clean Windows install. (Curiously it did work before I reinstalled Windows.) |
Yeah I feel like a big clue is that this version was working on both of my PC's until around March 14-16 approximately. Its hard to say for sure because I leave WingetUI running all the time. For sure it worked after the latest Microsoft Patch Tuesday on the 12th. I believe there was at least one Visual Studio 2022 update since then. |
For whatever reason it suddenly started working on my computer, even if I've seemingly made zero changes since last time I tried. The thick plottens. |
Hello, I have set a detailed guide on how to reset all WingetUI dependencies. Please follow it if WingetUI is still not working: |
I am having the exact same issue. WingetUI fails to launch, exiting with code -2147024891. There are several logs in Event Viewer from the Windows App Runtime, all saying access denied. I followed the guide you linked, but it didn't work. So yay! Also, I haven't been using WingetUI previously. I do have Visual Studio Community 2022 installed, along with the Windows SDK. Should I try uninstalling VS? Edit: I am on Windows 10 22H2, fully updated. I have not tried downloading WingetUI 2.2.0. |
Hello, What is the output and return code of installing this? https://aka.ms/windowsappsdk/1.5/latest/windowsappruntimeinstall-x64.exe |
Guess what, installing that thing fixed it! WingetUI opens up now! Thanks! |
Just a question. I used the .NET Runtime 8.02 you linked in your guide for resetting dependencies, and WingetUI shows an update for it (obviously). Should I install the update, or not? |
No, please do not |
Okay. I thought not, but I just wanted to be sure. Thanks for clarifying. |
Unfortunately this did not help me. |
`Installing license: MSIX_MAINPACKAGE_LICENSE Install License result : 0x0 Installing license: MSIX_SINGLETONPACKAGE_LICENSE Install License result : 0x0 All install operations successful.` |
Trh also running the installer as admin, please |
That was from an admin command prompt |
Currently running to all this issues from a fresh Windows 11 install. Tried all the steps from the guide and it didn't work. Curiously, 3.0.1 worked before resetting my machine. Currently, I downgraded to 2.2.0. |
Well, after Tuesday's Windows Updates and a VS 2022 update, WingetUI 3.01 is now working again! |
MS haa released .NET 8.0.4, most likely fixing the issue causing the crash |
Likely this issue? |
Hello, everyone, WingetUI 3.0.2 has been published. It fixes
WingetUI 3.0.2 can be downloaded directly from here. If the crashes persist, please reply here and I will reopen the issue. |
Forgot to mention: After I installed the Windows app runtime thing, WingetUI launched, but only if it was run as an admin. Just updated to 3.02, and now WingetUI launches just fine, even without admin privileges. 👍 |
Please confirm these before moving forward
Describe your issue
WinGetUI was working well after updating to v3.00, then I upgraded to v3.01 and it no longer launches. There is no message.
I have removed the app and the app's appdata folder and reinstalled and it is the same behavior
I have removed the appruntime and singleton as directed in a similar bug and it is the same behavior
In Windows Event Viewer | Windows | Applications there is this entry at the time I launched WinGetUI
Log Name: Application
Source: Windows App Runtime
Date: 3/30/2024 1:05:07 PM
Event ID: 5
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: GRR-SHOEK
Description:
Access is denied.
Event Xml:
5
0
2
0
0
0x80000000000000
228383
Application
GRR-SHOEK
Windows App Runtime
ERROR 0x80070005: Bootstrapper initialization failed while looking for version 1.5 (MSIX package version >= 5001.70.1338.0)
Steps to reproduce the issue
Launch the app, look at Task Manager and see it never starts
WingetUI Log
Package Managers Logs
Relevant information
No response
Screenshots and videos
No response
The text was updated successfully, but these errors were encountered: