In my setup file I want to include .Net Framework 4.0
While installing the setup if my client does not have the .Net Framework 4.0 it has to download from the internet and should install it with the setup file.
How is this done for an application developed in WPF?