I need to install .net framework 4 before installing my app. I use Wix 3.8. In bootstrapper i use this
<Chain>
<PackageGroupRef Id="NetFx40Redist"/>
<MsiPackage Id="MyApplication" SourceFile="$(var.MyApplicationSetup.TargetPath)"/>
</Chain>
But, this don't install .net Framework without loading it from internet. I need to install it offline. I can include in chain ExePackage, and it starts install framework offline, but it starts as isolated application(if i click cancel in install window, installation of framework will continue). So how, i can install framework using wix offline?