在WIX引导程序中嵌入.Net Framework安装程序可执行文件

在WIX引导程序中嵌入.Net Framework安装程序可执行文件,.net,frameworks,wix,bootstrapper,.net,Frameworks,Wix,Bootstrapper,有没有办法将.Net framework redist exe(dotNetFx40_Full_x86_x64.exe)嵌入到我的wix引导程序“Sedtup.exe”中 我的功能MSI已全部就绪嵌入到Setup.exe中。 如果可能的话,我想部署一个嵌入.Net framework的setup exe,以便与引导程序一起提供.Net安装程序。在引导程序中,在ExePackage上使用Compressed=“yes”,如下所示: <ExePackage Id="Netfx4Full" Ca

有没有办法将.Net framework redist exe(dotNetFx40_Full_x86_x64.exe)嵌入到我的wix引导程序“Sedtup.exe”中

我的功能MSI已全部就绪嵌入到Setup.exe中。
如果可能的话,我想部署一个嵌入.Net framework的setup exe,以便与引导程序一起提供.Net安装程序。

在引导程序中,在
ExePackage
上使用
Compressed=“yes”
,如下所示:

<ExePackage Id="Netfx4Full" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes" InstallCommand="/q"
              SourceFile="C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX40\dotNetFx40_Full_x86_x64.exe"
              DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)"
              />

奇怪的在我的机器上,它在“C:\ProgramFiles(x86)\”下。有没有办法让它自动运行,而不是硬编码路径?(我还需要能够从32位机器构建我的引导程序。)还有——有没有一种方法可以通过web安装来实现——这样它就不会向主引导程序文件添加50MB?
DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=164193"