This is a dependency module for Setup Factory, and can be used to check for the .NET Framework 4.0 on the target computer. You can use the full web installer (dotNetFx40_Full_setup.exe) or the Client Profile web installer (dotNetFx40_Client_setup.exe) to download and install the proper binaries for the .NET Framework, and will add less than 1 MB to your installer in either case.
If the .NET Framework 4.0 cannot be found by the dependency module or is outdated, the bootstrapper will be started in passive mode, displaying some progress screens as data is being downloaded. After the framework finished installing, your installer will continue. If a reboot is required after the installation of the framework, the installer will resume after the reboot.
This dependency module will install the .NET Framework 4.0 on Windows 7, Windows Server 2003 SP2+, Windows Server 2008 (and R2), Windows Vista SP1+ and Windows XP SP3. It requires that Windows Installer 3.1 is already present on the target system.
Also included here is a dependency for the Windows Imaging Component, which is a blocking requirement for .NET 4.0 on Windows XP and Windows Server 2003. Before attempting to install .NET 4 on these platforms, you may want to check that the WIC is installed.
Feel free to modify the detection/installation scripts further, if you need or wish to. Just add the dependency module to your project (as shown in the image below) and you are done. Both platform installers are already included in this setup, no further downloads are needed.
Don't have Setup Factory?
If you want to purchase a license for Setup Factory 9, now is a good time! You can get 10% off the list price simply by clicking the banner below: