Additional note , the above goes mainly for unpacked UWP files (also my launchers)
Packed ones (aka *.appx or *.eappx container) brings some issues, especially the encrypted ones (like forced use of C:\Program Files\WindowsApps folder)
When they are packed the install command should link to the the (e)appx instead ... and the AppManifest.xml file is inside that package.
No clue if the AppManifest.xml is reachable in *.eappx (encrypted one)
Also: UWP Redists .. aka Store, Xbox app and stuff (some people have Win10 without Storeapp)
Code:
http://www11.zippyshare.com/v/LjCBTvSq/file.html