In this post, Kunal Chowdhury demonstrates the process of detecting the
Silverlight installation status using
JavaScript from the .hta file.
Source: Kunal's Blog
Recently, I wanted to detect the Silverlight version for one of my on going R&D. I wanted to detect the version from batch file and depending upon that I wanted to execute one file. Searching over internet I came to know that, HTML Application has some additional power for execution of any local file as it runs under fully trusted mode. I did more research on HTA files and successfully completed my basic analysis.