[wix-users] Install the .NET Framework Using Burn with packaging the .NET Framework redistributable
Martin.Cornelius at datron.de
Mon Dec 14 04:02:04 PST 2015
I’dlike to pack ecerything in one .exe, here is my bundle source:
<?xml version="1.0" encoding="UTF-8"?>
<Bundle Name="MyBootstrapper" Version="18.104.22.168" Manufacturer="WiX Tests"
<Payload SourceFile="$(var.CustomBA.TargetDir)CustomBA.dll" />
<Payload SourceFile="$(var.CustomBA.TargetDir)BootstrapperCore.config" />
<Payload SourceFile="$(var.CustomBA.TargetDir)Microsoft.Practices.Prism.dll" />
<!-- .Net Framework 4.6 -->
<PackageGroupRef Id="NetFx46Web" />
<!-- The App -->
<MsiPackage SourceFile="$(var.MyInstaller.TargetPath)" />
<PayloadGroup Id ="NetFx46RedistPayload">
<Payload Name ="redist\NDP46-KB3045557-x86-x64-AllOS-ENU.exe"
The installer produced by building this bundle obvioulsly contains the .net disribution, it has about 64 MB. However, if I try to execute it on a machine that has no networlk connection, it doesn’t work.
BTW, can you remember where your read that packaging the .NET redistributable is illegal ? If this is really the case, I would certainly refrain from doing it, and the question of how to accomplish the packaging would remain irrelevant.
This rises another question: We’d also like to package MS SQL Express LocalDB into our product installer. If redistributing .NET is illegal, I suspect that redistributing of SQL Express could also be illegal. Do you have any information about this issue ?
Kind regards, Martin
Von: Goran Malovic [mailto:malovicg at yahoo.com]
Gesendet: Freitag, 11. Dezember 2015 17:13
An: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; Martin Cornelius <Martin.Cornelius at datron.de>
Betreff: Re: [wix-users] Install the .NET Framework Using Burn with packaging the .NET Framework redistributable
It would be nice if you gave more details, like which method did you try (in provided link).
Did you try to distribute it compressed into your setup.exe? I have read somewhere that this is not legal, according to MS distribution license...
Or your setup will result in 2 exe files (setup.exe and framework_46.exe)?
If you did something like this:
<PropertyRef Id="NetFx46Redist" />
<MsiPackage .. />
then you need to have following folder structure when you distribute your product:
redist\NDP46-KB3045557-x86-x64-AllOS-ENU.exe (note the redist subfolder)
More information about the wix-users