问题
I know that Windows start menu's item is link file ever.
In
ProgramData\Microsoft\Windows\Start Menu
linked file exist.
But UWP tile app is not.
Where is linked that app's executable file?
Almost tile is
Program Files\WindowsApps
but not all. And I can't access this folder normally.
Can I get this file info linked in program code like C++?
Additionally Windows 8's Metro App also...
回答1:
You may have desktop app dev experience, but link to the app using Shortcut pointed to a file is not the right direction in UWP dev.
And you found that the installation of UWP apps are in the hide folder "Program Files\WindowsApps", but if you send a installed app's .exe file to DeskTop (create shortcut) and double click this shortcut, the following error will be shown:
This application can only run in the context of an app container.
So:
Can I get this file info linked in program code like C++?
The answer is no. But if you need to launch an UWP app from your code, you can refer to Launch the default app for a URI.
来源:https://stackoverflow.com/questions/38005912/where-linked-uwp-tile