[wix-users] Install the .NET Framework Using Burn with packaging the .NET Framework redistributable

Goran Malovic malovicg at yahoo.com
Mon Dec 14 04:36:29 PST 2015


This is mentioned in a Wix tutorial
Net and .NET
I would not know if it is the same with SQL Server, but you can check the license file. Personally, I would never package them all in a single exe, since that would only slow down the instalation.

|   |
|   |   |   |   |   |
| Net and .NETWiX tutorial |
|  |
| View on www.firegiant.com | Preview by Yahoo |
|  |
|   |

 


    On Monday, December 14, 2015 1:02 PM, Martin Cornelius <Martin.Cornelius at datron.de> wrote:
 

 #yiv7630427350 #yiv7630427350 -- _filtered #yiv7630427350 {panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv7630427350 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv7630427350 {font-family:Consolas;panose-1:2 11 6 9 2 2 4 3 2 4;} _filtered #yiv7630427350 {font-family:Garamond;panose-1:2 2 4 4 3 3 1 1 8 3;}#yiv7630427350 #yiv7630427350 p.yiv7630427350MsoNormal, #yiv7630427350 li.yiv7630427350MsoNormal, #yiv7630427350 div.yiv7630427350MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv7630427350 a:link, #yiv7630427350 span.yiv7630427350MsoHyperlink {color:blue;text-decoration:underline;}#yiv7630427350 a:visited, #yiv7630427350 span.yiv7630427350MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv7630427350 pre {margin:0cm;margin-bottom:.0001pt;font-size:10.0pt;}#yiv7630427350 span.yiv7630427350E-MailFormatvorlage17 {color:#1F497D;}#yiv7630427350 span.yiv7630427350HTMLVorformatiertZchn {}#yiv7630427350 .yiv7630427350MsoChpDefault {font-size:10.0pt;} _filtered #yiv7630427350 {margin:70.85pt 70.85pt 2.0cm 70.85pt;}#yiv7630427350 div.yiv7630427350WordSection1 {}#yiv7630427350 Hi Goran,    I’dlike to pack ecerything in one .exe, here is my bundle source:    <?xml version="1.0" encoding="UTF-8"?>   <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"      xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">     <Bundle Name="MyBootstrapper" Version="1.0.0.0" Manufacturer="WiX Tests"           UpgradeCode="416b6bbf-2beb-4187-9f83-cdb764db2840">       <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">       <Payload SourceFile="$(var.CustomBA.TargetDir)CustomBA.dll" />       <Payload SourceFile="$(var.CustomBA.TargetDir)BootstrapperCore.config" />       <Payload SourceFile="$(var.CustomBA.TargetDir)Microsoft.Practices.Prism.dll" />     </BootstrapperApplicationRef>       <Chain DisableSystemRestore="yes">       <!-- .Net Framework 4.6 -->       <PackageGroupRef Id="NetFx46Web" />         <!-- The App -->       <MsiPackage SourceFile="$(var.MyInstaller.TargetPath)" />     </Chain>       <PayloadGroup Id ="NetFx46RedistPayload">       <Payload Name ="redist\NDP46-KB3045557-x86-x64-AllOS-ENU.exe"                SourceFile="downloads\NDP46-KB3045557-x86-x64-AllOS-ENU.exe" />     </PayloadGroup>          </Bundle> </Wix>    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 .NETredistributable 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:    <Chain>   <PropertyRef Id="NetFx46Redist" />   <MsiPackage .. /> </Chain> 

 then you need to have following folder structure when you distribute your product: 

 setup.exe redist\NDP46-KB3045557-x86-x64-AllOS-ENU.exe (note the redist subfolder)

    

  


More information about the wix-users mailing list