[wix-users] WPF .Net 4.6 using Burn
Orzyszek Andreas
andreas.orzyszek at sirona.com
Fri Oct 23 00:27:04 PDT 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
the burn engine triggers the contained .Net framework installer only if your managed BA could not be loaded.
Normally you have a BootstrapperApp.dll.config like this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="wix.bootstrapper" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.BootstrapperSectionGroup, BootstrapperCore">
<section name="host" type="Microsoft.Tools.WindowsInstallerXml.Bootstrapper.HostSection, BootstrapperCore" />
</sectionGroup>
</configSections>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
<wix.bootstrapper>
<host assemblyName="BootstrapperApp">
<supportedFramework version="v4\Full" />
</host>
</wix.bootstrapper>
</configuration>
As you can see the burn engine just can't force the installation before your BA runs. If a user has installed .Net 4.0 for example your BA won't crash and the installation of .NET 4.6 will just be the first element in the chain that is getting installed.
I think the forced install of a specific .Net framework is a feature request for the burn engine.
Andreas Orzyszek
- -----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Roni Fuchs
Gesendet: Donnerstag, 22. Oktober 2015 17:03
An: WiX Toolset Users Mailing List
Betreff: [wix-users] WPF .Net 4.6 using Burn
Hi everyone,
I see support for .Net 4.6 was added using the <PackageGroupRef Id=" NetFx46Redist " />, which is awesome because our app uses .Net 4.6.
We also wrote an installer, managed BA, and we want to also write it using .Net 4.6, How can I make sure that before my WPF BA is started Burn ensured .Net 4.6 was installed if needed?
Thanks,
Roni (Aron) Fuchs
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.2.0 (Build 2068)
Charset: iso-8859-1
wsBVAwUBVinhS8cXUKvaafDuAQhrpQf+J3r1g2idlkqSnKLD+AMZLwc/hGqKtvVw
aerabXAZ6ZLWInEXRxIIdKzM9yKEt3ExkPvm1lWjWBCEyv9pDFGxFP0t4mN/MuyB
gPOeL3jKEqbyciRnkMnAYY29aXuWfOBTWLkg9xXHBfYLTV8XGc7aXXF85Y4qsd7j
X2+KLu0g4FP8f/xRAtS/21QZY2zmsV2VRdpKQbbJeemLOy7D7B3VTxfXmix4C3vT
tpAr45SX8OgluB8lp59MJYT5GzvbngaT5puFzqQQ+huybHGJBz5gzkFT8xTcSrg+
6HczoTALTcsB+o4emyFeB+eRtfS5UDp1aFK79ML7YI2z2GTkletxvA==
=0vt5
-----END PGP SIGNATURE-----
More information about the wix-users
mailing list