Configuring the project to bootstrap .net 3.0 and SQL server 2005 express,
using the following lines of code:

  <ItemGroup>
    <BootstrapperFile Include="{511DAC48-6CBB-43a3-A64D-0182F2A9EBC2}">    
    <ProductName>.NET Framework 3.0</ProductName>
    </BootstrapperFile>
    <BootstrapperFile Include="Microsoft.Sql.Server.Express.1.0">
      <ProductName>SQL Server 2005 Express Edition</ProductName>
    </BootstrapperFile>
  </ItemGroup>
  <Target Name="Bootstrapper" Inputs="$(OutDir)$(TargetFileName)"
Outputs="$OutDir\Setup.exe" Condition="$(OutputType)=='package'">
    <GenerateBootstrapper ApplicationName="MyApp"
ApplicationFile="$(TargetFileName)" BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="HomeSite" OutputPath="$(OutputPath)" Culture="en-US"/>
  </Target>
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets"
/>
  <PropertyGroup>
    <BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn>
  </PropertyGroup>

   Trying to compile it, it tells me " '.NET Framework 2.0' is required by
'SQL Server 2005 Express Edition', but was not included." Knowing that 3.0
contains 2.0, is there any way to specify that and avoid to install 2.0 and
then 3.0?
-- 
View this message in context: 
http://www.nabble.com/Creating-a-.net-3.0-and-SQL-server-2005-bootstrapper-tf4649128.html#a13281617
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to