Hi, I am trying to do a Web Application Setup with VS2010 and WIX, it is working ok, but the only thing I want to improve is when you buiild the Setup project it places the Web Application output in a separete folder inside the bin folder, so if I want to install that Web in a server I need to copy the msi file + web application Folder.
Is there any way of building the Setup Project to include that folder inside the msi package?? Here is my .wixproj file: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"><http://schemas.microsoft.com/developer/msbuild/2003%22%3e> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">x86</Platform> <ProductVersion>3.7</ProductVersion> <ProjectGuid>{7bc848bd-4069-429e-847e-4f964a148362}</ProjectGuid> <SchemaVersion>2.0</SchemaVersion> <OutputName>Tgw.WebClient.Goodyear.Setup</OutputName> <OutputType>Package</OutputType> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\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</DefineConstants> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <OutputPath>bin\$(Configuration)\</OutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> </PropertyGroup> <ItemGroup> <Compile Include="MainConfiguration.wxs" /> <Compile Include="Tgw.WebClient.Standalone.Web.wxs" /> <Compile Include="WIXUI_Screens.wxs" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="Resources\Strings.wxl" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\Standalone\Source\Tgw.WebClient.Standalone.Web\Tgw.WebClient.Standalone.Web.csproj"> <Name>Tgw.WebClient.Standalone.Web</Name> <Project>{f50a4ff0-6878-4a27-bce7-4956d1ae27db}</Project> <Private>True</Private> <DoNotHarvest>True</DoNotHarvest> <RefProjectOutputGroups> </RefProjectOutputGroups> <RefTargetDir>TARGETINSTALLDIRECTORY</RefTargetDir> <WebProject>True</WebProject> </ProjectReference> </ItemGroup> <ItemGroup> <WixExtension Include="WixNetFxExtension"> <HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath> <Name>WixNetFxExtension</Name> </WixExtension> <WixExtension Include="WixIIsExtension"> <HintPath>$(WixExtDir)\WixIIsExtension.dll</HintPath> <Name>WixIIsExtension</Name> </WixExtension> <WixExtension Include="WixUtilExtension"> <HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath> <Name>WixUtilExtension</Name> </WixExtension> <WixExtension Include="WixUIExtension"> <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath> <Name>WixUIExtension</Name> </WixExtension> </ItemGroup> <ItemGroup> <Content Include="Configuration\Conditions.wxi" /> <Content Include="Configuration\Settings.wxi" /> <Content Include="Resources\CommanderApp_32.ico" /> <Content Include="Scripts\CreateWebApplicationConfigFiles.ps1" /> </ItemGroup> <ItemGroup> <Folder Include="Configuration" /> <Folder Include="Scripts" /> <Folder Include="Resources" /> </ItemGroup> <Import Project="$(WixTargetsPath)" /> <Import Project="$(WixTargetsPath)" /> <Target Name="BeforeBuild"> <MSBuild Projects="%(ProjectReference.FullPath)" Targets="Package" Properties="Configuration=$(Configuration);Platform=AnyCPU" Condition="'%(ProjectReference.WebProject)'=='True'" /> <PropertyGroup> <LinkerBaseInputPaths>%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\</LinkerBaseInputPaths> <DefineConstants>BasePath=%(ProjectReference.RootDir)%(ProjectReference.Directory);</DefineConstants> </PropertyGroup> <HeatDirectory OutputFile="%(ProjectReference.Filename).wxs" Directory="%(ProjectReference.RootDir)%(ProjectReference.Directory)obj\$(Configuration)\Package\PackageTmp\" DirectoryRefId="TARGETINSTALLDIRECTORY" ComponentGroupName="%(ProjectReference.Filename)_Project" AutogenerateGuids="true" SuppressCom="true" SuppressFragments="true" SuppressRegistry="true" SuppressRootDirectory="true" ToolPath="$(WixToolPath)" Condition="'%(ProjectReference.WebProject)'=='True'" PreprocessorVariable="var.BasePath" /> </Target> </Project> Javier Hertfelder Piñeiro Product Development TGW Ibérica Sistemas Logísticos S.L. C/ Frederic Mompou, 5 Planta 7 08960 - Sant Just Desvern (Barcelona) Tlfno.: +34 93 480 93 89 Ext.: 3358 Mobile: 0034620904825 javier.hertfel...@tgw-group.com<mailto:javier.hertfel...@tgw-group.com> http://www.tgw-group.com<blocked::http://www.tgw-group.com/> ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users