Of course you can. Include the required installation package and then Process.Start or even better: complete the installation and deployment project for your application and set the .NET 4.0 launch condition so that when someone tries to install it, they will check for .NET 4.0 and if not ask him to install:

Note: in the screenshot, .NET 4.0 is installed as a launch condition (step 4)
source
share