Hi, In my bootstrapper, I use my proper Package Group in order to Install .Net Framework like this :
<util:RegistrySearchRef Id="NETFRAMEWORK45" /> <WixVariable Id="WixMbaPrereqPackageId" Value="NetFx45Redist" /> <WixVariable Id="WixMbaPrereqLicenseUrl" Value="http://go.microsoft.com/fwlink/?LinkID=260867" /> <PackageGroup Id="NetFx45Dox"> <ExePackage InstallCommand="/q /norestart /ChainingPackage "[WixBundleName]" /log [NetFx45FullLog].html" RepairCommand="/q /norestart /repair /ChainingPackage "[WixBundleName]" /log [NetFx45FullLog].html" UninstallCommand="/uninstall /q /norestart /ChainingPackage "[WixBundleName]" /log [NetFx45FullLog].html" PerMachine="yes" DetectCondition="(NETFRAMEWORK45 >= 378389)" InstallCondition="VersionNT > v5.2" Id="NetFx45Redist" Vital="yes" Permanent="yes" Protocol="netfx4" DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=225702" LogPathVariable="NetFx45FullLog" Compressed="no" Name="redist\dotNetFx45_Full_x86_x64.exe"> <RemotePayload CertificatePublicKey="BE931A1B869E4BB989C2B32D0C105204ECBEFB3D" CertificateThumbprint="8363887511B4835B79C383ECF06FC055B5839255" Description="Microsoft .NET Framework 4.5 Setup" Hash="B2FF712CA0947040CA0B8E9BD7436A3C3524BB5D" ProductName="Microsoft .NET Framework 4.5" Size="50352408" Version="4.5.50709.17929" /> </ExePackage> </PackageGroup> So, you could change the path of the exe file with the attribute Name of the Exepackage node. Here, i use the redist folder too, but you can put Name="dotNetFx45_Full_x86_x64.exe" if you want both exe at the same level. Best regards, Loïc DELAMBRE -----Message d'origine----- De : Veli-Matti Visuri [mailto:veli-matti.vis...@futuremark.com] Envoyé : mercredi 16 octobre 2013 13:51 À : General discussion for Windows Installer XML toolset. Objet : [WiX-users] Development proposal for WixNetFxExtension Hi, Is there any particular reason why WixNetFxExtension searches .NET bundles from "redist" folder? Its quite confusing to make an offline capable installer. Lets say I have this kind of bootstrapper: <Chain> <PackageGroupRef Id="NetFx45Redist"/> <MsiPackage SourceFile="Installer.msi"/> </Chain> So I have to have the following structure in my deploy package e.g. .zip file zip: bootstrapper.exe redist\dotNetFx45_Full_x86_x64.exe It would be so much easier and less confusing to just make it like this: zip: bootstrapper.exe dotNetFx45_Full_x86_x64.exe Note that my bootstrapper uses .NET framework 4.5 and I don't want to make my own build from WiX source code. Best regards, Veli-Matti Visuri ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users