應用程式套件管理指導方針Guidance for app package management

了解您的 app 套件是如何提供給您的客戶,以及如何管理特定套件案例。Learn how your app's packages are made available to your customers, and how to manage specific package scenarios.

作業系統版本和套件發佈OS versions and package distribution

不同的作業系統上可以執行不同類型的套件。Different operating systems can run different types of packages. 如果有一個以上的套件可以在客戶的裝置上執行,則 Microsoft Store 將提供最佳絕配。If more than one of your packages can run on a customer's device, the Microsoft Store will provide the best available match.

一般而言,較新的作業系統版本可以針對相同的裝置系列,執行以之前作業系統版本為目標的套件。Generally speaking, later OS versions can run packages that target previous OS versions for the same device family. Windows 10 裝置可執行所有先前支援的 OS 版本, (每個裝置系列) 。Windows 10 devices can run all previous supported OS versions (per device family). Windows 10 桌面裝置可以執行針對 Windows 8.1 或 Windows 8 建置的 app;Windows 10 行動裝置可以執行針對 Windows Phone 8.1、Windows Phone 8 和 Windows Phone 7.x 所建置的 app。Windows 10 desktop devices can run apps that were built for Windows 8.1 or Windows 8; Windows 10 mobile devices can run apps that were built for Windows Phone 8.1, Windows Phone 8, and even Windows Phone 7.x. 不過,只有當應用程式不包含以適用裝置系列為目標的 UWP 套件時,Windows 10 的客戶才會取得這些套件。However, customers on Windows 10 will only get those packages if the app doesn't include UWP packages targeting the applicable device family.

重要

您無法再上傳使用 Windows Phone 8.x SDK (s) 建立的新 XAP 套件。You can no longer upload new XAP packages built using the Windows Phone 8.x SDK(s). 已存在於 XAP 套件中的應用程式將會繼續在 Windows 10 行動裝置版裝置上運作。Apps that are already in Store with XAP packages will continue to work on Windows 10 Mobile devices. 如需詳細資訊,請參閱這 篇 blog 文章For more info, see this blog post.

從 Microsoft Store 移除 AppRemoving an app from the Store

有時,您可能想要停止為客戶提供某個 app,有效地「取消發佈」該 app。At times, you may want to stop offering an app to customers, effectively "unpublishing" it. 若要這樣做,請按一下應用程式總覽頁面中的 [讓應用程式無法使用]。To do so, click Make app unavailable from the App overview page. 在您確認想要停止提供該應用程式之後,該應用程式在數小時內便無法在 Microsoft Store 中讓別人看見,而所有的新客戶都將無法取得它 (除非他們有促銷碼且使用 Windows 10 裝置)。After you confirm that you want to make the app unavailable, within a few hours it will no longer be visible in the Store, and no new customers will be able to get it (unless they have a promotional code and are using a Windows 10 device).

重要

此選項將會覆寫您已在提交中選取的所有可見度設定。This option will override any visibility settings that you have selected in your submissions.

這個選項具有以下選項的相同效果:如果您建立提交並選擇 [在 Microsoft Store 推出此產品,但不供搜尋][停止取得] 選項。This option has the same effect as if you created a submission and chose Make this product available but not discoverable in the Store with the Stop acquisition option. 不過,它不需要您建立新的提交。However, it does not require you to create a new submission.

請注意,任何已擁有此 app 的客戶仍可使用它並可再次下載 (甚至可以在您於稍後提交新的套件時取得更新)。Note that any customers who already have the app will still be able to use it and can download it again (and could even get updates if you submit new packages later).

應用程式無法使用之後,您仍會在合作夥伴中心中看到它。After making the app unavailable, you'll still see it in Partner Center. 如果您決定再次為客戶提供該 app,就可以按一下 [App 概觀] 頁面上的 [提供 App]If you decide to offer the app to customers again, you can click Make app available from the App overview page. 當您確認之後,該 app 即可在數小時內提供給新的客戶使用 (除非受到您在最新提交中的設定所限制)。After you confirm, the app will be available to new customers (unless restricted by the settings in your last submission) within a few hours.

注意

如果您想保持應用程式的可用性,但不想繼續提供給使用特定作業系統版本的新客戶,您可以建立新的提交,並針對您想要在其上防止新取得的作業系統版本移除所有套件。If you want to keep your app available, but don't want to continuing offering it to new customers on a particular OS version, you can create a new submission and remove all packages for the OS version on which you want to prevent new acquisitions. 例如,如果您先前已有適用於 Windows Phone 8.1 及 Windows 10 的套件,而您不想持續提供該應用程式給 Windows Phone 8.1 上的客戶,則可從提交中移除所有 Windows Phone 8.1 套件。For example, if you previously had packages for Windows Phone 8.1 and Windows 10, and you don't want to keep offering the app to new customers on Windows Phone 8.1, remove all of your Windows Phone 8.1 packages from the submission. 發佈更新之後,Windows Phone 8.1 上的新客戶將無法取得應用程式,但已有客戶可以繼續使用該應用程式) 。After the update is published, no new customers on Windows Phone 8.1 will be able to acquire the app though customers who already have it can continue to use it). 不過,應用程式仍然可供 Windows 10 上的新客戶使用。However, the app will still be available for new customers on Windows 10.

移除先前支援之裝置系列的套件Removing packages for a previously-supported device family

如果您移除特定裝置系列的所有套件 (請參閱應用程式先前支援的 擴充功能 sdk 程式設計) ,系統會提示您確認這是您的目的,然後才能將變更儲存在 [ 套件 ] 頁面上。If you remove all packages for a certain device family (see Programming with extension SDKs) that your app previously supported, you'll be prompted to confirm that this is your intention before you can save your changes on the Packages page.

當您發佈提交,以移除可在您的應用程式先前支援的裝置系列上執行的所有套件時,新客戶將無法在該裝置系列上取得該應用程式。When you publish a submission that removes all of the packages that could run on a device family that your app previously supported, new customers will not be able to acquire the app on that device family. 此後您還是可以發佈其他更新,以再次針對該裝置系列提供套件。You can always publish another update later to provide packages for that device family again.

請注意,即使您移除支援特定裝置系列的所有套件,任何已安裝該 app 的現有客戶仍能夠使用它,且他們會取得您之後所提供的任何更新。Be aware that even if you remove all of the packages that support a certain device family, any existing customers who have already installed the app on that type of device can still use it, and they will get any updates you provide later.

將適用於 Windows 10 的套件新增至先前發佈的 appAdding packages for Windows 10 to a previously-published app

如果存放區中的應用程式只包含適用于 Windows 8. x 和/或 Windows Phone 8.x 的封裝,而您想要更新 Windows 10 的應用程式,請建立新的提交,並在 封裝 步驟期間新增 msixupload 或 .appxupload 套件 () s。If you have an app in the Store that only included packages for Windows 8.x and/or Windows Phone 8.x, and you want to update your app for Windows 10, create a new submission and add your UWP .msixupload or .appxupload package(s) during the Packages step. 當您的應用程式通過認證程式之後,UWP 套件也將可供客戶在 Windows 10 上進行新的收購。After your app goes through the certification process, the UWP package will also be available for new acquisitions by customers on Windows 10.

注意

一旦 Windows 10 客戶取得您的 UWP 套件後,您無法讓該客戶回復到使用任何之前作業系統版本的套件。Once a customer on Windows 10 gets your UWP package, you can't roll that customer back to using a package for any previous OS version.

請注意,Windows 10 套件的版本號碼必須高於您所使用的任何 Windows 8、Windows 8.1 及/或 Windows Phone 8.1 套件的版本號碼。Note that the version number of your Windows 10 packages must be higher than those for any Windows 8, Windows 8.1, and/or Windows Phone 8.1 packages you have used. 如需詳細資訊,請參閱套件版本編號For more info, see Package version numbering.

如需針對 Microsoft Store 封裝 UWP 應用程式的詳細資訊,請參閱封裝應用程式For more info about packaging UWP apps for the Store, see Packaging apps.