ClickOnce File will not associate on open from web browser download
I have a ClickOnce program that associates with a given extension and that works fine if the file is located on the file system. My problem comes in when this file 开发者_如何学运维is downloaded from a website. I have a web handler that prompts the user to Click to download the file. Upon clicking the link the user is presenter with an Open or Save Dialog. If the user chooses Open the program will not launch. If the user saves the file to their hard drive and then clicks the file the association will work.
Any advice on getting the association to work on the prompt when the user clicks Open or is a Save required?
-Edit : Tested this on both IE8 and Chrome with same result.
The problem is that Internet Explorer does not have vision into the file associations set for ClickOnce. That's why clicking on it from Internet Explorer doesn't work, but saving it to disk and opening it in Windows does work.
I would bet the problem is one of security and administrative privileges, which ClickOnce applications do not have.
精彩评论