summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2013-08-03 18:09:42 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2013-08-03 18:09:42 (GMT)
commit78fa5e38a9cb03181f4bc53d06d41e453fd7077c (patch)
treefd5a65cfefcd6a4d35734294879c70efc965b38a
parent1f35ae0a3c7dc2d7709f60e62cb4d0aa7aeae490 (diff)
downloadcpython-78fa5e38a9cb03181f4bc53d06d41e453fd7077c.zip
cpython-78fa5e38a9cb03181f4bc53d06d41e453fd7077c.tar.gz
cpython-78fa5e38a9cb03181f4bc53d06d41e453fd7077c.tar.bz2
Issue #16067: Add description into MSI file to replace installer's temporary name.
-rw-r--r--Misc/NEWS2
-rw-r--r--Tools/msi/msi.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 00b5a69..2450a75 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -304,6 +304,8 @@ Tools/Demos
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
index 2ec6951..5ed025d 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -1410,7 +1410,10 @@ merge(msiname, "SharedCRT", "TARGETDIR", modules)
# 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()