| 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 |
<ProjectGuid>{921CF0E6-AEBC-4376-BA1D-CD46EBFE6DA5}</ProjectGuid> |
| 5 |
<SchemaVersion>2.0</SchemaVersion> |
| 6 |
<OutputName>launcher</OutputName> |
| 7 |
<OutputType>Package</OutputType> |
| 8 |
<DefineConstants>UpgradeCode=1B68A0EC-4DD3-5134-840E-73854B0863F1;SuppressUpgradeTable=1;$(DefineConstants)</DefineConstants> |
| 9 |
<IgnoreCommonWxlTemplates>true</IgnoreCommonWxlTemplates> |
| 10 |
<SuppressICEs>ICE80</SuppressICEs> |
| 11 |
<_Rebuild>Build</_Rebuild> |
| 12 |
</PropertyGroup> |
| 13 |
<Import Project="..\msi.props" /> |
| 14 |
<ItemGroup> |
| 15 |
<Compile Include="launcher.wxs" /> |
| 16 |
<Compile Include="launcher_files.wxs" /> |
| 17 |
<Compile Include="launcher_reg.wxs" /> |
| 18 |
</ItemGroup> |
| 19 |
<ItemGroup> |
| 20 |
<EmbeddedResource Include="*.wxl" /> |
| 21 |
</ItemGroup> |
| 22 |
|
| 23 |
<Target Name="_MarkAsRebuild" BeforeTargets="BeforeRebuild"> |
| 24 |
<PropertyGroup> |
| 25 |
<_Rebuild>Rebuild</_Rebuild> |
| 26 |
</PropertyGroup> |
| 27 |
</Target> |
| 28 |
|
| 29 |
<Target Name="_EnsurePyEx86" Condition="!Exists('$(BuildPath32)py.exe') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild"> |
| 30 |
<MSBuild Projects="$(PySourcePath)PCbuild\pylauncher.vcxproj" Properties="Platform=Win32" Targets="$(_Rebuild)" /> |
| 31 |
</Target> |
| 32 |
<Target Name="_EnsurePywEx86" Condition="!Exists('$(BuildPath32)pyw.exe') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild"> |
| 33 |
<MSBuild Projects="$(PySourcePath)PCbuild\pywlauncher.vcxproj" Properties="Platform=Win32" Targets="$(_Rebuild)" /> |
| 34 |
</Target> |
| 35 |
<Target Name="_EnsurePyShellExt86" Condition="!Exists('$(BuildPath32)pyshellext.dll') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild"> |
| 36 |
<MSBuild Projects="$(PySourcePath)PCbuild\pyshellext.vcxproj" Properties="Platform=Win32" Targets="$(_Rebuild)" /> |
| 37 |
</Target> |
| 38 |
<Target Name="_EnsurePyShellExt64" Condition="!Exists('$(BuildPath64)pyshellext.dll') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild"> |
| 39 |
<MSBuild Projects="$(PySourcePath)PCbuild\pyshellext.vcxproj" Properties="Platform=x64" Targets="$(_Rebuild)" /> |
| 40 |
</Target> |
| 41 |
<Target Name="_EnsurePyShellExtARM64" Condition="!Exists('$(BuildPathARM64)pyshellext.dll') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild"> |
| 42 |
<MSBuild Projects="$(PySourcePath)PCbuild\pyshellext.vcxproj" Properties="Platform=ARM64" Targets="$(_Rebuild)" /> |
| 43 |
</Target> |
| 44 |
|
| 45 |
<Import Project="..\msi.targets" /> |
| 46 |
</Project> |