[wix-users] custom bootstrapper - customize UI .NET prerequisite installation

Phill Hogland phill.hogland at rimage.com
Tue Sep 6 07:21:45 PDT 2016


Take a look at this doc:

http://wixtoolset.org/documentation/manual/v3/howtos/redistributables_and_install_checks/install_dotnet.html


It sounds like maybe you are missing the BootstrapperCore.config steps at the very bottom of the file.  Something like this (Assuming that you are compiling to Net 4.5)

  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>

This is what will trigger the install to happen if .Net is missing and allow the bootstrapper to run.


________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Baumann Ingo <i.baumann at commend.com>
Sent: Tuesday, September 6, 2016 4:23:06 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] custom bootstrapper - customize UI .NET prerequisite installation

I have implemented a custom bootstrapper application. Installing .NET Framework works fine as below.

<BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
  ...
  <Payload Name="redist\NDP452-KB2901907-x86-x64-AllOS-ENU.exe" SourceFile="sources\NDP452-KB2901907-x86-x64-AllOS-ENU.exe"/>
</BootstrapperApplicationRef>

<Chain>
    <PackageGroupRef Id="NetFx45Redist" />
    ...
</Chain>

As long as .NET Framework isn't installed, custom UI (WPF) can't be displayed.


1.       Is there any way to customize bootstrapper UI for installation of prerequisite .NET Framework when using custom bootstrapper?

2.       Although InstallCommand of NetFx45Redist (NetFX4.5.wxs) contains "/q", it's not installing silent. Is it possible to trigger silent installation of .NET Framework and display splash screen until custom bootstrapper UI is loaded?



Thanks
Ingo

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list