How do I test if the browser supports ClickOnce

robertb_NZ

Well-known member
Joined
May 11, 2010
Messages
146
Location
Auckland, New Zealand
Programming Experience
10+
MANASYS Jazz (http://www.jazzsoftware.co.nz) is deployed by ClickOnce: the user clicks the Run Jazz link and a dialog starts that downloads and installs the software. This works perfectly if the user's browser is Internet Explorer or Edge, and (as far as I can tell) Firefox, but does not work with Chrome unless the user has installed the Chrome ClickOnce helper.

I can find out which browser is handling the request from Request.browser.Browser, but how can I tell if it supports ClickOnce?

Thank you, Robert Barnes.
 
Thanks John. I was going to do what you suggest until (hopefully) somebody gave me an answer, but when I tested my code with W10/Edge I found that Request.Browser.Browser returned value "Chrome"!!! I wouldn't be able to distinguish Edge, which works, from Chrome, which doesn't, so I now produce an unconditional message:
"If you intend to download and install Jazz you may need to use a Microsoft Browser, or install ClickOnce support. You do not need to make this your default browser.
Click Setup for more information"

Regards, Robert.
 
Back
Top