There is no guarantee that your product would work just fine with CLR 4.0 just because it works with CLR 2.0 (Framework 3.5).
For CLR 4.0 the CLR has moved into a SxS model whereby 4.0 can be loaded in-proc SxS 2.0 runtime, and the 5.0 runtime will be loaded into process alongside the 4.0 runtime, etc. Therefore, they are moving away from a model where CLR 4.0 assumes it can run CLR 2.0 runtime solutions with compatibility. There is extra work you will have to do with manifests to allow that scenario to work, and you will have to update that manifest for each new FW released. Your setup would also have to change to take this into account. So actually it's a good thing that the 3.5 detection logic doesn't assume 4.0 matches because if it did you may find your solution installed onto a platform that is not back compat with your solution. -- Bryan ________________________________________ From: John Aldridge [j...@jjdash.demon.co.uk] Sent: Sunday, February 14, 2010 3:51 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiXNetFxExtension conditions On 13/02/2010 15:20, Bob Arnson wrote: > On 2/12/2010 6:19 AM, John Aldridge wrote: >> If I use WiXNetFxExtension to test for NETFRAMEWORK35, does this mean >> "3.5 itself is installed" or "3.5 or any later version is installed"? > > The former but it's not practical to make generalizations for future CLR > versions since they can be side-by-side or upgrades or Russian-doll > models (like 2.0+3.0+3.5). Oh. That wasn't the answer I was hoping to hear! So if we were to use this test, we'd be risking something like the following (hypothetical) scenario... Suppose .Net 3.5 were, for some reason, incompatible with Windows 8 (although the upward compatible .Net 4.5.3.9 installs fine). Now our product would not be installable on Windows 8, even though it would work fine if it were. -- Cheers, John ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users