For a few days the Xbox app would hang when I tried to access most games, and wouldn't restart unless I restarted my PC. So I tried uninstalling the app, and now I can't reinstall it.
I've tried downloading and running the XboxInstaller program from https://www.xbox.com/en-US/apps/xbox-app-for-pc, and it seems to be working for a little while but then just crashes with no explanation. If I look at Event Viewer, I see these errors:
and
If I try to install the Xbox App from the Microsoft Store app it just hangs, and I get this error in Event Viewer:
I've tried every solution listed at https://windowsreport.com/xbox-app-windows-10-wont-open/ and it still won't install.
Any help you can provide would be greatly appreciated.