Reputation: 57872
I'm using WiX to generate an installer with a bootstrapper for the .NET 4 Client Profile. However, while the individual components each have a "quiet" mode (the generated MSI and the .NET 4 installer), attempting to install using the generated Setup.exe in quiet mode still shows the EULA dialog for the .NET Client Profile. The dialog appears to be coming from the generated Setup.exe, as it has the name of my generated installer in the title bar. Additionally, the help options for the generated Setup.exe don't specifically mention a "quiet" mode, even though the components it wraps do.
Is there a way to run this setup.exe in a quiet or non-interactive mode?
Upvotes: 2
Views: 1483
Reputation: 15232
I don't know if you are allowed to install it without the EULA showing - check that first.
But take a look at C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX40Client\en
. The package.xml describes (part of) the bootstrapper.
The <Package LicenseAgreement="eula.rtf"
part is used to determine whether or not to show the eula. The arguments of the installer used in the product.xml
make sure the eula is not shown again during installation. So I think you can create your own bootstrapper package, tweak it a bit to not show the eula, give it a different ProductCode and use that to install.
Note, in the <RelatedProducts>
you should add:
<IncludesProduct Code=".NETFramework,Version=v4.0,Profile=Client" />
to make sure dependencies are being met of other (bootstrapper) packages requiring the .NET 4 Client Profile.
Upvotes: 1