[wix-users] Issue with .NET 4.5.2 installer in WiX 3.9R2?

Cookson, Mike Mike.Cookson at ncr.com
Tue Sep 1 11:51:39 PDT 2015


Thanks everyone. I have decided to extract the 4.5.2 license and embed in my installers.

FYI - while pulling it out of temp folder while 4.5.2 installer is running certainly works, there is actually a 'save' button right in the 4.5.2 installer UI which makes it even easier.

Regards,
Mike

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Fyodor Koryazhkin
Sent: Wednesday, August 26, 2015 1:29 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Issue with .NET 4.5.2 installer in WiX 3.9R2?

HI,
As I understand from the license itself you cannot distribute .NET 4.0 but you can distribute 4.5 and up. Therefore you cannot show the license for.NET 4.0 instead of 4.5.2. It is better to extract the license from installation and include it in your setup.

On Tue, Aug 25, 2015 at 10:40 PM, Phill Hogland <phill.hogland at rimage.com>
wrote:

> The issue as I understand it is that Microsoft did not provide a url 
> to the EULA for 4.5.1 or 4.5.2.  So yes you need to add the variables 
> and create your own link until Microsoft (or in Wix 3.10 and wixtoolset.org)
> hosts the files.   You can capture the files by running the Microsoft .net
> setup on Windows 7 and looking in the temp folder where all of the 
> EULA files are extracted too, while the setup is running.  For Wix 
> 3.10 the wix devs have captured the EULA files and are in the process 
> of hosting them on the wixtoolset.org web site.  I do not know what the new url will be yet.
>
> In the mean time I just point to an old Microsoft EULA (sorry 
> Microsoft) until this issue is resolved.
>
>     <WixVariable Id="WixMbaPrereqPackageId" Value="NetFx451Web" />
>     <!-- Microsoft does not provide a link to the 4.5.1 Eula.  For now 
> use the 4.0 link.-->
>     <WixVariable Id="WixMbaPrereqLicenseUrl"
> Value="$(var.NetFx40EulaLink)" />
>
> Phill
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> Behalf Of Cookson, Mike
> Sent: Tuesday, August 25, 2015 2:10 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Issue with .NET 4.5.2 installer in WiX 3.9R2?
>
> Thank-you for the fast response Brian. I need to stay with 3.9R2 until
> 3.10 is formally released and stabilized, so intend to continue with 
> my current solution outlined below until 3.10 is available. That's 
> perfectly fine with me - you've answered my question#1 by confirming 
> that I didn't miss anything and this was simply a gap in 3.9R2.
>
> In regards to my question #2:
> 1) I just compared the 4.5 and 4.5.2 licenses. They are quite close, 
> but not identical. Is there any chance anyone can provide an updated 
> link pointing to the 4.5.2 license?
>
> Thanks again,
> Mike
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> Behalf Of Brannon King
> Sent: Tuesday, August 25, 2015 12:33 PM
> To: WiX Toolset Users Mailing List
> Subject: Re: [wix-users] Issue with .NET 4.5.2 installer in WiX 3.9R2?
>
> This is fixed in the trunk. We're just hoping for a 3.10 release soon.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> Behalf Of Cookson, Mike
> Sent: Tuesday, August 25, 2015 10:26 AM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] Issue with .NET 4.5.2 installer in WiX 3.9R2?
>
> Greetings...
>
> I am attempting to use 3.9R2 to install .Net 4.5.2 from within my 
> bootstrapper. I do so via the following fragment in my Bundle element:
>
> <Chain>
>   <PackageGroupRef Id="NetFx452Web" /> </Chain>
>
> When I compile this project, the following errors appear:
>
> ERROR1
> Description: The Windows Installer XML variable
> !(wix.WixMbaPrereqPackageId) is unknown.  Please ensure the variable 
> is declared on the command line for light.exe, via a WixVariable 
> element, or inline using the syntax !(wix.WixMbaPrereqPackageId=some 
> value which doesn't contain parenthesis).
> File: C:\src\wix39r2\src\ext\BalExtension\wixlib\Mba.wxs
>
> ERROR2
> Description: The Windows Installer XML variable
> !(wix.WixMbaPrereqLicenseUrl) is unknown.  Please ensure the variable 
> is declared on the command line for light.exe, via a WixVariable 
> element, or inline using the syntax !(wix.WixMbaPrereqLicenseUrl=some 
> value which doesn't contain parenthesis).
> File: C:\src\wix39r2\src\ext\BalExtension\wixlib\Mba.wxs
>
> I have circumvented the errors by defining the missing WixVariable 
> elements inside my Bundle element as follows:
>
> <WixVariable Id="WixMbaPrereqPackageId" Value="NetFx452Web"/> 
> <WixVariable Id="WixMbaPrereqLicenseUrl" Value="
> http://go.microsoft.com/fwlink/?LinkID=260867"/>
> <Chain>
>   <PackageGroupRef Id="NetFx452Web" /> </Chain>
>
> Two questions:
> 1)      Is this a real issue, or is it supposed to be this way and I just
> missed something in the docs?
> 2)      I took the LicenseUrl value from the current 3.x NetFx4.5.wxs file
> on github, and assume it isn't really the correct license. I did this 
> because the current 3.x NetFx452.wxs file on github references '
> http://wixtoolset.org/licenses/netfx452', which is currently a dead link.
> So, I fell back to the 4.5 link. If I do in fact need to keep my 
> workaround, can anyone provide advice on what the correct license URL 
> is for 4.5.2?
>
> Thanks in advance...
>
> Mike Cookson
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/ This message contains confidential 
> information and is intended only for the recipient. If you are not the 
> named addressee you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately if you have received this 
> e-mail by mistake and delete this e-mail from your system. Finally, 
> the recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any damage 
> caused by any virus transmitted by this email.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>



--
Regards,
Fyodor Koryazhkin..

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


More information about the wix-users mailing list