MSIX 應用程式散發MSIX App Distribution

MSIX 封裝格式可以透過使用裝置和應用程式管理工具 (例如 Microsoft Intune 和 Microsoft Endpoint Configuration Manager) 傳遞給用戶端裝置。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.

MSIX 已封裝應用程式可以使用部署工具、PowerShell,或使用 AppInstaller 進行安裝。MSIX packaged apps can be installed using deployment tools, PowerShell, or by using AppInstaller. 藉由使用 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)

MSIX 可以與 IIS 伺服器一起部署。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 CenterApp Center

App Center 可讓您自動建置應用程式、在實際裝置上進行測試,並將其散發給測試版測試人員。App Center enables you to automatically build your app, test it on real devices, and distribute it to beta testers. App Center 可讓您更有信心、更頻繁地交付更高品質的應用程式。App Center lets you ship apps more frequently, at higher-quality, and with greater confidence. 有了 App Center,您就可以連線存放庫,並在幾分鐘內將建置自動化、在雲端中的實際裝置上進行測試、將應用程式散發給測試版測試人員,以及利用損毀與分析資料監視實際使用情況。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.