D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
local
/
src
/
Python-3.9.9
/
Tools
/
msi
/
exe
/
Filename :
exe.wixproj
back
Copy
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <ProjectGuid>{6BD53305-B03E-49DC-85FB-5551B8CCC843}</ProjectGuid> <SchemaVersion>2.0</SchemaVersion> <OutputName>exe</OutputName> <OutputType>Package</OutputType> </PropertyGroup> <PropertyGroup> <!-- Shortcut validation is not necessary --> <SuppressICEs>ICE43</SuppressICEs> </PropertyGroup> <Import Project="..\msi.props" /> <PropertyGroup Condition="exists('$(BuildPath)vcruntime140_1.dll')"> <DefineConstants>$(DefineConstants);Include_Vcruntime140_1_dll=1</DefineConstants> </PropertyGroup> <ItemGroup> <Compile Include="exe.wxs" /> <Compile Include="exe_files.wxs" /> <Compile Include="exe_reg.wxs" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="*.wxl" /> <WxlTemplate Include="*.wxl_template" /> </ItemGroup> <Target Name="_CopyMiscNews" AfterTargets="PrepareForBuild" Condition="Exists('$(PySourcePath)Misc\NEWS')"> <Copy SourceFiles="$(PySourcePath)Misc\NEWS" DestinationFiles="$(BuildPath)NEWS.txt" /> </Target> <Target Name="_MergeMiscNewsWithBlurb" AfterTargets="PrepareForBuild" Condition="$(Blurb) != '' and !Exists('$(PySourcePath)Misc\NEWS')"> <Exec Command="$(Blurb) merge -f "$(BuildPath)NEWS.txt"" WorkingDirectory="$(PCbuild)" /> </Target> <Target Name="_MergeMiscNewsWithPython" AfterTargets="PrepareForBuild" Condition="$(Blurb) == '' and !Exists('$(PySourcePath)Misc\NEWS')"> <ItemGroup> <HostPython Include="$(ExternalsDir)python*\tools\python.exe" /> <HostPython Include="@(HostPython)" Condition="Exists(%(FullPath))" /> <HostPython Include="py" Condition="@(HostPython) == ''" /> </ItemGroup> <PropertyGroup> <HostPython>@(HostPython)</HostPython> <HostPython Condition="$(HostPython.Contains(';'))">$(HostPython.Remove($(HostPython.IndexOf(';'))))</HostPython> </PropertyGroup> <Exec Command=""$(HostPython)" -m pip install -U blurb" WorkingDirectory="$(PCbuild)" /> <Exec Command=""$(HostPython)" -m blurb merge -f "$(BuildPath)NEWS.txt"" WorkingDirectory="$(PCbuild)" /> </Target> <Import Project="..\msi.targets" /> </Project>