summaryrefslogtreecommitdiffstats
path: root/Tools
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 /Tools
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.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/msi.py5
1 files changed, 4 insertions, 1 deletions
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()