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

Python 3.12.3 installer does not update py.exe in c:\windows #119446

Closed
x95amk76 opened this issue May 23, 2024 · 6 comments
Closed

Python 3.12.3 installer does not update py.exe in c:\windows #119446

x95amk76 opened this issue May 23, 2024 · 6 comments
Labels
OS-windows topic-installation type-bug An unexpected behavior, bug, or error

Comments

@x95amk76
Copy link

x95amk76 commented May 23, 2024

Bug report

Bug description:

Upgrading python to 3.12.3 on a server. I checked the option to add python to path and everything installed fine, but it didn't update the py.exe launcher.

Is there somewhere I can get a package to update the launcher itself or would I have to wait for the next version to be released ?

CPython versions tested on:

3.12

Operating systems tested on:

Windows

@x95amk76 x95amk76 added the type-bug An unexpected behavior, bug, or error label May 23, 2024
@terryjreedy
Copy link
Member

The Windows installer has an checkbox option to install py.exe. Was it checked? If sure, rerun the installer and click modify/repair (or maybe do so on add-apps dialog), and make sure it is click, it should install. I do not know the rules for what the default is.

@zooba
Copy link
Member

zooba commented May 23, 2024

Already fixed in #118347

@zooba zooba closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2024
@zooba
Copy link
Member

zooba commented May 23, 2024

You can also get the version of the launcher that came with 3.12.3 from https://www.python.org/ftp/python/3.12.3/win32/launcher.msi and it should update fine just by double-clicking (or if you need it as admin, open an admin command prompt and run msiexec /i <full path to launcher.msi> ALLUSERS=1).

@x95amk76
Copy link
Author

I did have the option checked to install py.exe. I ran a repair with the option checked again and it still didn't update. Tired the ALLUSERS=1 option as well and it didn't update the launcher.

I saw a related post to download the launcher.msi and run that but I just saw a command prompt window flicker and disappear, but the launcher didn't update. I may try it again tonight though to see what I can see.

@zooba
Copy link
Member

zooba commented May 24, 2024

You might also be helped by uninstalling the old launcher (it has its own entry in Programs and Features). If you do that, then reinstalling 3.12.3 should bring it back (probably not just repairing, but I'm not 100% sure - maybe Modify will do it).

@x95amk76
Copy link
Author

x95amk76 commented Jun 3, 2024

uninstalling the older version of launcher first worked. It installed the newer version after that. Thank You.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-windows topic-installation type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

3 participants