Out of interest it has to do with the version of the run-time CLR rather than the framework (which has the runtime as well as bas libraries etc,).
LV2012 and earlier - use CLR 2.0 (which exists in .NET Framework 2.0 - 3.5)
LV2013 and later - use CLR 4.0 (which exists in .NET Framework 4.0 and later - 4.6.2 inclusive)
You can easily download the .NET Framework 3.5 offline installer and add this install to your installer as an action. You can run the offline installer in "silent mode" so that it installs or bypasses if installation already exists.