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

Skip to content

Commit dc4170c

Browse files
committed
merge 2.6
2 parents f9caee9 + dbd3f61 commit dc4170c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,6 +1942,8 @@ Library
19421942
Build
19431943
-----
19441944

1945+
- Issue #6807: Run msisupport.mak earlier.
1946+
19451947
- Issue #10580: Minor grammar change in Windows installer.
19461948

19471949
- Issue #13326: Clean __pycache__ directories correctly on OpenBSD.

Tools/msi/msi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ def build_mingw_lib(lib_file, def_file, dll_file, mingw_lib):
180180
have_mingw = build_mingw_lib(lib_file, def_file, dll_file, mingw_lib)
181181

182182
# Determine the target architecture
183+
if os.system("nmake /nologo /c /f msisupport.mak") != 0:
184+
raise RuntimeError("'nmake /f msisupport.mak' failed")
183185
dll_path = os.path.join(srcdir, PCBUILD, dll_file)
184186
msilib.set_arch_from_file(dll_path)
185187
if msilib.pe_type(dll_path) != msilib.pe_type("msisupport.dll"):
@@ -377,8 +379,6 @@ def add_ui(db):
377379
# UpdateEditIDLE sets the REGISTRY.tcl component into
378380
# the installed/uninstalled state according to both the
379381
# Extensions and TclTk features.
380-
if os.system("nmake /nologo /c /f msisupport.mak") != 0:
381-
raise RuntimeError("'nmake /f msisupport.mak' failed")
382382
add_data(db, "Binary", [("Script", msilib.Binary("msisupport.dll"))])
383383
# See "Custom Action Type 1"
384384
if msilib.Win64:

0 commit comments

Comments
 (0)