How to determine if NET framework is already installed RRS feed

  • Question

  • Hi i read many topics on this on line but i thought i should ask here were i will get the most informed answer.I am distributing NET framework 3.5 SP1 with my application which needs it and i need to determine if this particular version (or a newer when it gets released) is already installed. So far i am checking for a registry key namely :

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\SP

    If the content of that value is empty or 0 i am assuming that i need to install the new version.

    Can you please tell me what is the proper way of determining if SP1 3.5 is installed?

    Monday, January 26, 2009 5:42 PM