Merge pull request #5407 from kumpera/fix_31225
[mono.git] / packaging / Windows / resources / MonoForWindows.wixproj
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <PropertyGroup>
4     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5     <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
6     <ProductVersion>3.9</ProductVersion>
7     <ProjectGuid>9f279b8c-fc0d-49d4-b5bd-ade0db0c3095</ProjectGuid>
8     <SchemaVersion>2.0</SchemaVersion>
9     <OutputName>MonoForWindows-$(Platform)</OutputName>
10     <OutputType>Package</OutputType>
11     <SuppressIces>ICE61;</SuppressIces>
12     <DefineSolutionProperties>false</DefineSolutionProperties>
13     <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
14     <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
15   </PropertyGroup>
16   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
17     <OutputPath>bin\$(Configuration)\</OutputPath>
18     <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
19     <DefineConstants>Debug</DefineConstants>
20   </PropertyGroup>
21   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
22     <OutputPath>bin\$(Configuration)\</OutputPath>
23     <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
24     <DefineConstants>
25     </DefineConstants>
26   </PropertyGroup>
27   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
28     <OutputPath>bin\$(Configuration)\</OutputPath>
29     <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
30     <DefineConstants>Debug</DefineConstants>
31   </PropertyGroup>
32   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
33     <OutputPath>bin\$(Configuration)\</OutputPath>
34     <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
35     <DefineConstants>
36     </DefineConstants>
37   </PropertyGroup>
38   <ItemGroup>
39     <Compile Include="mono.generated.wxs" />
40     <Compile Include="Product.wxs" />
41   </ItemGroup>
42   <ItemGroup>
43     <WixExtension Include="WixUIExtension">
44       <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
45       <Name>WixUIExtension</Name>
46     </WixExtension>
47   </ItemGroup>
48   <Import Project="$(WixTargetsPath)" />
49   <Target Name="BeforeBuild">
50     <HeatDirectory OutputFile="mono.generated.wxs" Directory="$(MONO_FILES_DIR)" DirectoryRefId="INSTALLFOLDER" ComponentGroupName="MonoFiles" PreprocessorVariable="env.MONO_FILES_DIR" ToolPath="$(WixToolPath)" GenerateGuidsNow="true" SuppressCom="true" SuppressRegistry="true" SuppressFragments="true" SuppressRootDirectory="true" />
51   </Target>
52 </Project>