I have both .NET Framework 4.0 and Windows Installer 4.5 bootstrapped in my
WiX project but during my testings with several machines/operating systems
only the latter is being detected as not installed yet. I have verified that
only .NET Framework 3.5 is installed on those machines so I'm wondering why
.NET Framework 4.0 installation is not being triggered. My bootstrapper code
is as follows...

<ItemGroup>
    <BootstrapperFile
Include="Packages\DotNetFX40Client\.NETFramework,Version=v4.0">
      <Visible>True</Visible>
      <ProductName>Microsoft .NET Framework 4 (x86 and x64)</ProductName>
      <Install>True</Install>
    </BootstrapperFile>
    <BootstrapperFile
Include="Packages\WindowsInstaller4_5\Microsoft.Windows.Installer.4.5">
      <Visible>True</Visible>
      <ProductName>Windows Installer 4.5</ProductName>
      <Install>True</Install>
    </BootstrapperFile>
  </ItemGroup>

<Target Name="AfterBuild">
    <GenerateBootstrapper ApplicationFile="$(TargetFileName)"
ApplicationName="BidMagic" BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="Relative" CopyComponents="True" OutputPath="$(cddir)"
Path="C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\" />
  </Target>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to