Use a RegistrySearch to find some well-known key or value installed by .NET 4.0. That's pretty much all the NetFxExtension properties do.
On the subject of v3.5, Microsoft themselves have been using it to ship retail products such as Visual Studio 2010 long before it was even upgraded to release candidate status. The whole point of it being v3.5 rather than v4.0 is so that there is a stable base to build upon when adding the new features. In my experience upgrading to v3.5 from v3.0 is both seamless & painless. I found 0 problems & upgrading actually resolved some outstanding issues for me (such as UI for patches) but I don't need any of the new in-development features. I accept that YMMV but what do you really expect could happen? At worst your projects don't build & you downgrade, it's not like you're shipping using a beta version of Windows Installer, you're still building MSI packages regardless which are at the mercy of the Windows Installer on the target system. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Daniel Hughes [mailto:daniel.hug...@tait.co.nz] Sent: 29 November 2010 04:29 To: wix-users Subject: [WiX-users] detect .net 4.0 from WiX 3.0 We have an application we need to deploy which depends on .net 4.0. We want to detect if .net 4.0 is installed and cancel the install if it is not. The code to detect .net 4.0 appears to only be available in WiX 3.5. However we can't move to 3.5 because we have stable released products which rely on 3.0 and you can't install both side by side. And 3.5 is not released yet (release candidate only) How do we detect .net 4.0 from WiX 3.0? ======================================================================= This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. ======================================================================= ------------------------------------------------------------------------ ------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users