The only solution that I can think of is to apply the principle of other locally installed programs that are started by clicking a link on a web page (e.g. Skype, RealPlayer, etc.).
If web page contains a link in a form <a href="skype:SkypeID"> on a computer that has Skype installed it will start Skype (and make a call to SkypeID), on other computers an error will be generated:
--------------------------
The webpage cannot be displayed
Most likely cause:
Some content or files on this webpage require a program that you don't have installed.
--------------------------
I do not know how you associate a protocol to the program (e.g. link <a href="myprotocol:something"> starts your program) but I'm sure that you can find it on expert-exchange on some other forum.
HTH