I'm trying to ship sql express with my setup but it always wants to download 
the package instead. The options ComponentsLocation="Realtive" and 
CopyComponents="True" should do the trick but sqlepr32.exe isn't being copied 
anywhere. I'm using the latest wix 3 build and studio 2005. Below is my 
wix-project-file. Thanks for help.


<Project DefaultTargets="Build" 
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>3.0</ProductVersion>
    <ProjectGuid>{b4f200bb-bb08-4422-9f12-b73c06f2733f}</ProjectGuid>
    <SchemaVersion>2.0</SchemaVersion>
    <OutputName>EPCV2Mod.SCE.Setup</OutputName>
    <OutputType>Package</OutputType>
    <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' 
">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath>
    <SccProjectName>SAK</SccProjectName>
    <SccProvider>SAK</SccProvider>
    <SccAuxPath>SAK</SccAuxPath>
    <SccLocalPath>SAK</SccLocalPath>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <OutputPath>bin\$(Configuration)\</OutputPath>
    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
    <DefineConstants>Debug;BUILD=Debug</DefineConstants>
    <Cultures>en-US</Cultures>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <OutputPath>bin\$(Configuration)\</OutputPath>
    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="Product.wxs" />
  </ItemGroup>
  <ItemGroup>
    <BootstrapperFile Include="SCE.Microsoft.Sql.Server.Express.1.0">
      <ProductName>SCE SQL Express</ProductName>
    </BootstrapperFile>
  </ItemGroup>
  <ItemGroup>
    <WixExtension Include="WixUIExtension">
      <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
    </WixExtension>
  </ItemGroup>
  <ItemGroup>
    <Content Include="Bootstrapper\Packages\SceSqlExpress\en\package.xml" />
    <Content Include="Bootstrapper\Packages\SceSqlExpress\product.xml" />
    <Content Include="License.rtf" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="Bootstrapper" />
    <Folder Include="Bootstrapper\Packages" />
    <Folder Include="Bootstrapper\Packages\SceSqlExpress" />
    <Folder Include="Bootstrapper\Packages\SceSqlExpress\en" />
  </ItemGroup>
  <Target Name="Bootstrapper">
    <GenerateBootstrapper ApplicationName="PTS Supplier Document Exchange" 
ApplicationFile="$(TargetFileName)" BootstrapperItems="@(BootstrapperFile)" 
ComponentsLocation="Realtive" CopyComponents="True" <Project 
DefaultTargets="Build" 
xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
    <ProductVersion>3.0</ProductVersion>
    <ProjectGuid>{b4f200bb-bb08-4422-9f12-b73c06f2733f}</ProjectGuid>
    <SchemaVersion>2.0</SchemaVersion>
    <OutputName>EPCV2Mod.SCE.Setup</OutputName>
    <OutputType>Package</OutputType>
    <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' 
">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPath>
    <SccProjectName>SAK</SccProjectName>
    <SccProvider>SAK</SccProvider>
    <SccAuxPath>SAK</SccAuxPath>
    <SccLocalPath>SAK</SccLocalPath>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    <OutputPath>bin\$(Configuration)\</OutputPath>
    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
    <DefineConstants>Debug;BUILD=Debug</DefineConstants>
    <Cultures>en-US</Cultures>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    <OutputPath>bin\$(Configuration)\</OutputPath>
    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="Product.wxs" />
  </ItemGroup>
  <ItemGroup>
    <BootstrapperFile Include="SCE.Microsoft.Sql.Server.Express.1.0">
      <ProductName>SCE SQL Express</ProductName>
    </BootstrapperFile>
  </ItemGroup>
  <ItemGroup>
    <WixExtension Include="WixUIExtension">
      <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
    </WixExtension>
  </ItemGroup>
  <ItemGroup>
    <Content Include="Bootstrapper\Packages\SceSqlExpress\en\package.xml" />
    <Content Include="Bootstrapper\Packages\SceSqlExpress\product.xml" />
    <Content Include="License.rtf" />
  </ItemGroup>
  <ItemGroup>
    <Folder Include="Bootstrapper" />
    <Folder Include="Bootstrapper\Packages" />
    <Folder Include="Bootstrapper\Packages\SceSqlExpress" />
    <Folder Include="Bootstrapper\Packages\SceSqlExpress\en" />
  </ItemGroup>
  <Target Name="Bootstrapper">
    <!-- Inputs="$(OutDir)$(TargetFileName)" Outputs="$(OutDir)\Setup.exe" 
Condition=" '$(OutputType)'=='package' " -->
    <GenerateBootstrapper ApplicationName="PTS Supplier Document Exchange" 
ApplicationFile="$(TargetFileName)" BootstrapperItems="@(BootstrapperFile)" 
ComponentsLocation="Realtive" CopyComponents="True" Culture="en-US" 
OutputPath="$(OutputPath)" />
  </Target>
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets" />
  <PropertyGroup>
    <BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn>
  </PropertyGroup>
</Project> Culture="en-US" OutputPath="$(OutputPath)" />
  </Target>
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets" />
  <PropertyGroup>
    <BuildDependsOn>$(BuildDependsOn);Bootstrapper</BuildDependsOn>
  </PropertyGroup>
</Project>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to