I am tring to use Bootstrapper to install .Net Framework 4.0 by using a sample 
from this site:
http://wix.sourceforge.net/manual-wix3/install_dotnet.htm

I got a message like this:

warning MSB3155: Item 'Microsoft.Net.Framework.4.0' could not be located in 
'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\

Under the folder Bootstrapper/Packages, I have DotNetFX40 and DotNetFX40Client 
sub-folders.
I am wondering if Microsoft.Net.Framework.4.0 is the correct BootstrapperFile 
name to use? Does anyone know where I can find the name for each .Net Framework 
Fix, like Microsoft.Net.Framework.3.5 for .Net Framework 3.5 ?

Here is the code I am using, looks good to me unless the name in 
BootstrapperFile Include is wrong. Thanks for help.


<ItemGroup>
    <BootstrapperFile Include="Microsoft.Net.Framework.4.0">
      <ProductName>.NET Framework 4</ProductName>
    </BootstrapperFile>
    <BootstrapperFile Include="Microsoft.Windows.Installer.4.5">
      <ProductName>Windows Installer 4.5</ProductName>
    </BootstrapperFile>
  </ItemGroup>
 ...

<Target Name="AfterBuild">

    <GenerateBootstrapper ApplicationFile="$(TargetFileName)"

                          ApplicationName="My Application Name"

                          BootstrapperItems="@(BootstrapperFile)"

                          ComponentsLocation="Relative"

                          CopyComponents="True"

                          OutputPath="$(OutputPath)"

                          Path="C:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.0A\Bootstrapper\"/>

  </Target>

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to