summaryrefslogtreecommitdiffstats
path: root/Tools/msi/exe/exe_files.wxs
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/exe/exe_files.wxs
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/exe/exe_files.wxs')
-rw-r--r--Tools/msi/exe/exe_files.wxs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/msi/exe/exe_files.wxs b/Tools/msi/exe/exe_files.wxs
index 9e47b5d..c157f40 100644
--- a/Tools/msi/exe/exe_files.wxs
+++ b/Tools/msi/exe/exe_files.wxs
@@ -28,6 +28,9 @@
</Component>
<Component Id="pythonw.exe" Directory="InstallDirectory" Guid="$(var.PythonwExeComponentGuid)">
<File Name="pythonw.exe" KeyPath="yes" />
+ <RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
+ <RegistryValue Key="InstallPath" Name="WindowedExecutablePath" Type="string" Value="[#pythonw.exe]" KeyPath="no" />
+ </RegistryKey>
</Component>
<Component Id="vcruntime140.dll" Directory="InstallDirectory" Guid="*">
<File Name="vcruntime140.dll" Source="!(bindpath.redist)vcruntime140.dll" KeyPath="yes" />