There a few approaches to your task.
However this will display both bootstrapper and product UI. I am planing to develop a customUI for the boostrapper that would show no window at all. This would achieve a silent deployment of .NET followed by your product UI. Though the silent butstrapper UI is not ready yet.
- You can use Bootstrapper (released a few days ago). In the Bundle class you can set .NET prerequisite:
var bootstrapper = new Bundle("My Product", new PackageGroupRef("NetFx40Web"), new MsiPackage(productMsi) { DisplayInternalUI = true });
- You can усе SimplifiedBootstrapper (sample included in the distro). It does exactly what you need but currently it doesn't cover web installation.