It's kind of difficult to test against a future unkown framework because they 
sit side by side and a newer release doesn't always entail a release of the 
CLR.    If you care about the CLR version, you could check the FileVersion of 
System32\mscoree.dll.   Other then that, if a BCL extension called 3.6 was to 
get released,  I don't know that there is a good way to detect it without first 
knowing what it would be called.
   
  Maybe I'm missing something that could make this problem easier to solve.
  
"Don Tasanasanta (Volt)" <[EMAIL PROTECTED]> wrote:
                I already use NETFRAMEWORK35 to determine if .net 3.5 is on the 
machine… what I’m really concerned with is the “greater than” part. 
   
  How do you test against the condition “greater than or equal to 3.5”
   
      From: Neil Enns 
Sent: Monday, May 19, 2008 3:38 PM
To: Don Tasanasanta (Volt); wix-users@lists.sourceforge.net
Subject: RE: finding .net 3.5 or greater


   
  You can use the NetFxExtension that comes with WiX. 
http://www.wixwiki.com/index.php?title=NetFxExtension.
   
  Add –ext WixNetFxExtension to both candle.exe and light.exe, then you can add 
a PropertyRef to NETFRAMEWORK35. There’s an example on the above page of how it 
all works.
   
  Neil
   
      From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don 
Tasanasanta (Volt)
Sent: Monday, May 19, 2008 3:27 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] finding .net 3.5 or greater


   
  How do you determine whether or not the version of .NET Framework on the 
machine is greater than 3.5?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


       
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to