Oh well.  I went this far:

"Also, Wix 3.0 does not work when installing .NET 4 assemblies to the GAC or 
trying to NGEN them, so it might be worth moving to 3.5"

And stopped.  Detect .NET 4.0?  In Wix 3.5, the net FX extension supplies a 
property you can use.  See 
http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm 

Add the extension and slap this in your wsx:

                <PropertyRef Id="NETFRAMEWORK40FULL"/>
                <Condition Message="This application requires .NET Framework 
4.0.">
                        <![CDATA[Installed OR NETFRAMEWORK40FULL]]>
                </Condition>

-----Original Message-----
From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] 
Sent: Wednesday, April 28, 2010 11:16 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] NetFxExtension and .NET 4

I never said I need install into GAC and NGEN. All I need is detect .NET 4 
presence.


-----Original Message-----
From: Will Sullivan [mailto:wsulli...@softdocs.com]
Sent: Wednesday, April 28, 2010 10:05
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] NetFxExtension and .NET 4

I'm using it to do what you want (GAC and ngen).  As long as you aren't trying 
to install to IIS7 3.5 is pretty decent.  Just make sure to get the absolute 
latest latest build and update if you encounter any issues.

-----Original Message-----
From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com]
Sent: Tuesday, April 27, 2010 7:20 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] NetFxExtension and .NET 4

Is 3.5 at least beta?


-----Original Message-----
From: Jacques Eloff [mailto:repst...@gmail.com]
Sent: Tuesday, April 27, 2010 18:02
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] NetFxExtension and .NET 4

No, but you can easily code the logic in your installer.

Also, Wix 3.0 does not work when installing .NET 4 assemblies to the GAC or 
trying to NGEN them, so it might be worth moving to 3.5

Jacques

On Tue, Apr 27, 2010 at 11:06 AM, Alex Ivanoff <alex.ivan...@shavlik.com>wrote:

> It requires WiX 3.5. Any support in 3.0?
>
>
> -----Original Message-----
> From: Jess Sheneberger [mailto:jess.sheneber...@neudesic.com]
> Sent: Tuesday, April 27, 2010 12:57
> To: General discussion for Windows Installer XML toolset.
>  Subject: Re: [WiX-users] NetFxExtension and .NET 4
>
>
> http://wix.sourceforge.net/manual-wix3/check_for_dotnet.htm
>
> In the wix 3.5 version of WixNetFxExtension.dll there are several 
> properties for .NET 4.  I use NETFRAMEWORK40FULL, you can take a look 
> at the source if you want to see the others.
>
> Jess Sheneberger
> Senior Software Engineer - Neudesic
> P: +1 (303) 248-8326 | M: +1 (206) 790-0013 
> jess.sheneber...@neudesic.com| www.neudesic.com
>
>
> -----Original Message-----
> From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com]
> Sent: Tuesday, April 27, 2010 11:50 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] NetFxExtension and .NET 4
>
> Is it possible to detect .NET 4 with WiX?
>
> ----------------------------------------------------------------------
> -------- _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ----------------------------------------------------------------------
> -------- _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ----------------------------------------------------------------------
> -------- _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to