Vijay13
Vijay13

Reputation: 605

How to run .exe file from windows 8.1 store app?

I am developing a windows 8.1 store app and also, I have made an executable file for a matlab code.Now, is it possible to run an exe file from the app say for example when I press a button then it should start the executable? I have already searched on google and a lot of solutions are available for running an exe file using c# but I couldn't find anywhere how to run it from the app.

Upvotes: 3

Views: 3674

Answers (1)

Feru Maximus
Feru Maximus

Reputation: 91

As store apps run in sandbox mode so you can't launch file types that contain code or script if they are executed automatically by the operating system, such as, .exe, .msi, and .js files. This restriction protects users from potentially malicious files that could modify the operating system. You can use this method to launch file types that can contain script if they are executed by an app that isolates the script, such as, .docx files. Apps like Microsoft Word keep the script in .docx files from modifying the operating system.

you can see more details about it from this link.

Upvotes: 1

Related Questions