-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 import with app store apps always returns msstore source not installed #1556
Comments
Can you post your exported json? Edit: something else interesting I found while investigating this is that |
We have been working with the store source to improve matching. We were seeing several bad matches due to the search results. That's the next improvement we're working on. We removed the matching in "list" and subsequently "export" (export depends on list for matching) from the store source. As soon as the matching is improved (next patch expected next week) we will test again and add it back if it's working correctly. |
The import command should work, but it's likely you would need to use the "Id" value from the current search results to get import to install the correct package from the msstore source. |
Yes, please post your import file. It is most likely behind the scenes changes between experimental and release that have caused that one string to be invalid now.
Spoilers; I'm doing work right now that will at least enable this to work for things installed from the Store via winget (and some from the Store app itself; its complicated). |
Correct. I apologize for missing that. Export does not include it msstore any longer. |
Here is an example (smaller than my real one). Please note I've tried this URL for the Argument in Source included in the json file as well as what (Note: I had to change file name to .txt to upload it here.) |
Replace the
|
That worked to get it going past the original error. Thanks for the help. As a side questions: Is this source config documented somewhere? I searched for day and days and could never find a good template, example, or note on what that should be. And since the export isn't working for app store apps, I couldn't see this needed change. |
@VArterJr we temporarily disabled the list and subsequently export due to several weak matching results. We have improvements coming to the "msstore" source to alleviate the issue so we can re-enable matching with the source. |
OK. This ticket can be closed. Do you want me to close it with comment or will someone from the team? |
Duplicate of #1562 |
@VArterJr we've identified this Issue as a duplicate of another one that already exists. This specific instance is being closed in favor of tracking the concern over on the referenced Issue. Thanks for your report! Be sure to add your 👍 to the other issue to help raise the priority. |
Brief description of your issue
With the new GA Windows 11 Enterprise ISO (22000.194) running the below command does not work with the json file that worked on Win 11 beta and Win 10 with latest winget. I even tried using the leading-edge version (1.1.12701) and adding msstore experimental settings back to the winget settings file. It always generates the message: "Source required for import is not installed: msstore"
winget import -i mylifstofapps.json
I've confirmed with
winget source list
that it is enabled. I can also force a manual of items one by one with winget commands like below and they work. It is only the import that just doesn't seem to work on any machine with the GA of Win 11.winget source list
Name Argument
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget https://winget.azureedge.net/cache
Steps to reproduce
Be on Win 11 Enterprise 22000.194 and either the GA shipping version of winget with Win 11 or the latest 1.1.12701. Import a json file that has any number of msstore source items to install. Those same items install fine with
winget install
.Expected behavior
Since it worked on Win 11 beta and Win 10 with the latest winget, I would expect it to work here too. I've scoured what documentation there is and don't see any changes in format of the import file that would make a difference.
Actual behavior
The import with fail with
Source required for import is not installed: msstore
unless you remove the section for that source in your json file to import.Environment
The text was updated successfully, but these errors were encountered: