Shortcut to WindowsApps Stopped Working, Won't Start
ModernFlyouts Version
0.9.3
Windows version
Windows 10 22H2
OS build
19045.4780
Platform
x64
Area(s) with issue?
General, Installer
Steps to reproduce
This is unlikely something you will be able to reproduce, afaik. I had been using the app for a while. What may have lead to this error was restarting explorer, though. This particular restart broke something, and I noticed the moment things went wrong.
I was using a script to restart ModernFlyouts when it would crash. I had no issues running the script in the past. This were the commands I used:
powershell -windowstyle hidden -executionpolicy bypass -noninteractive & { $app = (get-appxpackage -name 32669SamG.ModernFlyouts | select -expandproperty PackageFamilyName) ; start shell:appsfolder\$app!App }
✔️ Expected Behavior
The app to start after installing, or from the Start menu.
❌ Actual Behavior
I am unable to start the app from the Start menu, or from after a reinstall, or from auto start. The only thing that works is going directly to: C:\Program Files\WindowsApps\32669SamG.ModernFlyouts_0.9.3.0_x64__pcy8vm99wrpcg\ModernFlyouts.exe and running the executable. I can create a shortcut to the EXE and it works.
Other Software
No response
Additional Context
I get this error when trying to start ModernFlyouts, pointing to C:\Program Files\WindowsApps\32669SamG.ModernFlyouts_0.9.3.0_x64__pcy8vm99wrpcg\ModernFlyoutsHost.exe
Microsoft Store gives Code: 0x80070005 and does not install the app: Event Viewer / Administrative Events:
0x80070005: Cannot create the process for package 32669SamG.ModernFlyouts_0.9.3.0_x64__pcy8vm99wrpcg because an error was encountered while preparing for activation. [LaunchProcess]
Source: AppModel-Runtime Event ID: 203 Level: Error User: SYSTEM
~~(is there a license expiration of some sort? that would make sense...)~~
License install storage failed for license Id 6d069be1-f57a-3e42-9647-28b9accae8b9 Type: 3 Package (if available): 32669SamG.ModernFlyouts_pcy8vm99wrpcg User Id(if available): Result code: 0x80070005
Source: Client-Licensing Event ID: 112 Level: Error User: SYSTEM
(I wasn't able to install the beta version at all either)
Reinstalling the app does not fix the issue. SFC/DISM/WSReset/Powershell re-register apps did not help. I don't have a restore point to use in System Restore.
If anyone has any ideas on how to fix this, appreciate it. Again, I can launch the program from the EXE, so it does work somewhat.
Permissions
Getting a different error now.
I tested installing on a different machine and had no issue. Seems like my system is just broken. I would like to keep this open for a while in case anyone has any ideas on how to fix it, but it might not be a bug, just a computer thing
I'll also add that there's a deal-breaker for the app, in that the settings are not saved when opening from the EXE file. This would be shame… Does anyone know if I can manually edit the config?