Can we open .exe file in browser from server?

Jiroju 1 Reputation point
2021-02-09T04:52:52.577+00:00

I tried to use server opened exe file on edge, but it doesn't work. Server can't found the path of exe.
Please help me if this is possible to do.
Please guide me how can I implement this.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,124 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deepak-MSFT 2,191 Reputation points Microsoft Vendor
    2021-02-09T08:36:30.69+00:00

    @Jiroju ,
    I am not sure how actually you had tried to launch the exe file from the Edge browser.
    We can launch the 'Exe' file using ActiveX but modern browsers do not support ActiveX due to security reasons.
    So if you are directly trying to launch the exe from the Edge browser then it is not going to work.
    At present, ActiveX is only supported by the IE browser.
    You can try to visit the site in the IE mode in the Edge browser. IE mode supports the Activex.
    So in this way you can try to launch the exe from Edge browser.

    Example:

    65753-242.png

    Output:

    65734-209.gif

    In the above test result, you can notice that the web page is open in IE mode in the Edge browser. It uses the IE browser engine to render the page.

    You need to place the exe file on the target machine and you need to provide the local path to that exe file.

    Note:

    I try to provide you this information for learning purposes. As launching the exe file from the browser can cause security-related issues, I would not suggest you do it on your production site.

    ----------

    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.

    0 comments No comments