This works for me:

    <ItemGroup>
        <BootstrapperPackage Include=".NETFramework,Version=v4.0">
            <Visible>True</Visible>
            <ProductName>.NET Framework 4.0</ProductName>
            <Install>True</Install>
        </BootstrapperPackage>
    </ItemGroup>


> -----Original Message-----
> From: Jason Ding [mailto:jas...@geo-slope.com]
> Sent: Wednesday, June 16, 2010 6:51 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Install .Net Framework 4
> 
> 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>
>  ...
> 
------------------------------------------------------------------------------
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