diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-09 23:39:36 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-09 23:39:36 (GMT) |
commit | d6c580cbcea736fa3d57d4572b970c714c988b07 (patch) | |
tree | 704f4c3b34776030aef06680d74b46f4cf9913c8 /Tools/msi/bundle | |
parent | 5272868e1f5513a94d32a4530d03a3696b3afbfb (diff) | |
parent | c87ae806abdf79dd5d000aaec47596122a93b29b (diff) | |
download | cpython-d6c580cbcea736fa3d57d4572b970c714c988b07.zip cpython-d6c580cbcea736fa3d57d4572b970c714c988b07.tar.gz cpython-d6c580cbcea736fa3d57d4572b970c714c988b07.tar.bz2 |
Issue #25144: Ensures TargetDir is set before continuing with custom install.
Diffstat (limited to 'Tools/msi/bundle')
-rw-r--r-- | Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp index 67726d6..e88981f 100644 --- a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp +++ b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp @@ -323,6 +323,9 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication { case ID_CUSTOM_INSTALL_BUTTON: SavePageSettings(); + hr = EnsureTargetDir(); + ExitOnFailure(hr, L"Failed to set TargetDir"); + hr = BalGetStringVariable(L"TargetDir", &targetDir); if (SUCCEEDED(hr)) { // TODO: Check whether directory exists and contains another installation |