yoshiask / FluentStore

A unifying frontend for Windows app stores and package managers
Mozilla Public License 2.0
394 stars 22 forks source link

Certain kinds of apps listed in "Microsoft Store" cause a crash #14

Closed joshieecs closed 2 years ago

joshieecs commented 3 years ago

There are now certain apps hosted on the Microsoft Store that use the winget backend to install rather than the normal store. These are new for Windows 11.

The ProductID for these apps start with XP rather than 9, and are 2 digits longer than normal productId's.

A few examples: XP89DCGQ3K6VLD - PowerToys XP9KHM4BK9FZ7Q - Visual Studio Code XP8CDJNZKFM06W - Visual Studio Community 2019 XPFFTQ037JWMHS - Edge Browser

FluentStore crashes when you try to perform an action (install, download package, share web link) on these winget-powered apps. (I am not sure if there is an official name.) I believe the intent is to allow any developers to list a winget app in the store, and these are early samples. More will be coming.

This is what they look like from winget

╰─ winget search 'visual studio' -s storepreview
Name                                                                        Id             Version
--------------------------------------------------------------------------------------------------
Visual Studio Code                                                          XP9KHM4BK9FZ7Q Unknown
Visual Studio Community 2019                                                XP8CDJNZKFM06W Unknown
Picsart Photo Studio: Collage Maker and Picture Editor                      9WZDNCRFJ10M   Unknown
Recording Studio                                                            9WZDNCRFHV4D   Unknown
Video Editor Studio : Movie Maker, Flim Editor, Audio Mixer and More        9PF4L56CJSWL   Unknown
Virtual Mix Studio - Beat making pads & Home music DAW recording studio: D… 9MXTVD16CP7K   Unknown
House Mix Studio – Djay remix: sounding mix tools & audio player            9NRQQSZM57KR   Unknown

╰─ winget search 'microsoft powertoys' -s storepreview
Name                                           Id             Version
---------------------------------------------------------------------
Microsoft PowerToys                            XP89DCGQ3K6VLD Unknown
Microsoft Photos                               9WZDNCRFJBH4   Unknown
Microsoft To Do: Lists, Tasks & Reminders      9NBLGGH5R558   Unknown
Microsoft Whiteboard                           9MSPC6MP8FM4   Unknown
Microsoft Tips                                 9WZDNCRDTBJJ   Unknown
Microsoft Remote Desktop                       9WZDNCRFJ3PS   Unknown

However it is still possible to obtain the package for download, and a web URL. As far as I have been able to tell, they are not listed on web version of the app store at microsoft.com. (microsoft.com/store/apps/XP89DCGQ3K6VLD is a 404 error)

╰─ winget show --id XP89DCGQ3K6VLD -s storepreview

Found Microsoft PowerToys [XP89DCGQ3K6VLD]
Version: Unknown
Publisher: Microsoft Corporation
Publisher Url: https://aka.ms/powertoys
Publisher Support Url: https://aka.ms/powerToysReportBug
Description: Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows 10 experience for greater productivity.
License: https://aka.ms/powertoys-license
Privacy Url: http://go.microsoft.com/fwlink/?LinkId=521839
Copyright: ms-windows-store://pdp/?ProductId=XP89DCGQ3K6VLD
Agreements:
Category Developer tools
Pricing Free
Free Trial No
Terms of Transaction https://aka.ms/microsoft-store-terms-of-transaction
Seizure Warning https://aka.ms/microsoft-store-seizure-warning
Store License Terms https://aka.ms/microsoft-store-license

Installer:
  Type: Exe
  Locale: en
  Download Url: https://github.com/microsoft/PowerToys/releases/download/v0.45.0/PowerToysSetup-0.45.0-x64.exe
  SHA256: bc1c7eda2eb80f3780c27467fef65c774e2008da908a4ca5c7c2ad87750735df

They also have a unique listing in the Microsoft Store.

Normal store app: Screenshot 2021-09-19 194426

Winget-powered store app: Screenshot 2021-09-19 194631

yoshiask commented 2 years ago

This issue has been fixed on the WASDK branch, so TL:DR; is it should be working in the next release.