Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Launcher MSI package has wrong version in 3.11.2, breaks upgrade from 3.11.0, .1 #101849

Closed
chrullrich opened this issue Feb 12, 2023 · 1 comment
Labels
3.11 only security fixes OS-windows topic-installation type-bug An unexpected behavior, bug, or error

Comments

@chrullrich
Copy link
Contributor

chrullrich commented Feb 12, 2023

Bug report

The upgrade from Python 3.11.1 to 3.11.2 on Windows fails because the launcher package refuses to downgrade itself. That it believes a downgrade to be involved in the installation is surprising. The reason is that the official 3.11.1 installers (at https://www.python.org/downloads/windows/) contain a launcher.msi with ProductVersion 3.11.8009.0, while the 3.11.2 installers' launcher.msi has version 3.11.2150.0.

The same package in the 3.11.0 installers has version 3.11.7966.0.

Installation log:

Action start 17:08:12: LaunchConditions.
MSI (s) (50:88) [17:08:12:404]: Note: 1: 2205 2:  3: Error 
MSI (s) (50:88) [17:08:12:404]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 
MSI (s) (50:88) [17:08:12:404]: Product: Python Launcher -- A newer version of the Python launcher is already installed.

A newer version of the Python launcher is already installed.
Action ended 17:08:12: LaunchConditions. Return value 3.
Action ended 17:08:12: INSTALL. Return value 3.
  • MSI from the 3.11.2 x64 installer:
    image
  • MSI from the 3.11.1 x64 installer:
    image

The situation is the same with the x86 installers.

Ceterum censeo

This bug would have been avoided by using (a single) MSI as the distribution package format because it would have had one ProductVersion rather than somewhere between 12 and 23.

Linked PRs

@chrullrich chrullrich added the type-bug An unexpected behavior, bug, or error label Feb 12, 2023
@arhadthedev arhadthedev added topic-installation 3.11 only security fixes labels Feb 12, 2023
@chrullrich chrullrich changed the title Windows Launcher MSI package has wrong version in 3.11.1, breaks upgrade to 3.11.2 Windows Launcher MSI package has wrong version in 3.11.2, breaks upgrade from 3.11.0, .1 Feb 12, 2023
@arhadthedev
Copy link
Member

@zooba (as an active committer into Tools/msi)

zooba added a commit to zooba/cpython that referenced this issue Feb 13, 2023
zooba added a commit that referenced this issue Feb 13, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Feb 13, 2023
…ended up with later version numbers (pythonGH-101877)

(cherry picked from commit 0c6fe81)

Co-authored-by: Steve Dower <steve.dower@python.org>
@zooba zooba closed this as completed Feb 13, 2023
miss-islington added a commit that referenced this issue Feb 13, 2023
…up with later version numbers (GH-101877)

(cherry picked from commit 0c6fe81)

Co-authored-by: Steve Dower <steve.dower@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes OS-windows topic-installation type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

4 participants