Sigh... Am I daft, or I just don't understand...

I have multiple packages I need to install as pre reqs of the main
install... Do these make sense?

.Net 4.0:
<ExePackage Id="DotNetFx40"
                      DisplayName="Microsoft .NET Framework 4"
                      SourceFile="..\..\PreReqs\dotNetFx40_Full_x86_x64.exe"
                      InstallCommand="/passive /norestart"
                      InstallCondition="Not Installed AND NETFRAMEWORK40FULL
= &quot;#0 &quot;"
                      Permanent="yes"/>

SQLServer:
<ExePackage Id="SQLExpressx86"
                  DisplayName="Microsoft® SQL Server® 2012 - Express Edition
x86"
                  SourceFile="..\..\PreReqs\SQLEXPR_x86_ENU.exe"
                  InstallCommand="/ACTION=install /QUIETSIMPLE"
                  InstallCondition="(Installed OR SQLSERVER2008 >=
&quot;10.0.1600.0&quot;) OR (Installed OR SQLSERVER2012 >=
&quot;11.0.2100.10&quot;) OR (Installed OR SQLSERVEREXPRESS >=
&quot;10.0.1600.22&quot;) AND x86 = 1"
                  Permanent="yes"/>

SQLCompact:

<MsiPackage Id="SQLCompactx86"
                      DisplayName="Microsoft SQL Server Compact 3.5 SP2 x86"
                      DisplayInternalUI="no"
                      Visible="yes"
                      SourceFile="..\..\PreReqs\SSCERuntime_x86-ENU.msi"
                      InstallCondition="Not Installed AND
SQLCompactx86Installed = &quot;0.0.0.0&quot;"
                      Permanent="yes"/>


  <Fragment Id="InstallConditionChecks">
    
    <PropertyRef Id="NETFRAMEWORK40FULL"/>

    
    <Property Id="SQLSERVEREXPRESS"
              Value="0">
      <RegistrySearch Id="SQLServerExpress"
                      Key="SOFTWARE\Microsoft\Microsoft Sql
Server\SQLEXPRESS\MSSQLServer\CurrentVersion"
                      Name="CurrentVersion"
                      Root="HKLM"
                      Type="raw"/>
    </Property>

    <Property Id="SQLSERVER2008"
              Value="0">
      <RegistrySearch Id="SQLServer2008"
                      Key="SOFTWARE\Microsoft\Microsoft Sql
Server\MSSQL10_50.SQLSERVER\MSSQLServer\CurrentVersion"
                      Name="CurrentVersion"
                      Root="HKLM"
                      Type="raw"/>
    </Property>

    <Property Id="SQLSERVER2012"
              Value="0">
      <RegistrySearch Id="SQLServer2012"
                      Key="SOFTWARE\Microsoft\Microsoft Sql
Server\MSSQL11.MSSQLSERVER\MSSQLServer\CurrentVersion"
                      Name="CurrentVersion"
                      Root="HKLM"
                      Type="raw"/>
    </Property>

    
    <util:ProductSearch
      Guid ="296E293F-C481-4DDE-9ED2-3F79FCF38731"
      Id ="SQLProviderx86Search"
      Variable ="SQLProviderx86Installed"
      Condition="$(var.Platform)=x86" />



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-and-install-conditions-tp7580975.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to