[wix-users] Issues with Burn and NetFx461Redist

Edward Evans ed.eevans at gmail.com
Thu Aug 4 09:03:47 PDT 2016


Sorry, I thought I mentioned that I switched to 3.11 after I checked the
source and found support for 4.6.1.  That's how the bundle started
working.  So I am using 3.11 now and it does not complain about not finding
the PropertyRef or variable.  It just doesn't return true.

        <PropertyRef Id="WIXNETFX4RELEASEINSTALLED" />

<Condition Message="This application requires .NET Framework 4.6.1. Please
install the .NET Framework then run this installer again. Contact support
at American Innovations if you have further issues.">
<![CDATA[Installed OR WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED]]>
</Condition>
Sorry for the confusion.

On Thu, Aug 4, 2016 at 10:48 AM, Hoover, Jacob <Jacob.Hoover at greenheck.com>
wrote:

> But what Sean is stating is that the MSI won't have the property because
> 3.10.x doesn't have it defined in the NetFxExtension. In order for you to
> get said property in the MSI, you would need to pull in the bits from 3.11
> into your MSI.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Edward Evans
> Sent: Thursday, August 04, 2016 10:15 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: Re: [wix-users] Issues with Burn and NetFx461Redist
>
> Correct, but it doesn't seem to be working.  I confirmed that the registry
> key it checks is there and has a version greater then minversion so it
> should be working.  Anyone know a way to debug/troubleshoot this issue?
> tia
>
> On Thu, Aug 4, 2016 at 9:01 AM, Sean Hall <r.sean.hall at gmail.com> wrote:
>
> > The WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED property is also only
> > in 3.11, not 3.10.x.
> >
> > On Thu, Aug 4, 2016 at 8:36 AM, Edward Evans <ed.eevans at gmail.com>
> wrote:
> >
> > > No, but I did download the source for 3.10.3 and found that it
> > > doesn't Include support for 4.6.1.  I then downloaded the source for
> > > 3.11 and
> > found
> > > that it does so I used it and now the bundle does indeed install 4.6.1.
> > > The issue now is getting the MSI to see that it is installed.  From
> > > that same wxs file you provided a link to, I changed the PropertyRef
> > > to WIXNETFX4RELEASEINSTALLED and then checked variable
> > > WIX_IS_NETFRAMEWORK_461_OR_LATER_INSTALLED but it's not getting set.
> > >
> > > On Thursday, August 4, 2016, Jürgen Schäpker
> > > <Juergen.Schaepker at giepa.de
> > >
> > > wrote:
> > >
> > > > Did you use the content from
> > > > https://github.com/wixtoolset/wix3/blob/develop/src/ext/
> > > NetFxExtension/wixlib/NetFx461.wxs
> > > > (from first define to last fragment) and paste it into your
> > > > bundle.wxs, then reference it as PackageGroupRef Id="
> NetFx461Redist" (or "
> > > > NetFx461Web")?
> > > >
> > > > -----Ursprüngliche Nachricht-----
> > > > Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org
> > > > <javascript:;>] Im Auftrag von Edward Evans
> > > > Gesendet: Mittwoch, 3. August 2016 22:24
> > > > An: wix-users at lists.wixtoolset.org <javascript:;>
> > > > Betreff: [wix-users] Issues with Burn and NetFx461Redist
> > > >
> > > > Hi,
> > > > We recently upgraded our target .Net framework from 4.0 to 4.6.1.
> > > > I upgraded Wix to 3.10.3007 and updated the relevant lines in the
> > > > wxs
> > and
> > > > bundle.wxs files to NetFx461Redist.  Now the Exe installs 4.6 and
> > > > then
> > > the
> > > > msi complains that 4.6.1 is not installed.  All of the examples I
> > > > can
> > > find
> > > > go as high as 4.5 but I can't find a good example of what might be
> > > missing
> > > > for 4.6.1.
> > > >
> > > > Thanks,
> > > > Ed
> > > >
> > > > __________________________________________________________________
> > > > __ WiX Toolset Users Mailing List provided by FireGiant
> > > > http://www.firegiant.com/
> > > >
> > > > Email secured by Check Point
> > > >
> > > > __________________________________________________________________
> > > > __ 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/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list