Is there a DOS command for verifying what version of .NET is installed

Posted by Travis on Stack Overflow See other posts from Stack Overflow or by Travis
Published on 2009-01-29T19:06:32Z Indexed on 2010/04/28 0:23 UTC
Read the original article Hit count: 317

Filed under:
|

I have set of scripts for doing scripted installs. You can use the scripts on any server 2008 machine. However, I need to check if .NET 3.5 has been installed (before the scripts run) using a dos batch file. Is that possible?

I know I can check if a file in the C:\WINDOWS\Microsoft.NET\Framework\v3.5 exists, but it would be nice to have something a little more reliable.

I would like to check if it's actually installed, not just if the dir/file exists.

Hope that makes sense.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about dos

Related posts about .NET