By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,805 Members | 1,273 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,805 IT Pros & Developers. It's quick & easy.

Detect windows client software installed on a client machine

P: n/a
Raj
Hi All,
Is it possible to detect if a client software is installed on a
machine using browser javascript.

we are building a web/windows software and when the user logs into
the web application, we want to detect if our software is installed on
the client machine and if so we want to provide more access, or else
we want to give the user a limited access to the web site

Thanks in Advance
Raj
Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In article <26**************************@posting.google.com >,
ph*********@yahoo.com says...
Hi All,
Is it possible to detect if a client software is installed on a
machine using browser javascript.

we are building a web/windows software and when the user logs into
the web application, we want to detect if our software is installed on
the client machine and if so we want to provide more access, or else
we want to give the user a limited access to the web site


var mySoftware = confirm("Is our software installed on your machine?");

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
Jul 23 '05 #2

P: n/a
Raj wrote:
Hi All,
Is it possible to detect if a client software is installed on a
machine using browser javascript.

we are building a web/windows software and when the user logs into
the web application, we want to detect if our software is installed on
the client machine and if so we want to provide more access, or else
we want to give the user a limited access to the web site

Thanks in Advance
Raj


Short answer is no... you could try cookies but there is no guarantee
that the user allows them or keeps them... If the user has your software
installed then *maybe* someone in some windoze newsgroup might be able
to tell you how to change the registery whereby mime-types or other such
info sent with browser headers *might* help tell you this info - However
javascript security prohibits any other method of you tinkering /
peeking under the hood of a windoze box... If you wanted to be evil, you
could try ActiveX but I deny them no matter who signs them...

randelld
Jul 23 '05 #3

P: n/a
Raj wrote:
Hi All,
Is it possible to detect if a client software is installed on a
machine using browser javascript.

we are building a web/windows software and when the user logs into
the web application, we want to detect if our software is installed on
the client machine and if so we want to provide more access, or else
we want to give the user a limited access to the web site

Thanks in Advance
Raj


Have your software modify

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Internet
Settings\User Agent\Post Platform

and add a "String" value that uniquely identifies your application. It
will then be sent as part of the HTTP_USER_AGENT sent with each request
from IE (assuming the user is using IE and that they haven't tinkered with
values themselves). You only need give the "Name" of the key/value pair
the information you want to display, the "Data" portion is ignored.

--
| Grant Wagner <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* Netscape 6/7 DOM Reference available at:
* http://www.mozilla.org/docs/dom/domref/
* Tips for upgrading JavaScript for Netscape 7 / Mozilla
* http://www.mozilla.org/docs/web-deve...upgrade_2.html
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.