Mohasin
Mohasin

Reputation: 1

How to open an .exe file using gwt?

I am using gwt to develop java project. I want to open .exe file that is installed on client machine. I have searched on internet but didn't find a suitable solution.

Upvotes: 0

Views: 248

Answers (2)

KiKMak
KiKMak

Reputation: 855

No its not possible

At least it is not specific for GWT in comparison with other Javascript ways to do this. i.e : If there is a way to do this then it is a huge bug and security flaw in the browser.

You can offer the file for download and let the user execute it. But I guess that is not what you want.

Upvotes: 1

Andrei Volgin
Andrei Volgin

Reputation: 41100

You cannot access any files on a user's computer from a web browser. Otherwise, every computer in the world could be be easily hacked.

You can offer a user to install a program, and then ask this user to start this program, but you cannot install and run this program yourself.

Upvotes: 1

Related Questions