I think I found a solution.
I created two more Wix Burn projects, one for installing .NET4.5 and one for installing .NET4.0. Something like that:
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Name="Bootstrapper" Version="1.0.0.0" Manufacturer="VilmosNagy" UpgradeCode="844c755f-f02b-4dd3-8b9c-af2498f3128c">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"/>
<Chain>
<PackageGroupRef Id="NetFx40Web"/>
</Chain>
</Bundle>
</Wix>
.NET4.5. .exe. , Packagegroup, .exe, Windows. - :
<PackageGroup Id="DotNetInstall">
<ExePackage Id="Net45Installer"
Name="Net45Installer.exe"
InstallCommand="-q"
InstallCondition="VersionNT > v6.0"/>
<ExePackage Id="Net40Installer"
Name="Net40Installer.exe"
InstallCommand="-q"
InstallCondition="VersionNT < v6.1"/>
</PackageGroup>
.NET4.0 XP. Win7, (), .