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