diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-05-03 14:54:32 -0700 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-05-03 14:54:32 -0700 |
commit | c3cc8ab80774ff75cc7466ae7b02fab4650239c2 (patch) | |
tree | 30634063b1a29e954d46d7a70bd392e5b740418a /Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp | |
parent | e97c5fbf219cdc4f6da502c44e2b453b8dd3ddad (diff) | |
download | cpython-c3cc8ab80774ff75cc7466ae7b02fab4650239c2.tar.gz |
Enables shortcuts to be deselected when installing on Windows.
Diffstat (limited to 'Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp')
-rw-r--r-- | Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp index ac92b2ff9e..435cde3e0c 100644 --- a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp +++ b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp @@ -746,8 +746,8 @@ public: // IBootstrapperApplication ) { LONGLONG install; - if (wcscmp(wzFeatureId, L"AssociateFiles") == 0) { - if (SUCCEEDED(_engine->GetVariableNumeric(L"AssociateFiles", &install)) && install) { + if (wcscmp(wzFeatureId, L"AssociateFiles") == 0 || wcscmp(wzFeatureId, L"Shortcuts") == 0) { + if (SUCCEEDED(_engine->GetVariableNumeric(wzFeatureId, &install)) && install) { *pRequestedState = BOOTSTRAPPER_FEATURE_STATE_LOCAL; } else { *pRequestedState = BOOTSTRAPPER_FEATURE_STATE_ABSENT; |