Commit c87ae806 authored by Steve Dower's avatar Steve Dower

Issue #25144: Ensures TargetDir is set before continuing with custom install.

parent 87dc4d61
...@@ -275,6 +275,9 @@ Tools/Demos ...@@ -275,6 +275,9 @@ Tools/Demos
Windows Windows
------- -------
- Issue #25144: Ensures TargetDir is set before continuing with custom
install.
- Issue #27469: Adds a shell extension to the launcher so that drag and drop - Issue #27469: Adds a shell extension to the launcher so that drag and drop
works correctly. works correctly.
......
...@@ -327,6 +327,9 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication { ...@@ -327,6 +327,9 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication {
case ID_CUSTOM_INSTALL_BUTTON: case ID_CUSTOM_INSTALL_BUTTON:
SavePageSettings(); SavePageSettings();
hr = EnsureTargetDir();
ExitOnFailure(hr, L"Failed to set TargetDir");
hr = BalGetStringVariable(L"TargetDir", &targetDir); hr = BalGetStringVariable(L"TargetDir", &targetDir);
if (SUCCEEDED(hr)) { if (SUCCEEDED(hr)) {
// TODO: Check whether directory exists and contains another installation // TODO: Check whether directory exists and contains another installation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment