[Python-checkins] cpython (2.7): Issue #16067: Add description into MSI file to replace installer's temporary

martin.v.loewis python-checkins at python.org
Sat Aug 3 20:24:42 CEST 2013


http://hg.python.org/cpython/rev/ee0bdc007a0f
changeset:   85000:ee0bdc007a0f
branch:      2.7
parent:      84991:e5e425fd1e4f
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Sat Aug 03 20:24:00 2013 +0200
summary:
  Issue #16067: Add description into MSI file to replace installer's temporary name.

files:
  Misc/NEWS        |  2 ++
  Tools/msi/msi.py |  5 ++++-
  2 files changed, 6 insertions(+), 1 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -98,6 +98,8 @@
 Build
 -----
 
+- Issue #16067: Add description into MSI file to replace installer's temporary name.
+
 - Issue #18256: Compilation fix for recent AIX releases.  Patch by
   David Edelsohn.
 
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -1392,7 +1392,10 @@
 # certname (from config.py) should be (a substring of)
 # the certificate subject, e.g. "Python Software Foundation"
 if certname:
-    os.system('signtool sign /n "%s" /t http://timestamp.verisign.com/scripts/timestamp.dll %s' % (certname, msiname))
+    os.system('signtool sign /n "%s" '
+      '/t http://timestamp.verisign.com/scripts/timestamp.dll '
+      '/d "Python %s" '
+      '%s' % (certname, full_current_version, msiname))
 
 if pdbzip:
     build_pdbzip()

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


More information about the Python-checkins mailing list