That depends on the value of the ComponentsLocation attribute of the 
GenerateBootstrapper Task in your wixproj file, as well as the CopyComponents 
attribute.

See: http://msdn.microsoft.com/en-us/library/ms164294.aspx

For example, if ComponentsLocation="Relative", and CopyComponents="true", then 
they would get copied alongside your bootstrapper EXE in a separate directory.  
I'm not sure about embedding them in the MSI; I know Burn can do it, but the 
GenerateBootstrapper task is part of MSBUILD, not Burn.


-----Original Message-----
From: Sidky Macatangay [mailto:y2k...@gmail.com] 
Sent: Wednesday, June 29, 2011 5:14 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Bootstrapping .NET Framework 4.0

Thanks David, that worked for me!

On another note, can anyone confirm that when something has been bootstrapped 
its executable/installer file gets embedded in the MSI? That's what we would 
like to happen in our MSI as we want to include everything in the media and 
avoid any downloading from the internet.


>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 22 Jun 2011 13:02:49 +0100
> From: "David Watson" <dwat...@sdl.com>
> Subject: Re: [WiX-users] Bootstrapping .NET Framework 4.0
> To: <wix-users@lists.sourceforge.net>
> Message-ID:
>
>  
> <8701d1480741164db71e42643c4a489f03380...@emeamail0305.global.sdl.corp
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> 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>
>
> ----------------------------------------------------------------------
> ------
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes sense 
of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to