Windows application is not opening in microsoft edge using javascript (same code works in IE)


  • We have created C++ windows desktop application which we invoke in our website using javascript code..

    window.location.assign("applicationname: -d " + id )

    applicationname : it's the installed application registry name.

    above code works in IE, Chrome, Firefox and Safari..

    but not in microsoft edge.

    if I uninstall the application and hit above code, pop comes up to check the application in microsoft edge, but if I install it and invoke above code,

    nothing happens.,

    it just gives me below info and warning :

    1. HTML1300: Navigation occurred.
    2. HTML1527: DOCTYPE expected. Consider adding a valid HTML5 doctype: "!DOCTYPE html>".

    same works perfectly fine in IE. 

    Please provide a solution asap as we have promised to support our web application on Microsoft edge too..

    Monday, February 26, 2018 2:52 PM

All replies

  • Hi Arti_Senapati,

    As far as I know, the location.assign will cause the window to load and display the document at the URL specified.

    It means will load another page's document.

    Do you call the application in that page?

    As far as I know, edge has more security feature than the ie11.

    We couldn't run activeX or other add-on in edge.

    I guess this may related with edge security setting.

    I suggest you could try to create an issue in below url.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Tuesday, February 27, 2018 6:28 AM