How to check whether a software is installed in the client machine from IE?  
Author Message
swadeep





PostPosted: JScript for the .NET Framework, How to check whether a software is installed in the client machine from IE? Top

Hi,

My requirement is something like this:

I need to create a web page. When a user access this web page, I need to check whether certain software is present or installed in the user's machine. How can I achieve this, can I do this using Javascript If yes, how can this be achieved and if not how can this be achieved

Thanks,

Swadeep



.NET Development32  
 
 
Zhiwen Li - MSFT





PostPosted: JScript for the .NET Framework, How to check whether a software is installed in the client machine from IE? Top

This really depends...

Firstly we need to make sure that the software is registered, say, in the registry with GUID, ideally this is installed by msi or other redist, so could run the package tool to check or you have to directly look up the registry. For example, if your software is installed by msi, run msiexec with some options and product GUID to check the returned code, if the software is installed, it might return some postive info as you expect it. Ultimately you may need to make sure the where the product guid is in the registry , and use tool to look it up.

Secondly since you need to access remote machine, you need a way to achive that, usually WMI might do it. Check some WMI examples, it will show you. find one example here: http://gethelp.devx.com/techtips/nt_pro/10_minute_solutions/10minNT0901-3.asp