case ID_CUSTOM1_BACK_BUTTON:
SavePageSettings();
- GoToPage(PAGE_INSTALL);
+ if (_modifying) {
+ GoToPage(PAGE_MODIFY);
+ } else {
+ GoToPage(PAGE_INSTALL);
+ }
break;
case ID_INSTALL_CUSTOM_BUTTON: __fallthrough;
_engine->SetVariableString(L"InstallAllUsersState", L"disable");
_engine->SetVariableString(L"TargetDirState", L"disable");
_engine->SetVariableString(L"CustomBrowseButtonState", L"disable");
+ _modifying = TRUE;
GoToPage(PAGE_CUSTOM1);
break;
_suppressDowngradeFailure = FALSE;
_suppressRepair = FALSE;
+ _modifying = FALSE;
_overridableVariables = nullptr;
_taskbarList = nullptr;
BOOL _suppressDowngradeFailure;
BOOL _suppressRepair;
+ BOOL _modifying;
STRINGDICT_HANDLE _overridableVariables;
<Feature Id="DefaultFeature" AllowAdvertise="no" Title="!(loc.Title)" Description="!(loc.Description)">
<ComponentGroupRef Id="doc" />
+ <?ifdef DocFilename ?>
<Component Id="doc_shortcut" Directory="MenuDir" Guid="*">
<RegistryKey Root="HKMU" Key="[REGISTRYKEY]">
<RegistryValue Key="Help\Main Python Documentation" Type="string" Value="[#python.chm]" KeyPath="yes" />
Description="!(loc.ShortcutDescription)" />
<RemoveFolder Id="Remove_MenuDir" On="uninstall" />
</Component>
+ <?endif ?>
</Feature>
</Product>