I am VB (6.0/.NET) programmer. I can create the setup package including the necessary .NET framework. So, when installing the application it will check whether the particular framework exist in the computer. If not, then the installer will automatically notify the end-user and install the framework first. For more information see PMB.