Hi!

I'm trying to detect if .Net Framework 1.1 is installed and then skip it 
in my bootstrapper. But the setup of NetFx1.1 is always starting and 
then crashing because it is already installed. Can you help?
I have a reference to the netfx-extension and util-extension.
Here is the relevant? code-snippet:

<Wix  xmlns="http://schemas.microsoft.com/wix/2006/wi";
      xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
      xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension";
      xmlns:bal="http://schemas.microsoft.com/wix/BalExtension";>
   <Fragment>

<?define  NetFx11RedistLink 
=http://download.microsoft.com/download/4/f/3/4f3ac857-e063-45d0-9835-83894f20e808/dotnetfx.exe
  ?>
  
     <PropertyRef  Id="NETFRAMEWORK11"/>

<PackageGroup  Id="ChainList">
  
       <!--  standalone setup-->
       <PackageGroupRef  Id="NetFx40Redist"/>
  
       <RollbackBoundary  />
  
       <!--  
            SourceFile="..\..\..\data\WindowsXP-KB942288-v3-x86.exe"
            SourceFile="redist\WindowsXP-KB942288-v3-x86.exe"
       -->
       <ExePackage
         Id="Installer405"
         DisplayName="Windows Installer 4.5"
         PerMachine="yes"
         Permanent="yes"
         Vital="yes"
         Compressed="no"
         SourceFile="..\..\..\data\WindowsXP-KB942288-v3-x86.exe"
         
DownloadUrl="http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/WindowsXP-KB942288-v3-x86.exe";
         InstallCondition="VersionNT=v5.1 AND NOT VersionNT64 AND 
VersionMsi&lt;  v4.5"
         InstallCommand="/quiet /norestart">
  
         <ExitCode  Behavior="forceReboot"/>
  
       </ExePackage>
  
       <RollbackBoundary  />
  
       <!--
            SourceFile="..\..\..\data\dotnetfx.exe"
            SourceFile="redist\dotnetfx.exe"
       -->
       <ExePackage  Id="NetFx11Redist"
                   DisplayName=".Net Framework 1.1"
                   Vital="yes"
                   SourceFile="..\..\..\data\dotnetfx.exe"
                   DownloadUrl="$(var.NetFx11RedistLink)"
                   Compressed="no"
                   DetectCondition="NETFRAMEWORK11"/>

<RollbackBoundary  />
  
       <MsiPackage  Id="Msi"
                   SourceFile="..\..\gfh.msi"
                   DisplayInternalUI="yes"
                   Compressed="yes"
                   Vital="yes"/>
     </PackageGroup>
  
  
   </Fragment>
</Wix>

<Wix  xmlns="http://schemas.microsoft.com/wix/2006/wi";
      xmlns:bal="http://schemas.microsoft.com/wix/BalExtension";
      xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension";
      xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>
  
   <Bundle .....>
<Chain>  
       <PackageGroupRef  Id="ChainList"/>  
     </Chain>  
   </Bundle>  
</Wix>


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to