blob: 9c64ca6ee2be25320cf6d9a2bbec491912cf83be [file] [log] [blame]
Sébastien Blin1f915762020-08-03 13:27:42 -04001<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <PropertyGroup>
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">x64</Platform>
6 <ProductVersion>3.10</ProductVersion>
7 <ProjectGuid>dbbfbc55-1c20-4d21-ae3b-6e8b14c4fe48</ProjectGuid>
8 <SchemaVersion>2.0</SchemaVersion>
9 <OutputName Condition="'$(Configuration)' == 'Release'">jami.release.$(Platform)</OutputName>
10 <OutputName Condition="'$(Configuration)' == 'Beta'">jami.beta.$(Platform)</OutputName>
11 <OutputType>Package</OutputType>
12 <Name>JamiInstaller</Name>
13 <InstallerPlatform>x64</InstallerPlatform>
14 </PropertyGroup>
15 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
16 <OutputPath>bin\$(Configuration)\</OutputPath>
17 <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
18 <DefineConstants>HarvestPath=..\x64\Release</DefineConstants>
19 <SuppressPdbOutput>True</SuppressPdbOutput>
20 <CompilerAdditionalOptions>
21 </CompilerAdditionalOptions>
22 <WixVariables>
23 </WixVariables>
24 </PropertyGroup>
25 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Beta|x64' ">
26 <OutputPath>bin\$(Configuration)\</OutputPath>
27 <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
28 <DefineConstants>HarvestPath=..\x64\Beta</DefineConstants>
29 <SuppressPdbOutput>True</SuppressPdbOutput>
30 <CompilerAdditionalOptions>
31 </CompilerAdditionalOptions>
32 <WixVariables>
33 </WixVariables>
34 </PropertyGroup>
35 <ItemGroup>
36 <Compile Include="Product.wxs" />
37 <Compile Include="StandardComponents.wxs" />
38 <Compile Include="Components.wxs" />
39 </ItemGroup>
40 <ItemGroup>
41 <Content Include="Config.wxi" />
42 <Content Include="HarvestFilter.xslt" />
43 <Content Include="JamiInstaller.wax" />
44 <Content Include="main-banner.bmp" />
45 <Content Include="top-banner.bmp" />
46 </ItemGroup>
47 <ItemGroup>
48 <WixExtension Include="WixUtilExtension">
49 <HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
50 <Name>WixUtilExtension</Name>
51 </WixExtension>
52 <WixExtension Include="WixUIExtension">
53 <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
54 <Name>WixUIExtension</Name>
55 </WixExtension>
56 </ItemGroup>
57 <ItemGroup>
58 <EmbeddedResource Include="Localization.wxl" />
59 </ItemGroup>
60 <Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
61 <Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
62 <Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
63 <Error Text="The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" />
64 </Target>
65 <Target Name="BeforeBuild">
66 <HeatDirectory Directory="..\x64\$(Configuration)" PreprocessorVariable="var.HarvestPath" OutputFile="Components.wxs" ComponentGroupName="HeatGenerated" DirectoryRefId="APPLICATIONFOLDER" AutogenerateGuids="true" ToolPath="$(WixToolPath)" SuppressFragments="true" SuppressRegistry="true" SuppressRootDirectory="true" Transforms="HarvestFilter.xslt" />
67 </Target>
68 <Target Name="AfterBuild">
69 </Target>
70</Project>