I have a site and windows application and want to run my .exe app from my site when click button. It is possible?
Asked
Active
Viewed 3,966 times
0
-
2Does this answer your question? [Running .exe from Javascript](https://stackoverflow.com/questions/3152482/running-exe-from-javascript) – mr. pc_coder Jul 08 '20 at 10:19
-
Run on a client or on a server? :) – Yury Tarabanko Jul 08 '20 at 10:21
-
[How to run .exe file or .bat file based on button click event using Javascript](https://stackoverflow.com/questions/36104713/how-to-run-exe-file-or-bat-file-based-on-button-click-event-using-javascript?answertab=active#tab-top) – Hackoo Jul 08 '20 at 10:24
-
@pc_coder it is not working on chrome, firefox and opera – Илья Кузьмич Jul 08 '20 at 10:24
-
@YuryTarabanko on client – Илья Кузьмич Jul 08 '20 at 10:25
-
@ИльяКузьмич You can run it just on the client with HTA and not with HTML – Hackoo Jul 08 '20 at 10:28
1 Answers
3
check this out:
How to run local program (exe) via Chrome via HTML/javascript
lets take for example zoom app:
this is the windows registry: registry imag you can see the windows registry by typing reg in windows search. there open the "HKEY_CLASSES_ROOT" by clicking the arrow next to it, and then look for "zoommtg", and you will get working example that you can examine!
and this is the zoom webpage to launch the zoom app: zoom webpage

David Peer
- 150
- 1
- 1
- 12
-
I don't understand how this works. How I can call created URI from js? For example, I tried to call Zoom URI and it does not work. – Илья Кузьмич Jul 08 '20 at 12:40
-
you can run it from js if it was created let us say when you installed zoom app for example! as far as i know you can not write to the registry from browser js. in the past you could but it is not supported anymore. – David Peer Jul 09 '20 at 10:46