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

winget is not pre-installed on Windows App Installer. #663

Closed
leochoo opened this issue Dec 4, 2020 · 24 comments · Fixed by #1134
Closed

winget is not pre-installed on Windows App Installer. #663

leochoo opened this issue Dec 4, 2020 · 24 comments · Fixed by #1134
Labels
Issue-Docs It's a documentation issue that really should be on MicrosoftDocs Needs-Author-Feedback Issue needs attention from issue or PR author
Milestone

Comments

@leochoo
Copy link

leochoo commented Dec 4, 2020

The client is distributed within the App Installer package. While this package is pre-installed on Windows, the client will not be made generally available during the Preview period.

Hmm.. No... I just downloaded Windows Terminal through Microsoft Store but it cannot run 'winget' command.
It says

+ CategoryInfo          : ObjectNotFound: (winget:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

What should I do?

@leochoo leochoo added the Issue-Docs It's a documentation issue that really should be on MicrosoftDocs label Dec 4, 2020
@ghost ghost added the Needs-Triage Issue need to be triaged label Dec 4, 2020
@denelon
Copy link
Contributor

denelon commented Dec 4, 2020

You either need to be running a Windows Insider build, or join the Windows Package Managers insider program.

@denelon denelon removed the Needs-Triage Issue need to be triaged label Dec 4, 2020
@wrosecrans
Copy link

Why is the App Store the encouraged installation method in the documentation if you can just install it without running a special OS build or seeking access to a special program by just installing it from the releases page here on GitHub? Until it becomes a mainstream thing in the App Store, it's the least practical way for someone to use it.

At very least, the documentation currently has a link to the App Store before the link to the prerequisite steps. If you have to do those things first, it would be more obvious if the documentation started by talking about how to do the prerequisite steps before giving a link to the app store.

@lychichem
Copy link

Why is the App Store the encouraged installation method in the documentation if you can just install it without running a special OS build or seeking access to a special program by just installing it from the releases page here on GitHub? Until it becomes a mainstream thing in the App Store, it's the least practical way for someone to use it.

At very least, the documentation currently has a link to the App Store before the link to the prerequisite steps. If you have to do those things first, it would be more obvious if the documentation started by talking about how to do the prerequisite steps before giving a link to the app store.

image
The MS team have written all you need to do in the readme. I wonder whether you really thoroughly read the readme, or English is not a language that you can fully understand.

@wintermute000
Copy link

Sorry but I signed up for the preview flight ring using the MSA I login as, over a week ago, and I'm still not getting winget via app store on two different PCs

@PushOrigin
Copy link

I am trying to get a future co-worker setup with winget. I signed him up for the Package Manager Insiders program on Monday. He got the email welcoming him but winget still isn't available. App Installer has not been updated via the store.

I used his work account, which is a Microsoft 365 account if that makes any difference. Please let me know how I can get winget through the store as recommended.

@limbusdev
Copy link

Same here. Default microsoft account. Signed up for the preview but nothing happending. Btw. - why isn't winget used to update winget?

@pvanberlo
Copy link

Sorry but I signed up for the preview flight ring using the MSA I login as, over a week ago, and I'm still not getting winget via app store on two different PCs

Same - although it's been a few days for me. Got the confirmation e-mail I was added to the insider release, but the winget executable is nowhere to be found...

@denelon
Copy link
Contributor

denelon commented Feb 3, 2021

The "Windows Package Manager Insider" sign up form results in a request. We have to manually add your e-mail address to the flight group. That happens in batches. We generally try to get this done daily, but sometimes we may miss a day or two. After your address has truly been added to the flight group, the "App Installer" with the Windows Package Manager becomes available as an update from the Microsoft Store.

@Karl-WE
Copy link
Contributor

Karl-WE commented Mar 31, 2021

@denelon I am seeing the following behaviour with the store based App Installer and suspect this is not intended.

App Installer is installed on a system, listed in Settings > Apps Searching for App Installer on the Store, it shows up as if it is not installed.

Basically a user could install it from store over and over again.
Affects all release builds of Windows 10, aka 20H2.

image

@denelon
Copy link
Contributor

denelon commented Mar 31, 2021

@Karl-WE thanks for pointing this out. I'll see if I can get in touch with the right team to figure out what is causing this behavior.

@Karl-WE
Copy link
Contributor

Karl-WE commented Apr 1, 2021

You're welcome.

@vietvudanh
Copy link

vietvudanh commented May 30, 2021

The "Windows Package Manager Insider" sign up form results in a request. We have to manually add your e-mail address to the flight group. That happens in batches. We generally try to get this done daily, but sometimes we may miss a day or two. After your address has truly been added to the flight group, the "App Installer" with the Windows Package Manager becomes available as an update from the Microsoft Store.

I think this should be included in readme or the email? It is very confusing, since it is not stated anywhere in the guide, or the email about the this delayed time. I think everybody must think it's automatically.

@denelon
Copy link
Contributor

denelon commented Jun 1, 2021

@vietvudanh I'm not sure we're going to be able to change the template. I've been working through to see if that's possible. We're sorry for the confusion.

@vietvudanh
Copy link

@denelon yeah, the mail template might be hard to change. So what about in readme.md? Just a small note is enough.

@denelon
Copy link
Contributor

denelon commented Jun 1, 2021

@vietvudanh, I'll take a look and see if I can find a good place to put a small note 👍

@denelon denelon mentioned this issue Jun 1, 2021
2 tasks
@vietvudanh
Copy link

@denelon thank you for the quick change. I think it's much clearer now for new users.

@denelon
Copy link
Contributor

denelon commented Jun 2, 2021

@leochoo does the update to the README address your concern?

@denelon denelon added the Needs-Author-Feedback Issue needs attention from issue or PR author label Jun 2, 2021
@denelon denelon mentioned this issue Jun 8, 2021
2 tasks
@denelon denelon linked a pull request Jun 8, 2021 that will close this issue
2 tasks
@Karl-WE
Copy link
Contributor

Karl-WE commented Jun 9, 2021

@denelon I am seeing the following behaviour with the store based App Installer and suspect this is not intended.

App Installer is installed on a system, listed in Settings > Apps Searching for App Installer on the Store, it shows up as if it is not installed.

Basically a user could install it from store over and over again.
Affects all release builds of Windows 10, aka 20H2.

image

Hello @denelon I've noticed this has been closed. Do you have gain any insights about this related? issue. Thank you.

@denelon
Copy link
Contributor

denelon commented Jun 9, 2021

I hope the troubleshooting guide helps with this issue.

@Karl-WE
Copy link
Contributor

Karl-WE commented Jun 9, 2021

Hello @denelon not exactly. Having the App-Installer from the Store is a requirement. No question here.

My point was that on some systems I have seen this app is reported to be installed as by Settings > Apps while on the Microsoft Store it displays itself as "download now", as if it is not installed.

Ultimately, if you would try to install winget on systems that are in this state winget installation would fail. Apparently as the App is not properly installed (see quirks between Settings > Apps vs Store).

If a user downloads the application from the Store again, even though it is already installed as reported in Settings > App, then this might cause 2 outcomes:
a. download and installation of App Installer is successful, winget could be installed on top.
b. download is fine and installation seems to be fine but in the Microsoft Store it is still available in the displayed state (screenshot above), winget would not install.

@denelon
Copy link
Contributor

denelon commented Jun 9, 2021

@Karl-WE thanks for the clarity here. Do you know if the experience is different based on the version of Windows? I'd like to be able to reproduce this so I can determine if there is a process to resolve this consistently. It may be an issue with the Microsoft Store, Windows 10 version, or the App Installer version.

@Karl-WE
Copy link
Contributor

Karl-WE commented Jun 9, 2021

@denelon you're very welcome. No unfortunately not. While I have pushed winget on a lot of boxes with the 0.4 and later release 1.0.x version on 2004 / 20H2 and 21H1 boxes I have not found a way to reproduce it perfectly.

But I estimate an error rate of 20% in a small sample of 14 completely different and unreleated devices.

What I can say though is that Insider Dev affected too. On my machine I have Windows Dual boot with 5 iterations of Win10 pro or Enterprise, 4 in Dev, 1 in release, not counted into the above figure, on my machine have seen this strange behaviour one time and flagged it here

Me also things this is a Store issue. I am currently working on a feedback hub repro that the store will not update any apps in the background. There are some other reports of this but Eddie requested a fresh one.

examples of other people feedback: https://aka.ms/AAcojux, https://aka.ms/AAcv9hs, I have found more of these

I understand the Store isn't entirely your scope, yet if we look a bit beyond and assume that the broad distribution of winget in the future relies on this, it might be worth a talk with the PG. I think the first time I noticed this was in 1803. Here was my old feedback on this: https://aka.ms/AA6dyd3

Thanks to your troubleshooting guide, next time I will try to record it in a video and gather more information on the preinstalled app installer.

@denelon
Copy link
Contributor

denelon commented Jun 10, 2021

@Karl-WE Keep sending the feedback reports. Sometimes these things are tricky to diagnose and fix, but we want the best experience possible. I hope most of these challenges go away when we ship App Installer including the Windows Package Manager as the default. I'm counting the days.

@Karl-WE
Copy link
Contributor

Karl-WE commented Jun 10, 2021

Good luck Den. The user ratings for App Installer on the Store are not representative :) I will try to catch it and open a new issue if I can repro it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Docs It's a documentation issue that really should be on MicrosoftDocs Needs-Author-Feedback Issue needs attention from issue or PR author
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants