From 1d4880db3d48bbb52226a7ea1bfeb6f6c8c81f64 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Sun, 3 May 2015 14:54:32 -0700 Subject: Enables shortcuts to be deselected when installing on Windows. --- Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp') diff --git a/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp b/Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp index ac92b2ff9e4..435cde3e0c6 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; -- cgit v1.2.3