受支持的平台Supported platforms

以下 Windows 版本目前支持 .MSIX:MSIX is currently supported on the following versions of Windows:

  • Windows 10 版本1709及更高版本。Windows 10, version 1709, and later.
  • Windows Server 2019 LTSC 及更高版本。Windows Server 2019 LTSC and later.
  • Windows Enterprise 2019 LTSC 及更高版本。Windows Enterprise 2019 LTSC and later.

有关 Windows 生命周期支持的更多详细信息,如服务日期结束,请访问 windows 生命周期事实数据表For more details on Windows lifecycle support such as end of service dates, please visit Windows lifecycle fact sheet.

本文介绍了这些 Windows 版本中的 .MSIX 的主要功能。This article describes how key features of MSIX are supported in these versions of Windows.

备注

Windows Server 2019 LTSC 和 Windows Enterprise 2019 LTSC 要求 应用安装 程序应用支持双击安装或直接从 .msix、.msixbundle、.appx 或 .appxbundle 网站上安装。Windows Server 2019 LTSC and Windows Enterprise 2019 LTSC requires the App Installer app to support double click install or install directly from a website for .msix, .msixbundle, .appx or .appxbundle. 如果没有此应用,可以通过 PowerShell、API 或使用受支持的系统管理产品来安装包。Without the app, packages can be installed via PowerShell, API, or use a supported systems management product. 有关 Windows Server 2019 LTSC 的更多注意事项,请参阅 此文For more considerations about Windows Server 2019 LTSC, see this article.

备注

对于早于 Windows 10 版本1709的 Windows 版本,请使用 .Msix Core 安装 .msix 包。For versions of Windows earlier than Windows 10 version 1709, use MSIX Core to install MSIX packages.

.MSIX 功能支持MSIX feature support

下表显示了在不同版本的 Windows 中受支持的 .MSIX 功能和方案。The following table shows which MSIX features and scenarios are supported in different versions of Windows.

功能Features 17091709 18031803 18091809 19031903 19091909 20042004 Windows Server 2019 LTSCWindows Server 2019 LTSC Windows Enterprise 2019 LTSCWindows Enterprise 2019 LTSC
允许提升Allow elevation ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
应用安装程序文件支持App Installer File Support ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
延迟注册标志Defer registration flag ✔️
从任何版本降级强制更新Force update from any version downgrade ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
强制预配Force provisioning ✔️
打包桌面应用的标识Identity for packaged desktop apps ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
修改包Modification packages ✔️ ✔️ ✔️ ✔️
本机 .MSIX 安装和卸载Native MSIX install and uninstall ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
包支持框架 (PSF)Package Support Framework (PSF) ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Windows 服务Windows services ✔️
非存储包的包完整性强制Package Integrity Enforcement for non-Store packages ✔️

包格式支持Package format support

下表显示了 Windows 10 的不同版本支持的包格式。The following table shows which package formats are supported in different versions of Windows 10.

包格式Package format 17091709 18031803 18091809 19031903 19091909 20042004
.msix.msix ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
.msixbundle.msixbundle ✔️ ✔️ ✔️ ✔️
.appx.appx ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
.appxbundle.appxbundle ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Microsoft StoreMicrosoft Store

下表显示了 Windows 10 的不同版本支持的 Microsoft Store 功能。The following table shows which Microsoft Store features are supported in different versions of Windows 10.

功能Features 17091709 18031803 18091809 19031903 19091909 20042004
发布Publishing ✔️ ✔️ ✔️ ✔️
更新通知Update Notification ✔️ ✔️ ✔️ ✔️
流式安装Streaming Install ✔️ ✔️ ✔️ ✔️
增量更新Delta Updates ✔️ ✔️ ✔️ ✔️

备注

对于上面列出的所有版本的 Windows 10,.appx 或 .appxbundle 都适用。.appx or .appxbundle will work for all versions of Windows 10 listed above. 该表仅反映 .msix 或 .msixbundle 行为。The table only reflects .msix or .msixbundle behavior.

Microsoft Store 提交Microsoft Store submissions

MSIX 包支持的最低 OS 版本已在包清单文件中的 TargetDeviceFamily 元素内以 MinVersion 形式列出。The minimum supported OS version of an MSIX package is listed in the manifest file of the package as MinVersion in the TargetDeviceFamily element. 例如,.MSIX 包可能列出 MinVersion="10.0.17701.0" 为支持的最低版本,这意味着 .msix 包可以在此版本和更高版本的操作系统上运行。For example, an MSIX package may list MinVersion="10.0.17701.0" as the minimum supported version, which means that the MSIX package can run on this and later versions of the OS.

Windows 10 版本 1709、1803 和 1809 支持主流的企业部署方案。On Windows 10 versions 1709, 1803, and 1809, we support the mainstream enterprise deployment scenarios. 其中包括通过 Microsoft 终结点 Configuration Manager、Microsoft Intune、PowerShell 或双击安装进行安装。These include installation through Microsoft Endpoint Configuration Manager, Microsoft Intune, PowerShell or double-click installation.

目前,通过 Microsoft Store 和 Microsoft Store for Business 进行 .MSIX 安装需要 Windows 10 版本1809及更高版本。Currently, MSIX installation through the Microsoft Store and Microsoft Store for Business requires Windows 10, version 1809 and later.

非 Windows 平台Non-Windows Platform

.MSIX SDK是一个开源项目,使开发人员可以在所有平台上广泛使用 .msix 包格式。The MSIX SDK is an open source project that allows developers to use the MSIX package format universally on all platforms. SDK 可用于任何允许第三方生成插件或扩展的跨平台客户端应用。The SDK can be used by any cross platform client app that allows for third parties to build plugins or extensions. 客户端应用开发人员可以使用 Windows 10 平台上提供的应用扩展模型,并在非 Windows 10 平台(如 macOS、iOS、Android 和 Linux)上使用 .MSIX SDK。The client app developers can use the app extension model that is available on Windows 10 platform and use the MSIX SDK on the non-Windows 10 platforms such as macOS, iOS, Android and Linux.