mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Enables shortcuts to be deselected when installing on Windows.
This commit is contained in:
parent
2d0a69a456
commit
1d4880db3d
14 changed files with 99 additions and 63 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue