Are you writing your own BA? IE, is it a BA prerequisite because you have a 
MBA, or is it just a dependency of a MSI you are installing?

-----Original Message-----
From: StevenOgilvie [mailto:sogil...@msn.com] 
Sent: Wednesday, October 03, 2012 4:34 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Burn installCondition vs Product.wxs Condition

Sigh,

This is driving me nuts :(

I have a pre requesite of .NET 4.0 in my bootstrapper, so in bundle.wxs I
have:

<ExePackage Id="DotNetFx40"
                      DisplayName="Microsoft .NET Framework 4"
                      SourceFile="..\..\PreReqs\dotNetFx40_Full_x86_x64.exe"
                      InstallCommand="/passive /norestart"
                      InstallCondition="Not NETFRAMEWORK40FULL"
                      Permanent="yes"/>

doesn't work...

In my product.wxs I have a condition:
<Condition Message="Requires the Microsoft .NET Framework 4.0.  To download the 
requirement please visit: 
http://www.microsoft.com/en-us/download/default.aspx then restart the
$(var.ProductName) setup.">
      NETFRAMEWORK40FULL = &quot;#1&quot;
    </Condition>
works like a charm

the doc says:
NETFRAMEWORK40FULL          Set to #1 if the .NET Framework 4.0 full is
installed (not set otherwise). This property is available starting with WiX 
v3.5.

how can I have the burn work like the installer... :(

Steve




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-installCondition-vs-Product-wxs-Condition-tp7581071.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM Deploy 
New Relic app performance management and know exactly what is happening inside 
your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and 
get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to