summaryrefslogtreecommitdiffstats
path: root/Tools/msi/msi.props
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-07-25 01:04:29 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-07-25 01:04:29 (GMT)
commit05338267ab75c0a0948049280da0224ecc2fb7dc (patch)
treed9c09b0986a40126fba69293675c361e994bb7e4 /Tools/msi/msi.props
parent95f7b9fcaca03d442aa2f26fd79f093cbcbc7003 (diff)
downloadcpython-05338267ab75c0a0948049280da0224ecc2fb7dc.zip
cpython-05338267ab75c0a0948049280da0224ecc2fb7dc.tar.gz
cpython-05338267ab75c0a0948049280da0224ecc2fb7dc.tar.bz2
Issue #27610: Adds PEP 514 metadata to Windows installer
Diffstat (limited to 'Tools/msi/msi.props')
-rw-r--r--Tools/msi/msi.props9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tools/msi/msi.props b/Tools/msi/msi.props
index 0cf7c77..745fc54 100644
--- a/Tools/msi/msi.props
+++ b/Tools/msi/msi.props
@@ -69,6 +69,8 @@
<PropertyGroup>
<Bitness>32-bit</Bitness>
<Bitness Condition="$(Platform) == 'x64'">64-bit</Bitness>
+ <PlatformArchitecture>32bit</PlatformArchitecture>
+ <PlatformArchitecture Condition="$(Platform) == 'x64'">64bit</PlatformArchitecture>
<DefineConstants>
$(DefineConstants);
Version=$(InstallerVersion);
@@ -79,6 +81,7 @@
UpgradeMinimumVersion=$(MajorVersionNumber).$(MinorVersionNumber).0.0;
NextMajorVersionNumber=$(MajorVersionNumber).$([msbuild]::Add($(MinorVersionNumber), 1)).0.0;
Bitness=$(Bitness);
+ PlatformArchitecture=$(PlatformArchitecture);
PyDebugExt=$(PyDebugExt);
PyArchExt=$(PyArchExt);
PyTestExt=$(PyTestExt);
@@ -155,6 +158,12 @@
<_Uuid Include="RemoveLib2to3PickleComponentGuid">
<Uri>lib2to3/pickles</Uri>
</_Uuid>
+ <_Uuid Include="CommonPythonRegComponentGuid">
+ <Uri>registry</Uri>
+ </_Uuid>
+ <_Uuid Include="PythonRegComponentGuid">
+ <Uri>registry/$(OutputName)</Uri>
+ </_Uuid>
</ItemGroup>
<Target Name="_GenerateGuids" AfterTargets="PrepareForBuild" Condition="$(TargetName) != 'launcher'">
<PropertyGroup>