summaryrefslogtreecommitdiff
path: root/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-05-03 14:54:32 -0700
committerSteve Dower <steve.dower@microsoft.com>2015-05-03 14:54:32 -0700
commitc3cc8ab80774ff75cc7466ae7b02fab4650239c2 (patch)
tree30634063b1a29e954d46d7a70bd392e5b740418a /Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp
parente97c5fbf219cdc4f6da502c44e2b453b8dd3ddad (diff)
downloadcpython-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.cpp4
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;