Use <PropertyRef Id="NETFRAMEWORK35_SP_LEVEL" />
<Condition Message='This setup requires the .NET Framework 3.5 Service Pack 1 or higher (3.5.30729.01).'> <![CDATA[Installed OR (NETFRAMEWORK35_SP_LEVEL AND NOT NETFRAMEWORK35_SP_LEVEL = "#0")]]> </Condition> See http://wix.sourceforge.net/manual-wix3/check_for_dotnet.htm & http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm You'll also need to add a reference to the WixNetfxExtension.dll in your project or pass it to light.exe using the -ext switch to use those properties. Palbinder Sandher Software Deployment Engineer 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: Robert Hermann [mailto:rob.herm...@nicewareintl.com] Sent: 15 March 2011 16:32 To: 'wix-users@lists.sourceforge.net' Subject: [WiX-users] Looking at .Net Version in Launch Conditions I'm writing an installer that for a service that needs to have 3.5 SP1 to be installed. My wix logic is <Condition Message='This setup requires the .NET Framework 3.5 Service Pack 1 or higher (3.5.30729.01).'> <![CDATA[MsiNetAssemblySupport >= "3.5.30729.01"]]> </Condition> >From what I've read, when <![CDATA[MsiNetAssemblySupport >= >"3.5.30729.01"]]> fails, the dialog will be shown. When I run the >install using /l*v , The log file show s Property(C): MsiNetAssemblySupport = 2.0.50727.3053 In the add/remove programs dialog, it shows that I have .NET 3.5 SP1 installed. Am I looking at the right tag ... Rob ------------------------------------------------------------------------ ------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users