title: vbscript to check if .net 2.0 is installed
body: <p>can you share a vbscript which checks if .NET 2.0 is installed on a machine.</p>
  
  <p>I did a search on the web and the most of the such "check if .net is installed" applications are just look up for a particular registry keys thus ignoring the fact the the installation could be corrupted.</p>
  
  <p>Basically I am looking for script which tries to create a .NET object (which should be surely createable - e.g. System.Object) and if it failes - .NET either is not installed or the installation is corrupted (thus no better than having no .NET installed at all).</p>