Exposing an EXE directly via a web link is if not properly isolated:
Allows administrators to publish individual applications (RemoteApps) rather than a full desktop. Users click a web link, log in, and run the EXE inside their browser window. convert exe to web application link
Several commercial and open-source tools aim to automate the migration of Windows desktop applications to web platforms: Exposing an EXE directly via a web link
I can then recommend the most cost-effective tool or migration path for your specific needs. Share public link convert exe to web application link
If you choose the code migration path: