In my case, I had to deal with two different locations of the bootstrapper files. This is what works for us.
Just make sure that you have the bootstrapper files in the correct directory (C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper for example). There is a packages directory that has the list of things you can add to the bootstrapper (1 directory per package). My project file has this: <ItemGroup> <BootstrapperFile Include="Microsoft.Net.Framework.3.5.SP1"> <ProductName>.NET Framework 3.5 SP1</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Windows.Installer.4.5"> <ProductName>Windows Installer 4.5</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Office.PIARedist.2007"> <ProductName>Microsoft Office 2007 Primary Interop Assemblies</ProductName> </BootstrapperFile> </ItemGroup> <PropertyGroup> <SDK70>$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft sdks\windows\v7...@installationfolder)</SDK70> <SDK70A>$(registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft sdks\windows\v7....@installationfolder)</SDK70A> <SDKPath>$(SDK70A)</SDKPath> <SDKPath Condition=" '$(SDKPath)' == ''">C:\Program Files\Microsoft SDKs\Windows\v6.0A\</SDKPath> <!-- <SDKPath Condition=" '$(SDKPath)' == ''">$(SDK70)</SDKPath> --> </PropertyGroup> -----Original Message----- From: pateras [mailto:pate...@gmail.com] Sent: Monday, April 05, 2010 10:58 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Adding a .Net 3.5 web-install prerequisite Yes, and this is what my project file has: <ItemGroup> <BootstrapperFile Include="Microsoft.Windows.Installer.3.1"> <ProductName>Windows Installer 3.1</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Net.Framework.3.5.SP1"> <ProductName>.NET Framework 3.5 SP1</ProductName> </BootstrapperFile> </ItemGroup> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Wix.targets. <Target Name="BeforeBuild"> </Target>--> <Target Name="Bootstrapper"> <GenerateBootstrapper ApplicationFile="Client.msi" ApplicationName="My Client" BootstrapperItems="@(BootstrapperFile)" OutputPath="$(OutputPath)" Culture="en-US" CopyComponents="true" ComponentsLocation="HomeSite" Path="$(BootstrapperPath)" /> </Target> Is that correct? -- View this message in context: http://n2.nabble.com/Adding-a-Net-3-5-web-install-prerequisite-tp4844325p4854040.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users