diff options
| author | Steve Dower <steve.dower@microsoft.com> | 2015-05-03 21:54:32 (GMT) |
|---|---|---|
| committer | Steve Dower <steve.dower@microsoft.com> | 2015-05-03 21:54:32 (GMT) |
| commit | 1d4880db3d48bbb52226a7ea1bfeb6f6c8c81f64 (patch) | |
| tree | 44179b714c767c59c9408b1b6808649c8cba7ec2 /Tools/msi/bundle/bootstrap/PythonBootstrapperApplication.cpp | |
| parent | 2d0a69a456831f483a612fa97c7ed1b178b1bdd2 (diff) | |
| download | cpython-1d4880db3d48bbb52226a7ea1bfeb6f6c8c81f64.zip cpython-1d4880db3d48bbb52226a7ea1bfeb6f6c8c81f64.tar.gz cpython-1d4880db3d48bbb52226a7ea1bfeb6f6c8c81f64.tar.bz2 | |
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 ac92b2f..435cde3 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; |
