17db96d56Sopenharmony_ci<?xml version="1.0" encoding="utf-8"?>
27db96d56Sopenharmony_ci<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
37db96d56Sopenharmony_ci    <PropertyGroup>
47db96d56Sopenharmony_ci        <ProjectGuid>{921CF0E6-AEBC-4376-BA1D-CD46EBFE6DA5}</ProjectGuid>
57db96d56Sopenharmony_ci        <SchemaVersion>2.0</SchemaVersion>
67db96d56Sopenharmony_ci        <OutputName>launcher</OutputName>
77db96d56Sopenharmony_ci        <OutputType>Package</OutputType>
87db96d56Sopenharmony_ci        <DefineConstants>UpgradeCode=1B68A0EC-4DD3-5134-840E-73854B0863F1;SuppressUpgradeTable=1;$(DefineConstants)</DefineConstants>
97db96d56Sopenharmony_ci        <IgnoreCommonWxlTemplates>true</IgnoreCommonWxlTemplates>
107db96d56Sopenharmony_ci        <SuppressICEs>ICE80</SuppressICEs>
117db96d56Sopenharmony_ci        <_Rebuild>Build</_Rebuild>
127db96d56Sopenharmony_ci    </PropertyGroup>
137db96d56Sopenharmony_ci    <Import Project="..\msi.props" />
147db96d56Sopenharmony_ci    <ItemGroup>
157db96d56Sopenharmony_ci        <Compile Include="launcher.wxs" />
167db96d56Sopenharmony_ci        <Compile Include="launcher_files.wxs" />
177db96d56Sopenharmony_ci        <Compile Include="launcher_reg.wxs" />
187db96d56Sopenharmony_ci    </ItemGroup>
197db96d56Sopenharmony_ci    <ItemGroup>
207db96d56Sopenharmony_ci        <EmbeddedResource Include="*.wxl" />
217db96d56Sopenharmony_ci    </ItemGroup>
227db96d56Sopenharmony_ci
237db96d56Sopenharmony_ci    <Target Name="_MarkAsRebuild" BeforeTargets="BeforeRebuild">
247db96d56Sopenharmony_ci      <PropertyGroup>
257db96d56Sopenharmony_ci        <_Rebuild>Rebuild</_Rebuild>
267db96d56Sopenharmony_ci      </PropertyGroup>
277db96d56Sopenharmony_ci    </Target>
287db96d56Sopenharmony_ci
297db96d56Sopenharmony_ci    <Target Name="_EnsurePyEx86" Condition="!Exists('$(BuildPath32)py.exe') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild">
307db96d56Sopenharmony_ci        <MSBuild Projects="$(PySourcePath)PCbuild\pylauncher.vcxproj" Properties="Platform=Win32" Targets="$(_Rebuild)" />
317db96d56Sopenharmony_ci    </Target>
327db96d56Sopenharmony_ci    <Target Name="_EnsurePywEx86" Condition="!Exists('$(BuildPath32)pyw.exe') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild">
337db96d56Sopenharmony_ci        <MSBuild Projects="$(PySourcePath)PCbuild\pywlauncher.vcxproj" Properties="Platform=Win32" Targets="$(_Rebuild)" />
347db96d56Sopenharmony_ci    </Target>
357db96d56Sopenharmony_ci    <Target Name="_EnsurePyShellExt86" Condition="!Exists('$(BuildPath32)pyshellext.dll') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild">
367db96d56Sopenharmony_ci        <MSBuild Projects="$(PySourcePath)PCbuild\pyshellext.vcxproj" Properties="Platform=Win32" Targets="$(_Rebuild)" />
377db96d56Sopenharmony_ci    </Target>
387db96d56Sopenharmony_ci    <Target Name="_EnsurePyShellExt64" Condition="!Exists('$(BuildPath64)pyshellext.dll') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild">
397db96d56Sopenharmony_ci        <MSBuild Projects="$(PySourcePath)PCbuild\pyshellext.vcxproj" Properties="Platform=x64" Targets="$(_Rebuild)" />
407db96d56Sopenharmony_ci    </Target>
417db96d56Sopenharmony_ci    <Target Name="_EnsurePyShellExtARM64" Condition="!Exists('$(BuildPathARM64)pyshellext.dll') or '$(_Rebuild)' == 'Rebuild'" BeforeTargets="PrepareForBuild">
427db96d56Sopenharmony_ci        <MSBuild Projects="$(PySourcePath)PCbuild\pyshellext.vcxproj" Properties="Platform=ARM64" Targets="$(_Rebuild)" />
437db96d56Sopenharmony_ci    </Target>
447db96d56Sopenharmony_ci    
457db96d56Sopenharmony_ci    <Import Project="..\msi.targets" />
467db96d56Sopenharmony_ci</Project>