mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918)
Also adds GitHub CI test for Windows installer changes
This commit is contained in:
parent
39c34933fc
commit
2dd41740c9
6 changed files with 67 additions and 10 deletions
|
@ -11,6 +11,9 @@
|
|||
<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" />
|
||||
|
|
|
@ -30,8 +30,13 @@
|
|||
</RegistryKey>
|
||||
</Component>
|
||||
<Component Id="vcruntime140.dll" Directory="InstallDirectory" Guid="*">
|
||||
<File Name="vcruntime140.dll" Source="!(bindpath.redist)vcruntime140.dll" KeyPath="yes" />
|
||||
<File Name="vcruntime140.dll" Source="vcruntime140.dll" KeyPath="yes" />
|
||||
</Component>
|
||||
<?ifdef Include_Vcruntime140_1_dll ?>
|
||||
<Component Id="vcruntime140_1.dll" Directory="InstallDirectory" Guid="*">
|
||||
<File Name="vcruntime140_1.dll" Source="vcruntime140_1.dll" KeyPath="yes" />
|
||||
</Component>
|
||||
<?endif ?>
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue