在中斷連線的環境中使用 MSIX 封裝工具Using the MSIX Packaging Tool in a disconnected environment

雖然我們讓使用者可以輕鬆地透過 Microsoft store 取得 MSIX 封裝工具,但我們知道並非每個人都有存放區,或是想要執行轉換的已連線環境。While we make it super easy for users to acquire the MSIX Packaging Tool through the Microsoft store, but we know that not everyone has the store, or a connected environment where they want to perform conversions. 這僅適用于我們的公開版本,不適用於我們的測試人員 計畫 版本。This is only available for our public releases, not for our Insider program releases.

取得 MSIX 封裝工具Get the MSIX Packaging Tool

您可以從商務用 Microsoft Store 的 Web 入口網站下載 MSIX 封裝工具,以便在企業中離線使用。The MSIX Packaging Tool can be downloaded for offline use in the enterprise from the Microsoft Store for Business web portal. 您可以從此處深入了解離線發佈。You can learn more about offline distribution here.

如果封裝工具的離線複本發生問題,請確定您有該工具的授權離線複本If you are encountering issues with the offline copy of the packaging tool, make sure you have the offline copy of the license for the tool.

在您擁有離線版本的應用程式之後,您可以使用 PowerShell 將應用程式套件和授權新增至您的電腦。After you have the offline version of the application, you can use PowerShell to add the app package and license to your machine.

離線安裝的範例Example of offline installation

PS C:\> Add-AppxProvisionedPackage -Path C:\offline -PackagePath C:\MSIX\MyPackage.msix -LicensePath C:\MSIX\MyLicense.xml

取得 MSIX 封裝工具驅動程式Get the MSIX Packaging Tool driver

MSIX 封裝工具驅動程式是以隨選功能的形式提供 (FOD) Windows Update 套件,如果電腦上已停用 Windows Update 服務,或 Windows 測試人員航班通道設定不符合電腦的作業系統組建,將無法安裝。The MSIX Packaging Tool driver is delivered as a Feature on Demand (FOD) package from Windows Update and will fail to install if the Windows Update service is disabled on the machine or Windows Insider flight ring settings do not match the OS build of the computer.

如果您在企業環境中 Windows Server Update Services (WSUS) 或 Systems Center (現在是 Microsoft 端點管理員) 您可能需要修改 預設設定,或只需手動下載並安裝 FOD:If you are in an enterprise environment with Windows Server Update Services (WSUS) or Systems Center (now Microsoft Endpoint Manager) you may need to modify your default configuration, or just download and install the FOD manually:

IT 系統管理員也可以建立並列功能存放區 (共用資料夾),以允許存取 MSIX 封裝工具驅動程式 FOD。IT admins can also create Side by side feature store (shared folder) to allow access to the MSIX Packaging tool driver FOD. 您可以在此部落格文章底部找到其他詳細資訊。You can find additional details at the bottom of this blog post.

除此之外,如果您有企業或 OEM 管道的存取權,您可以透過下列其中一個來源從 Windows 10 隨選功能媒體中取得驅動程式:Otherwise, if you have access to enterprise or OEM channels you can obtain the driver from Windows 10 Features on Demand media from one of the following sources: