MSIX 应用分发MSIX App Distribution

可以使用 Microsoft Intune 和 Microsoft Endpoint Configuration Manager 等设备与应用程序管理工具,将 MSIX 打包格式传送到客户端设备。The MSIX packaging format can be delivered to client devices through the use of device and application management tools such as Microsoft Intune, and Microsoft Endpoint Configuration Manager.

可使用部署工具、PowerShell 或应用安装程序安装 MSIX 打包应用。MSIX packaged apps can be installed using deployment tools, PowerShell, or by using AppInstaller. 通过使用应用安装程序安装 MSIX 打包应用,用户或 IT 专业人员可选择右键单击并进行安装,也可双击 MSIX 安装程序。By using AppInstaller to install an MSIX packaged app, the user or IT Pro may select to right-click and install or double click the MSIX installer. 此方法将提示用户选择“安装”按钮来开始安装和查看安装进度。This approach will prompt the user to select the Install button to initiate the installation and view the installation progress. 或者,通过使用可用的 PowerShell cmdlet,可在无提示的情况下执行 MSIX 打包应用的安装和卸载操作。Alternatively, by using available PowerShell cmdlets the installation and uninstallation of an MSIX packaged app can be performed silently.

Microsoft Endpoint Configuration ManagerMicrosoft Endpoint Configuration Manager

由于 MSIX 是标准化的安装打包格式,因此将通过 Microsoft Endpoint Configuration Manager 中的创建应用程序向导自动检索有关应用程序的详细信息(发布者、应用程序名称和版本),并提供这些信息供检查。As MSIX is a standardized installation packaging format, the details regarding the application (Publisher, Application Name, and Version) will be automatically retrieved and presented for review through the create application wizard within Microsoft Endpoint Configuration Manager. 同样,对 MSIX 应用程序使用的安装字符串和检测方法是一致的,由 Microsoft Endpoint Configuration Manager 创建应用程序向导自动配置。Similarly, the install string and detection methods used with MSIX applications is consistent and automatically configured by the Microsoft Endpoint Configuration Manager create application wizard.

在 Microsoft Endpoint Configuration Manager 中创建应用程序时,请选择应用程序类型:Windows 应用包(.appx、.appxbundle、.msix、.msixbundle)。When creating an application in Microsoft Endpoint Configuration Manager, select application type: *Windows app package (.appx, *.appxbundle, *.msix, *.msixbundle)**. 有关如何通过 Microsoft Endpoint Configuration Manager 创建和部署应用程序的指南,请参阅创建和部署应用程序For guidance about how to create and deploy an application through Microsoft Endpoint Configuration Manager, see create and deploy an application.

Microsoft IntuneMicrosoft Intune

Microsoft Intune 支持通过客户端应用模型将 MSIX 应用程序部署到客户端设备。Microsoft Intune supports the deployment of MSIX applications to client devices through the client app model. 由于 MSIX 是标准化的安装打包格式,因此会在应用信息中自动填充有关应用程序的详细信息(应用程序名称、说明和发布者)。As MSIX is a standardized installation packaging format, the details regarding the application (Application Name, Description, and Publisher) are automatically populated within the App information.

MSIX 应用程序的安装已标准化。Installation of an MSIX application is standardized. 因此,在将新的业务线应用添加到 Microsoft Intune 时,无需配置安装所需的无提示安装参数。As such, when adding a new line-of-business app to Microsoft Intune, there is no requirement to configure the silent installation parameters required for install. 有关如何通过 Microsoft Intune 创建和部署应用程序的指南,请参阅在 Intune 中创建业务线应用For guidance about how to create and deploy an application through Microsoft Intune, see Creating line of business apps in Intune.

Web(应用安装程序)Web (App Installer)

可以使用 IIS 服务器部署 MSIX。MSIX can be deployed with an IIS server. 如果添加 ms-appinstaller 协议,将会创建更好的安装体验。If you add the ms-appinstaller protocol, it creates a much better install experience.
有关 MSIX 文件的 IIS 分发,以及如何配置 IIS 服务器来支持 MSIX 应用分发,请参阅从 IIS 服务器分发 Windows 10 应用For IIS distribution of a MSIX file, and how to configure your IIS server to support MSIX app distribution, see Distribute a Windows 10 app from an IIS server.

适用于企业的 Microsoft StoreMicrosoft Store for Business

适用于企业的 Microsoft Store 是专门设计用于分发企业和教育应用的应用商店。Microsoft Store for Business is a store specifically designed for Business and Education app distribution. 可以使用 Microsoft Store 来查找、获取、分配和管理组织或学校的应用。You can use Microsoft Store to find, acquire, distribute, and manage apps for your organization or school. 有关适用于企业的 Microsoft Store 的详细信息,请参阅适用于企业和教育行业的 Microsoft StoreFor details on the Microsoft Store for Business, see Microsoft Store for Business and Education.

应用中心App Center

利用应用中心可以自动生成应用,在真实设备上测试该应用,以及将其分发给 beta 测试人员。App Center enables you to automatically build your app, test it on real devices, and distribute it to beta testers. 使用应用中心可以更频繁、以更高的质量且更自信地交付应用。App Center lets you ship apps more frequently, at higher-quality, and with greater confidence. 使用应用中心可以连接存储库,在几分钟内自动化生成,在云中的真实设备上进行测试,将应用分发给 beta 测试人员,以及通过崩溃和分析数据监视现实使用情况。With App Center you can connect your repo and within minutes automate your builds, test on real devices in the cloud, distribute apps to beta testers, and monitor real-world usage with crash and analytics data. 它是一站式的服务。All in one place.

部署映像服务和管理 (DISM.exe) 与预配Deployment Image Servicing and Management (DISM.exe) and Provisioning

