Welcome to Microsoft Q&A!
is it OK to download another exe file (not from MS store) and run it?
There are two questions here. First, you could download what you want in your UWP app. This is allowed. There is no limitations to this.
Second, you want to launch an exe file from your UWP app. There are two different scenarios for this question.
- you have packaged already the exe file inside your package. This could be done with FullTrustProcessLauncher Class.
- This is the scenario that you are facing now, you want to launch a exe file that is not packaged inside the project and it might be placed in some other places. In this scenario, you can't directly launch the exe file from the UWP. You could do this in a desktop app for example, a console app. Then package the console app together with the UWP app using desktop bridge. The UWP app launches the console app(This is exactly the first scenario) and the console app could launch the exe file.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.