Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d6c580cb
Commit
d6c580cb
authored
Sep 09, 2016
by
Steve Dower
Browse files
Options
Browse Files
Download
Plain Diff
Issue #25144: Ensures TargetDir is set before continuing with custom install.
parents
5272868e
c87ae806
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
Misc/NEWS
Misc/NEWS
+3
-0
Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
+3
-0
No files found.
Misc/NEWS
View file @
d6c580cb
...
...
@@ -333,6 +333,9 @@ Build
Windows
-------
- Issue #25144: Ensures TargetDir is set before continuing with custom
install.
- Issue #1602: Windows console doesn'
t
input
or
print
Unicode
(
PEP
528
)
-
Issue
#
27781
:
Change
file
system
encoding
on
Windows
to
UTF
-
8
(
PEP
529
)
...
...
Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
View file @
d6c580cb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment