I found my answer already...

<PropertyRef Id="NETFRAMEWORK35_SP_LEVEL" />
    <Condition Message="This application requires .NET Framework 3.5 SP1. 
Please install the .NET Framework then run this installer again.">
      <![CDATA[NETFRAMEWORK35_SP_LEVEL and NOT NETFRAMEWORK35_SP_LEVEL = "#0"]]>
    </Condition>


-----Original Message-----
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, March 15, 2011 11:32 AM
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

Reply via email to