[Python-checkins] cpython: Adds missing file to installer.

steve.dower python-checkins at python.org
Mon Aug 15 21:58:54 EDT 2016


https://hg.python.org/cpython/rev/d277870a6012
changeset:   102674:d277870a6012
user:        Steve Dower <steve.dower at microsoft.com>
date:        Mon Aug 15 18:58:29 2016 -0700
summary:
  Adds missing file to installer.

files:
  Tools/msi/exe/exe_reg.wxs |  25 +++++++++++++++++++++++++
  1 files changed, 25 insertions(+), 0 deletions(-)


diff --git a/Tools/msi/exe/exe_reg.wxs b/Tools/msi/exe/exe_reg.wxs
new file mode 100644
--- /dev/null
+++ b/Tools/msi/exe/exe_reg.wxs
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
+    <Fragment>
+        <PropertyRef Id="ROOTREGISTRYKEY" />
+        <PropertyRef Id="REGISTRYKEY" />
+        
+        <ComponentGroup Id="exe_reg">
+            <Component Id="CommonPythonRegistration" Directory="InstallDirectory" Guid="$(var.CommonPythonRegComponentGuid)">
+                <RegistryKey Root="HKMU" Key="[ROOTREGISTRYKEY]">
+                    <RegistryValue Name="DisplayName" Type="string" Value="!(loc.Manufacturer)" KeyPath="yes" />
+                    <RegistryValue Name="SupportUrl" Type="string" Value="!(loc.ManufacturerSupportUrl)" KeyPath="no" />
+                </RegistryKey>
+            </Component>
+            <Component Id="PythonRegistration" Directory="InstallDirectory" Guid="$(var.PythonRegComponentGuid)">
+                <RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
+                    <RegistryValue Name="DisplayName" Type="string" Value="!(loc.ShortcutName)" KeyPath="yes" />
+                    <RegistryValue Name="SupportUrl" Type="string" Value="!(loc.SupportUrl)" KeyPath="no" />
+                    <RegistryValue Name="Version" Type="string" Value="$(var.LongVersion)" KeyPath="no" />
+                    <RegistryValue Name="SysVersion" Type="string" Value="$(var.ShortVersion)" KeyPath="no" />
+                    <RegistryValue Name="SysArchitecture" Type="string" Value="$(var.PlatformArchitecture)" KeyPath="no" />
+                </RegistryKey>
+            </Component>
+        </ComponentGroup>
+    </Fragment>
+</Wix>

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list