summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2013-08-03 18:24:00 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2013-08-03 18:24:00 (GMT)
commitd5375dfb15eb369eb2a660c55a450fa3ba30fe66 (patch)
tree09ea9eff8c23bdca94887dc10da3a426630c8178 /Tools
parent3ade66c203cda06227c5ac0c50857f9b7eb71c87 (diff)
downloadcpython-d5375dfb15eb369eb2a660c55a450fa3ba30fe66.zip
cpython-d5375dfb15eb369eb2a660c55a450fa3ba30fe66.tar.gz
cpython-d5375dfb15eb369eb2a660c55a450fa3ba30fe66.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 d2caf34..2f0d963 100644
--- a/Tools/msi/msi.py
+++ b/Tools/msi/msi.py
@@ -1392,7 +1392,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()