Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

create batch file for checking .net framework 3.5 sp1 is installed or not

I want to know how to create batch file for check .net framework 3.5 sp1 is installed or not in system.
Please Help.

like image 865
Vyasdev Meledath Avatar asked Dec 02 '10 12:12

Vyasdev Meledath


1 Answers

You can check if the folder %systemroot%\Microsoft.NET\Framework\v3.5 exists.

In your batch file, it could looks like:

IF EXIST "%systemroot%\Microsoft.NET\Framework\v3.5" ECHO File exists!

And here is a list of other possibilites: http://www.walkernews.net/2008/05/16/how-to-check-net-framework-version-installed/

like image 89
EvilMM Avatar answered Sep 30 '22 11:09

EvilMM