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

Skip to content

Commit ba27014

Browse files
committed
Issue #24306: Sets component ID for launcher to match 3.5 and later to avoid downgrading.
1 parent 411dfd8 commit ba27014

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,9 @@ Tools/Demos
708708
Windows
709709
-------
710710

711+
- Issue #24306: Sets component ID for launcher to match 3.5 and later
712+
to avoid downgrading.
713+
711714
- Issue #25022: Removed very outdated PC/example_nt/ directory.
712715

713716

Tools/msi/msi.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,12 +998,14 @@ def add_files(db):
998998
if launchersrc.lower() == 'pcbuild\\amd64':
999999
launchersrc = 'PCBuild'
10001000
launcher = os.path.join(srcdir, launchersrc, "py.exe")
1001-
launcherdir.start_component("launcher", flags = 8+256, keyfile="py.exe")
1001+
launcherdir.start_component("launcher", flags = 8+256, keyfile="py.exe",
1002+
uuid="{B5107402-6958-461B-8B0A-4037D3327160}")
10021003
launcherdir.add_file(launcher,
10031004
version=installer.FileVersion(launcher, 0),
10041005
language=installer.FileVersion(launcher, 1))
10051006
launcherw = os.path.join(srcdir, launchersrc, "pyw.exe")
1006-
launcherdir.start_component("launcherw", flags = 8+256, keyfile="pyw.exe")
1007+
launcherdir.start_component("launcherw", flags = 8+256, keyfile="pyw.exe",
1008+
uuid="{8E52B8CD-48BB-4D74-84CD-6238BCD11F20}")
10071009
launcherdir.add_file(launcherw,
10081010
version=installer.FileVersion(launcherw, 0),
10091011
language=installer.FileVersion(launcherw, 1))

0 commit comments

Comments
 (0)