sry, didn't answer to the list.. so here it is... :)
-------- Original-Nachricht -------- Betreff: Re: [WiX-users] Ensure .NET4 Full is installed Datum: Wed, 21 Nov 2012 06:44:43 +0100 Von: Michael Scheepers <[email protected]> An: Andrew Jones <[email protected]> Andrew, in that case you have to something like <cond> installed or nfw20 or nfw40full and not nfw40cli </cond> if that don't match your requirements, just play arround with it.. Michel Am 20.11.2012 22:32, schrieb Andrew Jones: > Michael, > > Will that condition work on a machine with .NET 2 only? > > This is what I'm after > .NET2 only Ok > .NET2 & .NET4 Client Fail > .NET2 & .NET4 Full Ok > > Andrew > -----Original Message----- > From: Michael Scheepers [mailto:[email protected]] > Sent: 20 November 2012 8:36 PM > To: General discussion for Windows Installer XML toolset. > Cc: Andrew Jones > Subject: Re: [WiX-users] Ensure .NET4 Full is installed > > Hi Andrew, > > take a look at the WiXNetFxExtension. It will determine the available > frameworks and initialize some properties, that one can reference. > > The following properties may help you to compose your condition... > <PropertyRef Id='NETFRAMEWORK40FULL'/> > <PropertyRef Id='NETFRAMEWORK40CLIENT'/> > <PropertyRef Id='NETFRAMEWORK35'/> > <PropertyRef Id='NETFRAMEWORK35_CLIENT'/> > <PropertyRef Id='NETFRAMEWORK30'/> > <PropertyRef Id='NETFRAMEWORK20'/> > > It might look some what like: > <Condition Message='!(loc.YOUR.LOCALIZED.MESSAGE.ID)'> > <![CDATA[(Installed OR NETFRAMEWORK20 OR NETFRAMEWORK40FULL)]]> > </Condition> > > Remember to use the -ext WiXNetFxExtension argument when calling candle and > light in order to have the properties initialized. > > Michel > > > Am 20.11.2012 20:26, schrieb Andrew Jones: > I have a windows service that requires at least .NET 2. However I have found > that on Windows 7 Embedded the windows service will fail to start if .NET4 > Client is installed. The solution is to do a 'full' .NET 4 install. How can I > create a condition that says ".NET2 or greater but if > .NET4 is installed ensure it is Full not client". > > Andrew > ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

