Thanks John for reply.
1. I tried John's solution, it builds fine, but when I install it fails "Setup
ended prematurely because of an error. Does John or anyone else know why?
2. If I use BootstrapperPackage for 4.0, like this:
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
how can I specify 4.0 Client,
neither
<BootstrapperPackage Include=".NETFramework.Client,Version=v4.0">
nor
<BootstrapperPackage Include=".NETFramework,Version=v4.0 Client">
is working.
3. Does anyone know where I can find out the property values for different
.NetFramework versions? For example, in
<BootstrapperFile Include="Microsoft.Net.Framework.4.0">
We use Microsoft.Net.Framework.4.0 for 4.0 and Microsoft.Net.Client.3.5 for 3.5
Client, when I use Microsoft.Net.Client.4.0, it gives me
warning MSB3155: Item 'Microsoft.Net.Client.4.0' could not be
located in 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\'
I wonder there must be a place I can find out the standard value for each
version, can someone help?
Thanks.
-----Original Message-----
From: John Vottero [mailto:[email protected]]
Sent: June 16, 2010 5:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Install .Net Framework 4
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:[email protected]]
> Sent: Wednesday, June 16, 2010 6:51 PM
> To: [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users