-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Installer Suggests Wrong Folder When Upgrading on Windows on ARM #95587
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
Comments
Thanks for the report! I'll check it out |
Phew, that was an interesting one. Along with the somewhat obvious registry issue (because "not x64" doesn't mean "x86" anymore), it seems Wix Toolset has changed the order of its bundle and package detection events, which broke some of the launcher detection. They're all related enough that I did them together. This should work fine in the next release, it doesn't depend on changing anything in existing installs. |
…staller (pythonGH-95631) (cherry picked from commit 5b6acba) Co-authored-by: Steve Dower <[email protected]>
GH-95631) (cherry picked from commit 5b6acba) Co-authored-by: Steve Dower <[email protected]>
Bug report
When using Windows Installer to upgrade Python on Windows on ARM, installer suggests user-specific install location (i.e.,
%USERPROFILE%\AppData\Local\Programs
) even if previous version was installed system-wide (i.e.,C:\Program Files
)Steps to repro
Expected behavior
Newer version installer correctly picks up install directory of previous version (i.e.,
C:\Program Files\Python311-arm64
)Actual behavior
Installer incorrectly tries to use user-specific install location (i.e.,
%USERPROFILE%\AppData\Local\Programs\Python\Python311-arm64
) instead.Workaround
Manually check "Install for all users" option in upgrading condition, i.e., do not use "Upgrade Now" option.
Your environment
Encountered same issue before switching to an Windows Insider build with earlier beta version of Python, so this doesn't seem related to me using Windows Insider build.
The text was updated successfully, but these errors were encountered: