File tree Expand file tree Collapse file tree
Tools/msi/bundle/bootstrap Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -333,6 +333,9 @@ Build
333333Windows
334334-------
335335
336+ - Issue #25144: Ensures TargetDir is set before continuing with custom
337+ install.
338+
336339- Issue #1602: Windows console doesn't input or print Unicode (PEP 528)
337340
338341- Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529)
Original file line number Diff line number Diff line change @@ -323,6 +323,9 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication {
323323 case ID_CUSTOM_INSTALL_BUTTON:
324324 SavePageSettings ();
325325
326+ hr = EnsureTargetDir ();
327+ ExitOnFailure (hr, L" Failed to set TargetDir" );
328+
326329 hr = BalGetStringVariable (L" TargetDir" , &targetDir);
327330 if (SUCCEEDED (hr)) {
328331 // TODO: Check whether directory exists and contains another installation
You can’t perform that action at this time.
0 commit comments