Yari Serve
2014-09-17 19:40:29 UTC
Greetings,
I'm currently writing my own Bootstrapper Application with WPF and .NET 4.5.
Because all applications installed with the BA will be run using .NET 4.5, I
want set this as the supportedFramework. Unfortunately, this does not work
and only opens the Prereq-Installer instead of my custom BA UX.
This works:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
<wix.bootstrapper>
<host assemblyName="Company.Product.Installer">
<supportedFramework version="v4\Full" />
<supportedFramework version="v4\Client" />
</host>
</wix.bootstrapper>
This does not:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<wix.bootstrapper>
<host assemblyName="MyHorizon.ImmoCRM.Installer">
<supportedFramework version="v4.5\Client" />
</host>
</wix.bootstrapper>
Why? Maybe it's just supposed to work with v4.0 as the supportedRuntime,
because 4.5 is an in-place upgrade. But better safe than sorry.
Thanks!
I'm currently writing my own Bootstrapper Application with WPF and .NET 4.5.
Because all applications installed with the BA will be run using .NET 4.5, I
want set this as the supportedFramework. Unfortunately, this does not work
and only opens the Prereq-Installer instead of my custom BA UX.
This works:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
</startup>
<wix.bootstrapper>
<host assemblyName="Company.Product.Installer">
<supportedFramework version="v4\Full" />
<supportedFramework version="v4\Client" />
</host>
</wix.bootstrapper>
This does not:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<wix.bootstrapper>
<host assemblyName="MyHorizon.ImmoCRM.Installer">
<supportedFramework version="v4.5\Client" />
</host>
</wix.bootstrapper>
Why? Maybe it's just supposed to work with v4.0 as the supportedRuntime,
because 4.5 is an in-place upgrade. But better safe than sorry.
Thanks!