5

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

3

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

| improve this answer | |
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!

| improve this answer | |
  • You actually DO understand where the main executable is, given that your screenshot shows that you found it. Its just that the APP model requires launching it through the framework, which is why the target is a weird string, followed by !app. Windows 10 understands this and launches the correct way to run the app. That's also why security measures are in place trying to prevent you from accessing it. Sort of anti hack attempt from Microsoft. That's all that matters. – LPChip Oct 1 '18 at 13:14
  • The main executable is probably a runner that Windows has. UWP apps aren't apps - they're instructions for the runner to execute. So there is no EXE, the shortcut just starts the runner and points it to the application. Correct me if I'm wrong, I haven't used UWP apps and this is just a guess. – Dev Oct 2 '18 at 7:35
  • My challenge was getting this to open from Firefox's file handler. This answer got me most of the way there. Firefox cannot select the *.lnk file as a handler. In addition, I created a runfile.cmd file with the contents start "C:\Users\Me\Desktop\Application.lnk" "%1" – maxwellb Feb 18 at 15:15
0

Although there is no single exe file but still if you want to start a UWP app from terminal then here is a wounderful guide: https://www.addictivetips.com/windows-tips/open-uwp-apps-from-command-line-windows-10/

| improve this answer | |
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – MMM Jan 31 at 10:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.