• 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\;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\;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\;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\;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\;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\;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  </ItemGroup>
56  <ItemGroup>
57    <WixExtension Include="WixUIExtension">
58      <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
59      <Name>WixUIExtension</Name>
60    </WixExtension>
61    <WixExtension Include="WiXUtilExtension">
62      <HintPath>$(WixExtDir)\WiXUtilExtension.dll</HintPath>
63      <Name>WiXUtilExtension</Name>
64    </WixExtension>
65  </ItemGroup>
66  <ItemGroup>
67    <!--
68    <EmbeddedResource Include="i18n\de-de.wxl" />
69    <EmbeddedResource Include="i18n\it-it.wxl" />
70    <EmbeddedResource Include="i18n\zh-cn.wxl" />
71    -->
72    <EmbeddedResource Include="i18n\en-us.wxl" />
73  </ItemGroup>
74  <ItemGroup>
75    <ProjectReference Include="custom_actions.vcxproj">
76      <Name>custom_actions</Name>
77      <Project>{b70585f8-dab7-40fa-9904-13cf53a73a06}</Project>
78      <Private>True</Private>
79      <DoNotHarvest>True</DoNotHarvest>
80      <RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
81      <RefTargetDir>INSTALLFOLDER</RefTargetDir>
82    </ProjectReference>
83  </ItemGroup>
84  <Import Project="$(WixTargetsPath)" />
85  <Target Name="BeforeBuild">
86    <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">
87    </HeatDirectory>
88  </Target>
89  <PropertyGroup>
90    <PostBuildEvent>move "!(TargetPath)" "$(TargetDir)\$(TargetFileName)"
91    move "!(TargetPdbPath)" "$(TargetDir)\$(TargetPdbName)"</PostBuildEvent>
92    <!--
93    <PostBuildEvent>
94      "$(WixToolPath)\torch.exe" -t language "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)de-de\$(TargetFileName)" -out "$(TargetDir)transforms\de-de.mst"
95      "$(WixToolPath)\torch.exe" -t language "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)it-it\$(TargetFileName)" -out "$(TargetDir)transforms\it-it.mst"
96      "$(WixToolPath)\torch.exe" -t language "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)zh-cn\$(TargetFileName)" -out "$(TargetDir)transforms\zh-cn.mst"
97      cscript.exe "$(WindowsSDK80Path)bin\$(Platform)\WiSubStg.vbs" "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)transforms\de-de.mst" 1031
98      cscript.exe "$(WindowsSDK80Path)bin\$(Platform)\WiSubStg.vbs" "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)transforms\it-it.mst" 1040
99      cscript.exe "$(WindowsSDK80Path)bin\$(Platform)\WiSubStg.vbs" "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)transforms\zh-cn.mst" 2052
100      cscript.exe "$(WindowsSDK80Path)bin\$(Platform)\WiLangId.vbs" "$(TargetDir)en-US\$(TargetFileName)" Package 1031,1033,1040,2052
101    </PostBuildEvent>
102    -->
103  </PropertyGroup>
104</Project>
105