• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.5</ProductVersion>
7    <ProjectGuid>{1d808ff0-b5a9-4be9-859d-b334b6f48be2}</ProjectGuid>
8    <SchemaVersion>2.0</SchemaVersion>
9    <OutputName>node-v$(FullVersion)-$(Platform)</OutputName>
10    <OutputType>Package</OutputType>
11    <EnableProjectHarvesting>True</EnableProjectHarvesting>
12    <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
13    <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
14    <NodeVersion Condition=" '$(NodeVersion)' == '' ">0.0.0.0</NodeVersion>
15  </PropertyGroup>
16  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
17    <OutputPath>..\..\..\</OutputPath>
18    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
19    <DefineConstants>Debug;ProductVersion=$(NodeVersion);FullVersion=$(FullVersion);DistTypeDir=$(DistTypeDir);NoETW=$(NoETW);NpmSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\npm\;CorepackSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\corepack\;ProgramFilesFolderId=ProgramFilesFolder</DefineConstants>
20  </PropertyGroup>
21  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
22    <OutputPath>..\..\..\</OutputPath>
23    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
24    <DefineConstants>Debug;ProductVersion=$(NodeVersion);FullVersion=$(FullVersion);DistTypeDir=$(DistTypeDir);NoETW=$(NoETW);NpmSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\npm\;CorepackSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\corepack\;ProgramFilesFolderId=ProgramFilesFolder</DefineConstants>
25  </PropertyGroup>
26  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
27    <OutputPath>..\..\..\</OutputPath>
28    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
29    <DefineConstants>Debug;ProductVersion=$(NodeVersion);FullVersion=$(FullVersion);DistTypeDir=$(DistTypeDir);NoETW=$(NoETW);NpmSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\npm\;CorepackSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\corepack\;ProgramFilesFolderId=ProgramFiles64Folder</DefineConstants>
30    <Cultures>en-US</Cultures>
31  </PropertyGroup>
32  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
33    <OutputPath>..\..\..\</OutputPath>
34    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
35    <DefineConstants>Debug;ProductVersion=$(NodeVersion);FullVersion=$(FullVersion);DistTypeDir=$(DistTypeDir);NoETW=$(NoETW);NpmSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\npm\;CorepackSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\corepack\;ProgramFilesFolderId=ProgramFiles64Folder</DefineConstants>
36  </PropertyGroup>
37  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|arm64' ">
38    <OutputPath>..\..\..\</OutputPath>
39    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
40    <DefineConstants>Debug;ProductVersion=$(NodeVersion);FullVersion=$(FullVersion);DistTypeDir=$(DistTypeDir);NoETW=$(NoETW);NpmSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\npm\;CorepackSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\corepack\;ProgramFilesFolderId=ProgramFiles64Folder</DefineConstants>
41  </PropertyGroup>
42  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|arm64' ">
43    <OutputPath>..\..\..\</OutputPath>
44    <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
45    <DefineConstants>Debug;ProductVersion=$(NodeVersion);FullVersion=$(FullVersion);DistTypeDir=$(DistTypeDir);NoETW=$(NoETW);NpmSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\npm\;CorepackSourceDir=..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\corepack\;ProgramFilesFolderId=ProgramFiles64Folder</DefineConstants>
46  </PropertyGroup>
47  <PropertyGroup>
48    <EnableProjectHarvesting>True</EnableProjectHarvesting>
49  </PropertyGroup>
50  <ItemGroup>
51    <Compile Include="product.wxs" />
52    <Compile Include="..\..\..\npm.wxs">
53      <Link>npm.wxs</Link>
54    </Compile>
55    <Compile Include="..\..\..\corepack.wxs">
56      <Link>corepack.wxs</Link>
57    </Compile>
58  </ItemGroup>
59  <ItemGroup>
60    <WixExtension Include="WixUIExtension">
61      <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
62      <Name>WixUIExtension</Name>
63    </WixExtension>
64    <WixExtension Include="WiXUtilExtension">
65      <HintPath>$(WixExtDir)\WiXUtilExtension.dll</HintPath>
66      <Name>WiXUtilExtension</Name>
67    </WixExtension>
68  </ItemGroup>
69  <ItemGroup>
70    <EmbeddedResource Include="i18n\en-us.wxl" />
71  </ItemGroup>
72  <ItemGroup>
73    <ProjectReference Include="custom_actions.vcxproj">
74      <Name>custom_actions</Name>
75      <Project>{b70585f8-dab7-40fa-9904-13cf53a73a06}</Project>
76      <Private>True</Private>
77      <DoNotHarvest>True</DoNotHarvest>
78      <RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
79      <RefTargetDir>INSTALLFOLDER</RefTargetDir>
80    </ProjectReference>
81  </ItemGroup>
82  <Import Project="$(WixTargetsPath)" />
83  <Target Name="BeforeBuild">
84    <HeatDirectory ToolPath="$(WixToolPath)" Directory="..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\npm" PreprocessorVariable="var.NpmSourceDir" DirectoryRefId="NodeModulesFolder" ComponentGroupName="NpmSourceFiles" GenerateGuidsNow="true" SuppressFragments="false" OutputFile="..\..\..\npm.wxs" RunAsSeparateProcess="true">
85    </HeatDirectory>
86    <HeatDirectory ToolPath="$(WixToolPath)" Directory="..\..\..\Release\node-v$(FullVersion)-win-$(Platform)\node_modules\corepack" PreprocessorVariable="var.CorepackSourceDir" DirectoryRefId="NodeModulesFolder" ComponentGroupName="CorepackSourceFiles" GenerateGuidsNow="true" SuppressFragments="false" OutputFile="..\..\..\corepack.wxs" RunAsSeparateProcess="true">
87    </HeatDirectory>
88  </Target>
89  <PropertyGroup>
90    <PostBuildEvent>move "!(TargetPath)" "$(TargetDir)\$(TargetFileName)"
91    move "!(TargetPdbPath)" "$(TargetDir)\$(TargetPdbName)"</PostBuildEvent>
92  </PropertyGroup>
93</Project>
94