The ClickOnce file will not be associated when opened from a web browser.

I have a ClickOnce program that is associated with this extension and works fine if the file is on the file system. My problem occurs when this file is downloaded from a website. I have a web handler that prompts the user to click to download a file. By clicking on the link, the user appears with the "Open" or "Save" dialog box. If the user selects Open, the program does not start. If the user saves the file on his hard drive and then clicks the file, the association will work.

Any tips on how to get the association to work with the invitation when the user clicks the Open or Save button?

-Edit: This is tested on both IE8 and Chrome with the same result.

+3
source share
1 answer

The problem is that Internet Explorer has no vision in the file associations set for ClickOnce. The fact that clicking on it from Internet Explorer does not work, but saving it to disk and opening it in Windows does work.

I would bet that the problem is one of the security and administration rights that are not in ClickOnce applications.

0
source

Source: https://habr.com/ru/post/1723671/


All Articles