Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78fa5e3

Browse files
committed
Issue #16067: Add description into MSI file to replace installer's temporary name.
1 parent 1f35ae0 commit 78fa5e3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ Tools/Demos
304304
Build
305305
-----
306306

307+
- Issue #16067: Add description into MSI file to replace installer's temporary name.
308+
307309
- Issue #18256: Compilation fix for recent AIX releases. Patch by
308310
David Edelsohn.
309311

Tools/msi/msi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,10 @@ def merge(msi, feature, rootdir, modules):
14101410
# certname (from config.py) should be (a substring of)
14111411
# the certificate subject, e.g. "Python Software Foundation"
14121412
if certname:
1413-
os.system('signtool sign /n "%s" /t http://timestamp.verisign.com/scripts/timestamp.dll %s' % (certname, msiname))
1413+
os.system('signtool sign /n "%s" '
1414+
'/t http://timestamp.verisign.com/scripts/timestamp.dll '
1415+
'/d "Python %s" '
1416+
'%s' % (certname, full_current_version, msiname))
14141417

14151418
if pdbzip:
14161419
build_pdbzip()

0 commit comments

Comments
 (0)