Share via

How do I configure my appxmanifest so that it can only be installed on Windows 11 and newer?

Anne Admin 21 Reputation points
2025-10-22T23:54:40.7833333+00:00

For example I have an appxmanifest which includes:

  <Dependencies>
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.26100.0" MaxVersionTested="10.0.26226.0" />
  </Dependencies>

How can I make it so that Windows store doesn't even offer installation as an option if you are on Windows 10?

Windows development | Windows App SDK
0 comments No comments

2 answers

Sort by: Most helpful
  1. Danny Nguyen (WICLOUD CORPORATION) 6,865 Reputation points Microsoft External Staff Moderator
    2025-10-23T03:48:54.1433333+00:00

    Hi,

    To make the package installable only on Windows 11 (and future builds), just raise the MinVersion in your TargetDeviceFamily to the first Windows 11 build number (or a later one if you prefer). Windows 11 still reports its OS version with major/minor 10.0; the distinction from Windows 10 is in the build number.

    Windows build number landmarks (desktop):

    • Windows 10 final servicing builds: 19041 / 19042 / 19043 / 19044 / 19045 (21H2/22H2) – all < 20000
    • Windows 11 21H2: 22000
    • Windows 11 22H2 / 23H2 base: 22621 / 22631
    • Windows 11 24H2: 26100 (GA)

    (Your 26226 looks like a newer flight / Insider build.)

    So if you set MinVersion to 10.0.22000.0 you exclude all Windows 10 devices. Anything below build 22000 (i.e., Windows 10) will not meet the dependency and the Store will not offer Install.

    Example:

    <Dependencies>
    <TargetDeviceFamily
    
          Name="Windows.Desktop"
    
          MinVersion="10.0.22000.0"
    
          MaxVersionTested="10.0.26226.0" />
    </Dependencies>
    
    

    Notes:

    • MinVersion is the hard floor: the app will not install on lower OS builds.
    • MaxVersionTested is NOT a cap; it tells the Store/OS what you’ve validated against. Higher builds can still install; the OS may apply compatibility modes if needed.

    Pick the earliest Windows 11 build you intend to support (usually 22000 or 22621 if you rely on newer APIs) and set that as MinVersion. That’s all you need.

    As Linhnguyen Hanoi has pointed out, you can also check for which packages will be offered to specific Windows 10 or Windows 11 device families under Packages section in Microsoft Partner Center.

    A screenshot showing the overview of packages already uploaded page for MSIX/PWA app.

    For more information, check out Upload MSIX app packages - Windows apps | Microsoft Learn

    Also if you want a guide on how to publish Windows apps through Microsoft store, check out this documentation Publish Windows apps and games to Microsoft Store - Windows apps | Microsoft Learn

    I hope this helps. Feel free to reach out if you need any help.

    Was this answer helpful?

    2 people found this answer helpful.

  2. Linhnguyen Hanoi 75 Reputation points
    2025-10-23T01:39:44.06+00:00

    According to your description, you have already set the minimum version requirement in the app list. And then when you create an app submission in Partner Center, you could configure the system requirements in the properties and In the Device family availability section, you could deselect all Windows 10 related options.

    You could refer to the Doc: Create app submission

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.