Windows: Where are the executables of apps installed from Store?

I installed an app from Windows Store. Now I want to pass its path (location) to another app (like Run window) to run it in response to an event:

enter image description here

But it doesn't exist in Program Files or Program Files (x86) and its shortcut (in Start menu or on Desktop) hasn't an option to open file location.

enter image description here

When I try Open file location by right-clicking on the process name in Task Manager:

enter image description here

Then encounter to permission problem (though the user is administrator):

enter image description here

And if I repeat the process, but from Details tab (of Task Manager):

enter image description here

Finally, I see a related executable file in Windows Explorer. But when try to open it directly:

enter image description here


Solution 1:

UWP type app no exe file like classic application. It's app package. You can read this article to understand it well.

Source: https://docs.microsoft.com/en-us/windows/uwp/packaging/packaging-uwp-apps

Solution 2:

UWP Apps such as Xbox Companion and others downloaded from the Windows Store do have an EXE, in fact some even have two or more. There’s a run command that opens a file explorer windows showing all the apps and you can even set as desktop shortcuts but copy and pasting them.

The file path to UWP apps has the hidden attribute in Program Files, which you would need to set the ability to see such files/folders via Folder Explorer Options. Then in the root of your C you should see a translucent like folder icon labeled Program Files\WindowsApps

Solution 3:

Pass shortcut's path to the runner (e.g. C:\Users\UserName\Desktop\AppShortcut.lnk). This worked and my problem solved. But I didn't understand where is main executable!