I want to pass .net version as parameter in .inf file and check whether the framework is installed on the machine.

ex.
[autorun]
OPEN=autorun.exe v2.0.50727

it should check availability of .Net 2.0.
Can I do it using shellExecute? If not.. Any suggestion???