tags:

views:

220

answers:

2

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.

A: 

Did you find an answer to this? I have tried different MIME types and can't seem to get it working either...

NOTE: This is not a duplicate of http://stackoverflow.com/questions/1759850/clickonce-file-association ... The other question had to deal launching the application directly (and not the ClickOnce installer). This question has to do with launching ClickOnce (installer or otherwise) via downloading an associated file from a website (but clicking "open" in the "open or save" dialog box).

dtkujawski
A: 

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.

RobinDotNet
Is there a known setting that will allow you to give privileges to this?
mstrickland