I have a bootstrapper exe that checks for .Net framework as pre-requisite and installs it if not present.
I would like to display the Microsoft EULA for .net framework ONLY if it is to be installed, yet still do passive/silent install of .Net framework. Since I am doing passive install, I am forced to display the EULA prior to .NetFX package launch. Is there any way of binding the display of EULA to the same condition as installing of .NetFX? IE: EULA acceptance dialog displayed on condition /*Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)*/ My code currently looks like this: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"> <?define ProductVersion="1.0.0.0" ?> <Bundle UpgradeCode="PUT-GUID-HERE" Name="Product Name" Version="$(var.ProductVersion)" IconSourceFile="Resources\Setup.ico"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense"> <bal:WixStandardBootstrapperApplication LicenseFile="Resources\eula.rtf" LogoFile="Resources\CustomLogo.png" /> <Payload Name="BootstrapperCore.config" SourceFile="Bootstrapper\BootstrapperCore.config"/> <Payload SourceFile="Packages\MyProduct.msi"/> <Payload SourceFile="Resources\eula.rtf"/> </BootstrapperApplicationRef> <Chain> <PackageGroupRef Id="Netfx4Full"/> <MsiPackage Id="MyProduct" Compressed="yes" DisplayInternalUI="yes" SourceFile="Packages\MyProduct.msi" Vital="yes"> <MsiProperty Name="ARPSYSTEMCOMPONENT" Value="1"/> </MsiPackage> </Chain> </Bundle> <Fragment> <WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4Full" /> <WixVariable Id="WixMbaPrereqLicenseUrl" Value="Resources\eula.rtf" /> <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Version" Variable="Netfx4FullVersion" /> <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Version" Variable="Netfx4x64FullVersion" Win64="yes" /> <PackageGroup Id="Netfx4Full"> <ExePackage Id="Netfx4Full" Cache="no" Compressed="yes" PerMachine="yes" Permanent="yes" Vital="yes" InstallCommand="/passive /norestart" SourceFile="Packages\dotNetFx40_Full_x86_x64.exe" DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)" /> </PackageGroup> </Fragment> </Wix> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Bootstrapper-with-NetFX4-EULA-tp7583337.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users