DISMDISM

在部署之前,IT 专业人员可以使用部署映像服务和管理 (DISM) cmdlet 在 Windows 映像中安装、卸载和配置 MSIX 包。IT Pros can use the Deployment Image Servicing and Management (DISM) cmdlets to install, uninstall, and configure MSIX packages on a Windows image before deployment.
有关预配的详细信息,请参阅部署映像服务和管理与预配To learn more about provisioning, see Deployment Image Servicing and Management and Provisioning.

设置Provisioning

IT 专业人员可以使用预配来配置最终用户的设备,而无需重建映像。IT Pros use provisioning to configure end-user devices without re-imaging. IT 专业人员可在其最终用户系统上预先安装 MSIX 包。IT Pros can pre-install MSIX packages on their end-users systems. 有关预配的详细信息,请参阅部署映像服务和管理与预配To learn more about provisioning, see Deployment Image Servicing and Management and Provisioning.

管理 MSIX 应用Managing your MSIX app

MSIX 包提供一套综合性的控制机制让 IT 专业人员控制其安装。MSIX Packages have a comprehensive set of controls that IT Pros can use to control their installation. IT 专业人员能够指定如何以及何时可以升级、降级或卸载 MSIX 应用。IT Pros can dictate how and when MSIX apps can upgrade, downgrade or uninstall. 还可以使用 AppLocker 和组策略等现成的 Windows 服务来限制 MSIX 包。MSIX packages also can be limited with inbox Windows services like AppLocker and Group Policies.

防止通过 AppLocker 安装 MSIX 应用Prevent MSIX app installs through AppLocker

AppLocker 支持允许或拒绝在企业设备上执行 MSIX 应用程序的功能。Supported in AppLocker, is the ability to allow or deny MSIX applications to execute on a corporate device. 可以通过基于 MSIX 应用属性定义规则来实现此目的。This is done by defining rules based on the MSIX app attributes. 这些属性包括:发布者名称、产品名称、文件名、文件版本、文件路径和文件哈希。These attributes include: publisher name, product name, file name, file version, file path and file hash. 然后,将这些规则标识的 MSIX 应用配置为允许或拒绝执行。MSIX apps identified by these rules are then configured to allow or deny execution.

在组织内部,能够利用 AppLocker 中的多种方法来控制哪些应用可以或者不可以在企业设备上执行。There are multiple methods in which AppLocker can be leveraged within an organization to control which apps may or may not be executed on a corporate device. 有关完整列表,请参阅使用 AppLocker 规则For a full list see Working with AppLocker Rules.

通过组策略管理访问权限Manage access through Group Policy

组策略针对 Active Directory 环境中的操作系统、应用程序和用户设置提供集中式管理和配置。Group Policies provide centralized management and configuration of operating systems, applications, and users' settings in an Active Directory environment. MSIX 包应用程序可以读取组策略注册表项并遵循组策略设置。MSIX packages applications can read group policy registry keys and honor group policy settings.
若要详细了解 MSIX 支持以及组策略支持限制,请参阅组策略和 MSIX 打包的应用To learn more about MSIX support and limitations in group policy support, see Group Policy and MSIX packaged apps.

管理 MSIX 更新Manage MSIX updates

使用应用安装程序文件配置应用的更新行为。Configure the update behavior of the app by using the using the App Installer file. IT 专业人员可以定义用户何时获取 MSIX 的更新,以及更新体验是否是无提示的。IT Pros can define when a user gets updates to a MSIX and whether the update experience will be silent. 可以要求用户在启动时更新,或者在以后更新。User may be required to update at launch or delayed.

有关配置 MSIX 更新计划的详细信息,请参阅在应用安装程序文件中配置更新设置To learn more about Configuring a MSIX update schedule, see Configure update settings in the App Installer file.

降级Downgrades

MSIX 支持降级应用,因此,在安装同一应用的旧版本之前无需卸载该应用。MSIX supports downgrading apps therefore the app does not require an uninstall prior to installing an older version of the same app. 指定 ForceUpdateFromAnyVersion 即可将 MSIX 降级一个版本。By specifying ForceUpdateFromAnyVersion the MSIX can be downgraded by a lower version. 如果已部署的应用存在严重的 bug,则此功能很有用。This is useful in the event that a serious bug has already been deployed.

有关 ForceUpdateFromAnyVersion 的详细信息,请参阅在应用安装程序文件中配置更新设置To learn more about ForceUpdateFromAnyVersion, see Configure update settings in the App Installer file.

关键更新Critical Updates

用户偶尔会忽略更新应用的提示。Occasionally users ignore prompts to update their app. 使用 MSIX,IT 专业人员可以通过指定 UpdateBlocksActivation 将更新标记为关键,以强制在应用中安装该更新。With MSIX, IT Pros can force an update to an app, by marking as critical by specifying UpdateBlocksActivation.

有关 UpdateBlocksActivation 的详细信息,请参阅在应用安装程序文件中配置更新设置To learn more about UpdateBlocksActivation, see Configure update settings in the App Installer file.

卸载Uninstall

MSIX 提供可靠的安装和卸载体验。MSIX provides a robust install and uninstall story. 由于 MSIX 包是容器化的包,因此卸载包时会删除所有应用程序项目,包括写入到 %ProgramFiles%WindowsApps 的所有文件,以及 AppData 文件夹中的任何系统文件,或者为应用程序创建的注册表设置。Since MSIX packages are are containerized packages, the unistall of the package will remove all application artifacts including all files written to %ProgramFiles%WindowsApps as well as any system files in the AppData folder or registry settings created for the application. 卸载不会删除用户创建的任何文件。The uninstall will not remove any user created files.