检测客户端是否安装某个软件!!

有没有人知道,怎么检测客户端是否安装了某个软件!就像电影网站,如果本地没安装播放器,提示安装! 谢谢![color=darkblue][/color]

如果有插件可检测,否则不好检测。用try{}catch(e){}捕捉错误,若属于无此对象则可知道系统没有装该软件;若无错则可知已安装了该软件。
[code="javascript"]
try {

var a = new ActiveXObject('xxxx.xxxx'); //安装的组件
}

catch(ex) {

alert('没有安装此程序,请先下载');

top.location.href='http://xxx.xxx.xxx';

}
[/code]

[url]http://www.soidc.net/discuss/5/060607/16/446384_1.html[/url]

[url]http://www.soidc.net/discuss/1/050527/16/307077_1.html[/url]

[url]http://www.soidc.net/discuss/5/060404/13/44420_1.html[/url]

[url]http://blog.csdn.net/zhaoyc_59211/archive/2009/02/24/3933824.aspx[/url]