Hello Tam Bi,
I looked into this issue a bit deeper, and it seems the crash on Windows 10 isn’t coming from your hosting or your .appinstaller structure, it’s happening because the newer platform and dependency versions you upgraded to are using API contracts that Windows 10’s AppInstaller.exe simply can’t load. Windows 11 handles these fine, but the Windows 10 App Installer component is much more fragile and hasn’t been updated in a long time.
There are several cases online showing the same pattern:
- Microsoft.UI.Xaml 2.8.x causing dependency resolution crashes on Windows 10 systems during AppInstaller update checks: https://github.com/microsoft/winget-cli/issues/3918
- Windows 10 AppInstaller not handling modern TargetPlatformVersions (like 26100) and failing during the update scan: https://techcommunity.microsoft.com/discussions/msix-discussions/application-crash-on-windows-10-enterprise-ltsc-when-using-appinstaller/3004853
- Microsoft’s own documentation noting limited and inconsistent support for .appinstaller behaviors on older Win10 builds: https://learn.microsoft.com/en-us/windows/msix/app-installer/troubleshoot-appinstaller-issues
Because the crash happens before installation and exactly when AppInstaller checks for updates, it matches the known Windows 10 parsing crash where it can’t load newer framework metadata.
The most reliable fixes reported by developers with the same symptoms are:
- Lowering the TargetPlatformVersion from 10.0.26100.0 down to 10.0.19041.0 (or even 18362 if you need wider Win10 coverage).
- Downgrading Microsoft.UI.Xaml from the 2.8 series to 2.7.3, since 2.8 depends on OS features that don’t exist on many Windows 10 builds.
- Optionally removing the “Microsoft.VCLibs.140.00.UWPDesktop” dependency, as several Win10 systems have trouble resolving it through AppInstaller.
These changes avoid the API contracts and dependency metadata that cause AppInstaller.exe to crash on Windows 10 during the automatic update scan.
(Disclaimer: Some links are non-Microsoft website. The pages appear to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classifies as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it. )
Hope this helps!