File tree 2 files changed +8
-0
lines changed
Tools/msi/bundle/bootstrap
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,9 @@ Build
150
150
Windows
151
151
-------
152
152
153
+ - Issue #25081: Makes Back button in installer go back to upgrade page when
154
+ upgrading.
155
+
153
156
- Issue #25091: Increases font size of the installer.
154
157
155
158
- Issue #25126: Clarifies that the non-web installer will download some
Original file line number Diff line number Diff line change @@ -323,6 +323,8 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication {
323
323
SavePageSettings ();
324
324
if (_modifying) {
325
325
GoToPage (PAGE_MODIFY);
326
+ } else if (_upgrading) {
327
+ GoToPage (PAGE_UPGRADE);
326
328
} else {
327
329
GoToPage (PAGE_INSTALL);
328
330
}
@@ -2524,6 +2526,7 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication {
2524
2526
case BOOTSTRAPPER_ACTION_INSTALL:
2525
2527
if (_upgradingOldVersion) {
2526
2528
_installPage = PAGE_UPGRADE;
2529
+ _upgrading = TRUE ;
2527
2530
} else if (SUCCEEDED (BalGetNumericVariable (L" SimpleInstall" , &simple)) && simple) {
2528
2531
_installPage = PAGE_SIMPLE_INSTALL;
2529
2532
} else {
@@ -3029,6 +3032,7 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication {
3029
3032
_suppressDowngradeFailure = FALSE ;
3030
3033
_suppressRepair = FALSE ;
3031
3034
_modifying = FALSE ;
3035
+ _upgrading = FALSE ;
3032
3036
3033
3037
_overridableVariables = nullptr ;
3034
3038
_taskbarList = nullptr ;
@@ -3113,6 +3117,7 @@ class PythonBootstrapperApplication : public CBalBaseBootstrapperApplication {
3113
3117
BOOL _suppressDowngradeFailure;
3114
3118
BOOL _suppressRepair;
3115
3119
BOOL _modifying;
3120
+ BOOL _upgrading;
3116
3121
3117
3122
int _crtInstalledToken;
3118
3123
You can’t perform that action at this time.
0 commit comments