We have a Citrix .ica file icon that will be placed on a web page. Is there a way to detect if a pc has the Citrix client installed?

Our end goal is to display a message at the bottom of the page with a link to install the Citrix client from our network share. But we only want to the message to display if the client pc doesn't have the Citrix client installed.

Thanks in advance!