]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #16067: Add description into MSI file to replace installer's temporary name.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 3 Aug 2013 18:24:00 +0000 (20:24 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 3 Aug 2013 18:24:00 +0000 (20:24 +0200)
Misc/NEWS
Tools/msi/msi.py

index ef614c7ce6b0daa601bceb5e64d093b701e24615..64668dd4ea71a9584171d470fb652c115fa7468d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -98,6 +98,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.
 
index d2caf345b1da5d812835f9f75a7cd603fdd4e0a0..2f0d9637140e68502e31d1f6b1586203140debe6 100644 (file)
@@ -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()