开发者

ClickOnce File will not associate on open from web browser download

开发者 https://www.devze.com 2022-12-12 01:23 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消