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

Cookson, Mike Mike.Cookson at ncr.com
Tue Aug 25 12:09:51 PDT 2015


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/



More information about the wix-users mailing list