Winget-cli: Possible conflict with Windows Store Python package

Created on 28 Sep 2020  路  3Comments  路  Source: microsoft/winget-cli

Brief description of your issue

Possible conflict with Windows Store Python package. The productId (9nblggh4nns1) provided for the Windows Package Manager app contains Python binaries.

Steps to reproduce

Unknown; discovered while trying to install the Windows Package Manager preview after signing up for the preview.

Expected behavior

That the preview packages is installed and visible under %appdata%\Local\Microsoft\WindowsApps\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

Actual behavior

The package is listed under %appdata%\Local\Microsoft\WindowsApps\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe, but contains python.exe and python3.exe.
image
image
When performing this steps from the invite email to install the preview package the Windows Store displays this:
image
The packages also seems "uninstallable":
image
It can be removed from the command line:
Remove-AppxPackage -Package "Microsoft.DesktopAppInstaller_1.0.32912.0_x64__8wekyb3d8bbwe"
But if I try to reinstall with the instructions from the email, the "Python" package is installed, not the Package manager preview.
If I manually install the appx from the Releases page, it installs itself into the same folder:
image

Environment

Windows 10 2004 (19041.508)

Issue-Bug Needs-Author-Feedback No-Recent-Activity

Most helpful comment

I followed the process via the Insider welcome email, and experienced the same thing; install App Installer from Store, get python.exe and python3.exe in the WindowsApps folder, which open the respective Store page for Python, as @KevinLaMS stated. I installed the appxbundle from the releases page and get winget.exe as well as python.exe and python3.exe.

I believe the problem isn't named correctly; there may not actually be any conflicts, just seems to be no winget.exe executable in the package downloaded from the Store.

All 3 comments

@morgansimonsen Thanks for the report. The aliases you see were introduced before the Windows Package Manager. They were a way to allow developers to type Python on a clean install of Windows and cause a redirect to enable developers to download Python from the store.

So, currently this is by design. However, we will investigate what we should do with these aliases in light of the Windows Package Manager CLI (winget.exe).

I followed the process via the Insider welcome email, and experienced the same thing; install App Installer from Store, get python.exe and python3.exe in the WindowsApps folder, which open the respective Store page for Python, as @KevinLaMS stated. I installed the appxbundle from the releases page and get winget.exe as well as python.exe and python3.exe.

I believe the problem isn't named correctly; there may not actually be any conflicts, just seems to be no winget.exe executable in the package downloaded from the Store.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

denelon picture denelon  路  4Comments

Callidior picture Callidior  路  5Comments

aetos382 picture aetos382  路  5Comments

sob picture sob  路  5Comments

AdilHindistan picture AdilHindistan  路  3Comments