File-New-Project / EarTrumpet

EarTrumpet - Volume Control for Windows
https://eartrumpet.app
Other
9.03k stars 515 forks source link

EarTrumpet won't open #1616

Closed Jonfer999 closed 1 week ago

Jonfer999 commented 1 month ago

Summary

The app's simply not opening, I already tried reinstalling it multiple times (uninstall with windows configurations, microsoft store and revo uninstaller; install with microsoft store, winget and dev version), but nothing changed. When I try opening the app, it creates a proccess in the "details" tab on task manager that stays for ~3 seconds and then vanishes, and I already checked that the app is enabled on startup via task manager

Steps to reproduce

Opening the app

EarTrumpet version

Latest, can't check

Windows version

10.0.19045.5011

Additional information

No response

riverar commented 1 month ago

Can you find any EarTrumpet events in Event Viewer > Windows Logs > Application?

Jonfer999 commented 1 month ago

Yes, I opened the event viewer and tried opening the app, which netted me 2 errors and 1 information logs. I'm attaching them on this answer (I wanted to attach it as .evtx, but github doesn't support it so i compressed and did it with a .zip) EarTrumpet Events.zip

riverar commented 1 month ago

I see.

Informações da Exceção: System.TypeInitializationException
   em EarTrumpet.App.set_HasIdentity(Boolean)
   em EarTrumpet.App.OnAppStartup(System.Object, System.Windows.StartupEventArgs)
   em System.Windows.Application.OnStartup(System.Windows.StartupEventArgs)
[...]

Some sort of Windows (AppModel) bug is surfacing up; sounds like your Microsoft Store or Store apps are not healthy. Anything unusual happening on this machine? Or any customization software installed?

Alternatively, you can try alternate installation methods listed here to rule out the Microsoft Store https://github.com/File-New-Project/EarTrumpet?tab=readme-ov-file#install

Let me know how it goes!

Jonfer999 commented 1 month ago

Nothing really exceptionally weird happening. I had some lag with the Xbox app yesterday and had to reinstall LoL the day before, but no issues with those apps today. I tried resetting the Microsoft Store with both cmd and wsreset.exe, and with powershell(admin)

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

And

Get-appxpackage -all shellexperience -packagetype bundle |% {add-appxpackage -register -disabledevelopmentmode ($_.installlocation + “C:\Program Files\WindowsApps\Microsoft.Windows.ShellExperienceHost_1.0.0.2_neutral_ShellExperienceHost.laac0539cc_8wekyb3d8bbwe\AppxManifest.xml”)}

The app’s still not opening. I already tried sideloading with winget, but I don’t really know how to do it with chocolatey to test it that way

riverar commented 1 month ago

Try downloading https://packages.chocolatey.org/eartrumpet.2.3.0.nupkg, rename to .zip, and just extract it into a folder somewhere on disk. Run EarTrumpet.exe. I presume that works great.

Jonfer999 commented 1 month ago

Still no luck. Tried extracting at the downloads folder (which’s on D drive on my machine) and then tried again extracting at the program files folder (which’s on C drive)

Jonfer999 commented 1 month ago

Managed to solve the issue by (re)installing .NET Framework via microsoft's site, since the windows update couldn't catch the need for an update (but did one after the installation)

riverar commented 1 week ago

Thanks for following up @Jonfer999!