I simply use this...

<BootstrapperFile Include=".NETFramework,Version=v4.0">
      <ProductName>.Net Framework 4.0</ProductName>
    </BootstrapperFile>



-----Original Message-----
From: Sidky Macatangay [mailto:y2k...@gmail.com] 
Sent: 22 June 2011 06:21
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Bootstrapping .NET Framework 4.0

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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
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