Detect .Net framework in batch file


  • Does anyone know how to detect .NEt framework (Any 2.0 or 3.0 or 3.5) is installed or not on your machine in batch file?

    In my case, I managed number of conditions in batch file before running actual application setup. My Application requires .Net framework 2.0 or higher to run application so If .Net framework is not installed on machine then batch file process will install .Net framewrok before installing actual application otherwise it skips it.
    Saturday, January 10, 2009 9:40 AM


All replies