http://bugs.winehq.org/show_bug.cgi?id=58907
Bug ID: 58907 Summary: Many Microsoft Store installers fail to start due to missing Windows Runtime type 'Windows.Globalization.GeographicRegion' Product: Wine Version: 10.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lingm+winebz@posteo.org Distribution: ---
Created attachment 79587 --> http://bugs.winehq.org/attachment.cgi?id=79587 console output with unhandled exception
Happens with: Tiktok https://apps.microsoft.com/detail/9nh2gph4jzs4 Netflix https://apps.microsoft.com/detail/9wzdncrfj3tj Prime Video https://apps.microsoft.com/detail/9p6rc76msmmj Snapchat https://apps.microsoft.com/detail/9pf9rtkmmq69 Whatsapp https://apps.microsoft.com/detail/9nksqgp7f2nh
and likely many more. You'll need to switch the user agent to pretend to be on Windows to be shown the download button labeled "Install". Otherwise the Store only shows a "Copy link" button.
After working around bug 58905 with `winetricks dotnet48`, these installers run into:
Unhandled Exception: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'StoreInstaller.MainWindow' that matches the specified binding constraints threw an exception. ---> System.TypeInitializationException: The type initializer for 'StoreInstaller.StoreEnvironment' threw an exception. ---> System.TypeLoadException: Could not find Windows Runtime type 'Windows.Globalization.GeographicRegion'.