使用 Configuration Manager 部署應用程式Deploy applications with Configuration Manager

適用於: Configuration Manager (最新分支)Applies to: Configuration Manager (current branch)

在 Configuration Manager 中建立或模擬將應用程式部署至裝置或使用者集合的部署。Create or simulate a deployment of an application to a device or user collection in Configuration Manager. 此部署會指示 Configuration Manager 用戶端如何及何時安裝軟體。This deployment gives instructions to the Configuration Manager client on how and when to install the software.

您必須至少為應用程式建立一個部署類型,才能部署應用程式。Before you can deploy an application, create at least one deployment type for the application. 如需詳細資訊,請參閱建立應用程式For more information, see Create applications.

從 1906 版開始,您可以建立作為單一部署傳送給使用者或裝置集合的應用程式群組。Starting in version 1906, you can create a group of applications that you can send to a user or device collection as a single deployment. 如需詳細資訊,請參閱建立應用程式群組For more information, see Create application groups.

您也可以模擬應用程式部署。You can also simulate an application deployment. 這個模擬會測試部署的適用性,而不會安裝應用程式或將其解除安裝。This simulation tests the applicability of a deployment without installing or uninstalling the application. 模擬部署會評估部署類型的偵測方法、需求和相依性,並且在 [監視] 工作區的 [部署] 節點中回報結果。A simulated deployment evaluates the detection method, requirements, and dependencies for a deployment type and reports the results in the Deployments node of the Monitoring workspace. 如需詳細資訊,請參閱模擬應用程式部署For more information, see Simulate application deployments.

注意

您只能模擬必要應用程式的部署,但無法模擬套件或軟體更新的部署。You can only simulate the deployment of required applications, but not packages or software updates.

已註冊 MDM 的裝置不支援模擬部署、使用者體驗或排程設定。MDM-enrolled devices don't support simulated deployments, user experience, or scheduling settings.

部署應用程式Deploy an application

  1. 在 Configuration Manager 主控台中,移至 [軟體程式庫] 工作區,展開 [應用程式管理] ,然後選取 [應用程式] 或 [應用程式群組] 節點。In the Configuration Manager console, go to the Software Library workspace, expand Application Management, and select either the Applications or Application Groups node.

  2. 從清單中選取要部署的應用程式或應用程式群組。Select an application or application group from the list to deploy. 在功能區中,選取 [部署]。In the ribbon, select Deploy.

注意

當您檢視現有部署的內容時,下列各節會對應至 [部署內容] 視窗的各索引標籤:When you view the properties of an existing deployment, the following sections correspond to tabs of the deployment properties window:

部署一般資訊Deployment General information

在 [部署軟體精靈] 的 [一般] 頁面上,指定下列資訊:On the General page of the Deploy Software wizard, specify the following information:

  • 軟體:此值會顯示要部署的應用程式。Software: This value displays the application to deploy. 選取 [瀏覽] 以選擇不同的應用程式。Select Browse to choose a different application.

  • 集合:選取 [瀏覽] 以選擇此應用程式部署的目標集合。Collection: Select Browse to choose the target collection for this application deployment.

  • 使用與此集合相關聯的預設發佈點群組:在集合的預設發佈點群組上儲存應用程式內容。Use default distribution point groups associated to this collection: Store the application content on the collection's default distribution point group. 如果您還沒有為所選的集合及發佈點群組建立關聯,便無法使用此選項。If you haven't associated the selected collection with a distribution point group, this option is grayed out.

  • 自動發佈相依性的內容:如果應用程式中的任何部署類型具有相依性,則站台也會將相依應用程式內容傳送至發佈點。Automatically distribute content for dependencies: If any of the deployment types in the application have dependencies, then the site also sends dependent application content to distribution points.

    注意

    如果您是在部署主要應用程式後才更新相依應用程式,站台就不會自動發佈任何新的相依性內容。If you update the dependent application after deploying the primary application, the site doesn't automatically distribute any new content for the dependency.

  • 註解 (選擇性) :選擇性輸入此部署的描述。Comments (optional): Optionally, enter a description for this deployment.

部署內容選項Deployment Content options

在 [內容] 頁面上,選取 [新增] 以將此應用程式的內容發佈至發佈點或發佈點群組。On the Content page, select Add to distribute the content for this application to a distribution point or a distribution point group.

如果您已在 [一般] 頁面上選取 [使用與此集合相關聯的預設發佈點] 選項,系統就會自動填入此選項。If you selected the option to Use default distribution points associated to this collection on the General page, then this option is automatically populated. 只有 [應用程式系統管理員] 安全性角色的成員可以修改它。Only a member of the Application Administrator security role can modify it.

如果應用程式內容已發佈,則會出現在這裡。If the application content is already distributed, then they appear here.

部署設定Deployment Settings

在 [部署設定] 頁面上,指定下列資訊:On the Deployment Settings page, specify the following information:

  • 動作:從下拉式清單中,選擇此部署是要 [安裝] 還是 [解除安裝] 應用程式。Action: From the drop-down list, choose whether this deployment is to Install or Uninstall the application.

    注意

    如果您建立一個部署來 [安裝] 應用程式,並建立另一個部署來 [解除安裝] 相同裝置上的相同應用程式,則會優先進行 [安裝] 部署。If you create a deployment to Install an app and another deployment to Uninstall the same app on the same device, the Install deployment takes priority.

    在建立部署之後,即無法變更部署的動作。You can't change the action of a deployment after you create it.

  • 目的:從下拉式清單中選擇下列其中一個選項:Purpose: From the drop-down list, choose one of the following options:

    • 可用:使用者會在軟體中心看見應用程式。Available: The user sees the application in Software Center. 他們可以視需求安裝應用程式。They can install it on demand.

    • 必要:用戶端會根據您設定的排程自動安裝應用程式。Required: The client automatically installs the app according to the schedule that you set. 如果未隱藏應用程式,使用者可以追蹤其部署狀態。If the application isn't hidden, a user can track its deployment status. 他們也可以使用軟體中心,在期限之前安裝應用程式。They can also use Software Center to install the application before the deadline.

      注意

      當您將部署動作設定為 [解除安裝] 時,部署目的會自動設定為 [必要] 。When you set the deployment action to Uninstall, the deployment purpose is automatically set to Required. 您無法變更此行為。You can't change this behavior.

  • 讓使用者可嘗試修復此應用程式:從 1810 版開始,如果您使用修復命令列來建立應用程式,請啟用此選項。Allow end users to attempt to repair this application: Starting in version 1810, if you created the application with a repair command line, enable this option. 使用者會在軟體中心看到 [修復] 應用程式的選項。Users see an option in Software Center to Repair the application.

  • 將軟體預先部署至使用者的主要裝置:如果部署的對象是使用者,請選取此選項以將應用程式部署到使用者的主要裝置。Pre-deploy software to the user's primary device: If the deployment is to a user, select this option to deploy the application to the user's primary device. 此設定不需要使用者在執行部署前先登入。This setting doesn't require the user to sign in before the deployment runs. 如果使用者必須與安裝程序進行互動,請勿選取此選項。If the user must interact with the installation, don't select this option. 此選項只適用於 [必要] 的部署。This option is only available when the deployment is Required.

  • 傳送喚醒封包:如果部署為 [必要] ,Configuration Manager 就會在用戶端執行部署之前,將喚醒封包傳送給電腦。Send wake-up packets: If the deployment is Required, Configuration Manager sends a wake-up packet to computers before the client runs the deployment. 此封包會在到達安裝期限時喚醒電腦。This packet wakes the computers at the installation deadline time. 使用此選項之前,必須先針對 [網路喚醒] 設定電腦和網路。Before using this option, computers and networks must be configured for Wake On LAN. 如需詳細資訊,請參閱規劃如何喚醒用戶端For more information, see Plan how to wake up clients.

  • 允許計量付費網際網路連線上的用戶端在安裝期限之後下載內容 (可能會產生額外費用) :此選項只適用於目的為 [必要] 的部署。Allow clients on a metered Internet connection to download content after the installation deadline, which might incur additional costs: This option is only available for deployments with a purpose of Required.

  • 自動升級此應用程式的任何已取代版本:用戶端會利用取代應用程式,升級應用程式的任何已取代版本。Automatically upgrade any superseded version of this application: The client upgrades any superseded version of the application with the superseding application.

    注意

    不論系統管理員是否核准,此選項都適用。This option works regardless of administrator approval. 如果系統管理員已核准被取代的版本,則不需要同時核准取代的版本。If an administrator already approved the superseded version, they don't need to also approve the superseding version. 只有新的要求需要核准,取代的升級並不需要。Approval is only for new requests, not superseding upgrades.

    您可以針對 [可用] 安裝目的來啟用或停用此選項。For Available install purpose, you can enable or disable this option.

核准設定Approval settings

應用程式核准行為取決於您是否啟用 [依據裝置為使用者核准應用程式要求] 這個建議的選擇性功能。The application approval behavior depends upon whether you enable the recommended optional feature, Approve application requests for users per device.

  • 系統管理員必須在裝置上核准此應用程式要求:如果您啟用選擇性功能,系統管理員須先核准使用者的應用程式要求,使用者才可以在所要求的裝置上安裝應用程式。An administrator must approve a request for this application on the device: If you enable the optional feature, the administrator approves any user requests for the application before the user can install it on the requested device. 如果系統管理員核准要求,使用者就只能在該裝置上安裝應用程式。If the administrator approves the request, the user is only able to install the application on that device. 使用者必須提交其他要求,才能在其他裝置上安裝應用程式。The user must submit another request to install the application on another device. 當部署目的為 [必要] ,或是將應用程式部署至裝置集合時,無法使用此選項。This option is grayed out when the deployment purpose is Required, or when you deploy the application to a device collection.

  • 如果使用者要求此應用程式,則需要經系統管理員核准:如果您未啟用選擇性功能,系統管理員須先核准使用者的應用程式要求,使用者才可以安裝應用程式。Require administrator approval if users request this application: If you don't enable the optional feature, the administrator approves any user requests for the application before the user can install it. 當部署目的為 [必要] ,或是將應用程式部署至裝置集合時,無法使用此選項。This option is grayed out when the deployment purpose is Required, or when you deploy the application to a device collection.

如需詳細資訊,請參閱核准應用程式For more information, see Approve applications.

部署內容的部署設定Deployment properties Deployment Settings

當您檢視部署內容時,如果受到部署類型技術的支援,則會在 [部署設定] 索引標籤上顯示下列選項:When you view the properties of a deployment, if supported by the deployment type technology, the following option appears on the Deployment Settings tab:

自動關閉您在部署類型內容對話方塊之安裝行為索引標籤上所指定且正在執行的可執行檔Automatically close any running executables you specified on the install behavior tab of the deployment type properties dialog box. 如需詳細資訊,請參閱如何在安裝應用程式之前檢查執行中的可執行檔For more information, see check for running executable files before installing an application.

部署的排程設定Deployment Scheduling settings

在 [排程] 頁面上,設定此應用程式部署或提供給用戶端裝置的時間。On the Scheduling page, set the time when this application is deployed or available to client devices.

根據預設,Configuration Manager 會立即提供部署原則給用戶端。By default, Configuration Manager makes the deployment policy available to clients right away. 如果您想要建立部署,但稍後才要提供給用戶端使用,請設定 [Schedule the application to be available] (排程應用程式以供使用) 選項。If you want to create the deployment, but not make it available to clients until a later date, configure the option to Schedule the application to be available. 然後選取日期和時間,包括該日期和時間是以 UTC 或用戶端的本機時間為基準。Then select the date and time, including whether that's based on UTC or the client's local time.

如果部署為 [必要] ,也請指定 [安裝期限] 。If the deployment is Required, also specify the Installation deadline. 根據預設,此期限越早越好。By default this deadline is as soon as possible.

例如,您需要部署新的企業營運系統應用程式。For example, you need to deploy a new line-of-business application. 所有使用者都必須在特定時間之前加以安裝,但您想要讓他們可以選擇提早加入。All users need to install it by a certain time, but you want to give them the option to opt in early. 您也必須確保站台已將內容發佈至所有發佈點。You also need to make sure that the site has distributed the content to all distribution points. 您排程應用程式在今天起五天內以供使用。You schedule the application to be available in five days from today. 此排程讓您有時間發佈內容並確認其狀態。This schedule gives you time to distribute the content and confirm its status. 然後,您可以將安裝期限設定為今天起一個月內。You then set the installation deadline for one month from today. 五天後,當應用程式可用時,使用者會在軟體中心看見它。Users see the application in Software Center when it's available in five days. 如果使用者未執行任何動作,用戶端會在安裝期限自動安裝應用程式。If they do nothing, the client automatically installs the application at the installation deadline.

如果您要部署的應用程式會取代另一個應用程式,請將安裝期限設定在使用者收到新應用程式時。If the application you're deploying supersedes another application, set the installation deadline when users receive the new application. 請設定 [安裝期限] 來升級已取代應用程式的使用者。Set the Installation Deadline to upgrade users with the superseded application.

延遲施行寬限期Delay enforcement with a grace period

您可能想要提供更多時間給使用者,以在「超過」 您設定的任何期限之後,還能安裝必要應用程式。You might want to give users more time to install required applications beyond any deadlines you set. 當電腦已長時間關閉,而需要安裝大量應用程式時,通常就需要允許此行為。This behavior is typically required when a computer is turned off for a long time, and needs to install many applications. 例如,當使用者從假期歸來時,他們必須等候很長的時間,讓用戶端安裝逾期的部署。For example, when a user returns from vacation, they have to wait for a long time as the client installs overdue deployments. 為了協助解決這個問題,請定義施行寬限期。To help solve this problem, define an enforcement grace period.

  • 首先,使用用戶端設定中的 [延後到部署期限後施行的寬限期 (小時)] 屬性設定此寬限期。First, configure this grace period with the property Grace period for enforcement after deployment deadline (hours) in client settings. 如需詳細資訊,請參閱電腦代理程式群組。For more information, see the Computer agent group. 請指定介於 1120 小時之間的值。Specify a value between 1 and 120 hours.

  • 在必要應用程式部署的 [排程] 頁面上,啟用 [根據使用者喜好設定,延遲強制施行此部署,最多可延後用戶端設定中所定義的寬限期] 選項。On the Scheduling page of a required application deployment, enable the option to Delay enforcement of this deployment according to user preferences, up to the grace period defined in client settings. 已啟用此選項且以您一併部署用戶端設定之裝置為目標的所有部署,都適用此施行寬限期。The enforcement grace period applies to all deployments with this option enabled and targeted to devices to which you also deployed the client setting.

期限之後,用戶端就會在使用者所設定的第一個非營業時間內安裝此應用程式,直到該寬限期結束為止。After the deadline, the client installs the application in the first non-business window, which the user configured, up to this grace period. 不過,使用者仍可隨時開啟軟體中心並安裝應用程式。However, the user can still open Software Center and install the application at any time. 過了寬限期後,就會強制還原為逾時部署的標準行為。Once the grace period expires, enforcement reverts to normal behavior for overdue deployments.

寬限期時間軸的圖表

注意

在大部分情況下,此功能都可解決使用者離開辦公室時裝置電源關閉的案例。Most of the time, this feature addresses the scenario when the device is powered off while the user is out of the office. 技術上來說,寬限期是從用戶端在部署期限後取得原則之後開始的。Technically, the grace period starts when the client gets policy after the deployment deadline. 若您停止 Configuration Manager 用戶端服務 (CcmExec) 並在部署期限後將它重新啟動,會發生相同的行為。The same behavior happens if you stop the Configuration Manager client service (CcmExec), and then restart it at some time after the deployment deadline.

部署的使用者體驗設定Deployment User Experience settings

在 [使用者體驗] 頁面上,指定使用者如何與應用程式安裝進行互動的相關資訊。On the User Experience page, specify information about how users can interact with the application installation.

  • 使用者通知:指定是否要在設定的軟體可用時間,於軟體中心內顯示通知。User notifications: Specify whether to display notification in Software Center at the configured available time. 此設定也會控制是否要在用戶端電腦上通知使用者。This setting also controls whether to notify users on the client computers. 針對可用部署,您無法選取 [在軟體中心和所有通知中隱藏] 選項。For available deployments, you can't select the option to Hide in Software Center and all notifications.

    • 必須進行軟體變更時,將對使用者顯示快顯通知改為顯示對話視窗When software changes are required, show a dialog window to the user instead of a toast notification:從 1902 版開始,選取此選項來將使用者體驗變更為更具提示效果。: Starting in version 1902, select this option to change the user experience to be more intrusive. 它僅適用於必要的部署。It only applies to required deployments. 如需詳細資訊,請參閱針對軟體中心進行規劃For more information, see Plan for Software Center.
  • 軟體安裝系統重新啟動:僅針對必要部署設定這些設定。Software Installation and System restart: Only configure these settings for required deployments. 當部署達到任何定義之維護期間以外的期限時,這些設定會指定相關行為。They specify the behaviors when the deployment reaches the deadline outside of any defined maintenance windows. 如需維護期間的詳細資訊,請參閱如何在 Configuration Manager 中使用維護期間For more information about maintenance windows, see How to use maintenance windows.

  • Windows Embedded 裝置的寫入篩選器處理:這項設定會在具備寫入篩選功能的 Windows Embedded 裝置上控制安裝行為。Write filter handling for Windows Embedded devices: This setting controls the installation behavior on Windows Embedded devices that are enabled with a write filter. 選擇在安裝期限或維護期間認可變更的選項。Choose the option to commit changes at the installation deadline or during a maintenance window. 當您選取此選項時,需要重新啟動裝置才能保存裝置的變更。When you select this option, a restart is required and the changes persist on the device. 否則會將應用程式安裝至暫存重疊,並於稍後認可。Otherwise, the application is installed to the temporary overlay, and committed later.

    • 當您將軟體更新部署至 Windows Enbedded 裝置時,請確定裝置是已設定維護期間之集合的成員。When you deploy a software update to a Windows Embedded device, make sure the device is a member of a collection that has a configured maintenance window. 如需有關維護期間和 Windows Embedded 裝置的詳細資訊,請參閱建立 Windows Embedded 應用程式For more information about maintenance windows and Windows Embedded devices, see Create Windows Embedded applications.

部署警示Deployment Alerts

在 [警示] 頁面上,設定 Configuration Manager 如何針對此部署產生警示。On the Alerts page, configure how Configuration Manager generates alerts for this deployment. 如果您同時使用 System Center Operations Manager,也請設定其警示。If you're also using System Center Operations Manager, configure its alerts as well. 您只能針對必要部署設定一些警示。You can only configure some alerts for required deployments.

建立階段式部署Create a phased deployment

階段式部署可讓您根據可自訂的準則與群組,以組織協調且循序的軟體推出。Phased deployments allow you to orchestrate a coordinated, sequenced rollout of software based on customizable criteria and groups. 例如,將應用程式部署至試驗集合,然後根據成功準則自動繼續推出。For example, deploy the application to a pilot collection, and then automatically continue the rollout based on success criteria.

如需詳細資訊,請參閱下列文章:For more information, see the following articles:

刪除部署Delete a deployment

  1. 在 Configuration Manager 主控台中,移至 [軟體程式庫] 工作區,展開 [應用程式管理] ,然後選取 [應用程式] 或 [應用程式群組] 節點。In the Configuration Manager console, go to the Software Library workspace, expand Application Management, and select either the Applications or Application Groups node.

  2. 選取應用程式或應用程式群組 (包含您要刪除的部署)。Select the application or application group that includes the deployment you want to delete.

  3. 切換至詳細資料窗格的 [部署] 索引標籤,然後選取部署。Switch to the Deployments tab of the details pane, and select the deployment.

  4. 在功能區上,在 [部署] 索引標籤中的 [部署] 群組上,選取 [刪除]。In the ribbon, on the Deployment tab in the Deployment group, select Delete.

當您刪除應用程式部署時,並不會移除用戶端已安裝的任何應用程式執行個體。When you delete an application deployment, any instances of the application that clients have already installed aren't removed. 若要移除這些應用程式,請將應用程式部署至電腦以 [解除安裝] 。To remove these applications, deploy the application to computers to Uninstall. 如果您刪除應用程式部署,該應用程式就不會再顯示於軟體中心。If you delete an application deployment, the application is no longer visible in Software Center. 當您從部署的目標集合刪除資源時,也會發生相同的行為。The same behavior happens when you remove a resource from the target collection for the deployment.

必要部署的使用者通知User notifications for required deployments

當使用者收到必要軟體並選取 [延遲並於此之後再提醒我一次] 設定時,他們可以從下列選項中進行選擇:When users receive required software, and select the Snooze and remind me setting, they can choose from the following options:

  • 稍後︰指定根據用戶端設定中所設定的通知設定來排定通知。Later: Specifies that notifications are scheduled based on the notification settings configured in client settings.

  • 固定時間︰指定將通知排定在選取的時間後再次顯示。Fixed time: Specifies that the notification is scheduled to display again after the selected time. 例如,如果您選取 30 分鐘,就會在 30 分鐘後再次顯示通知。For example, if you select 30 minutes, the notification displays again in 30 minutes.

預設用戶端設定中的 [電腦代理程式] 群組

最大延遲時間一律是以用戶端設定中每次與部署時間表一起設定的通知值為基礎。The maximum snooze time is always based on the notification values configured in the client settings at every time along the deployment timeline. 例如:For example:

  • 您可以將 [電腦代理程式] 頁面上的 [部署期限超過 24 小時,每隔下列時間通知使用者 (小時)] 設定設為長達 10 小時。You configure the Deployment deadline greater than 24 hours, remind users every (hours) setting on the Computer Agent page for 10 hours.

  • 在部署期限結束之前,用戶端會顯示通知對話方塊超過 24 小時。The client displays the notification dialog more than 24 hours before the deployment deadline.

  • 此對話方塊顯示的延遲選項最長為 10 小時,但絕不會超過 10 小時。The dialog shows snooze options up to but never greater than 10 hours.

  • 隨著部署期限的逼近,此對話方塊顯示的選項也會變得越來越少。As the deployment deadline approaches, the dialog shows fewer options. 這些選項會與部署時間表之每個元件的相關用戶端設定一致。These options are consistent with the relevant client settings for each component of the deployment timeline.

針對高風險部署 (例如會部署 OS 的工作順序),使用者通知體驗會更具干預性。For a high-risk deployment, such as a task sequence that deploys an OS, the user notification experience is more intrusive. 每次通知您必須進行重大軟體維護時,都會顯示類似下面的對話方塊,而不是暫時性的工作列通知:Instead of a transient taskbar notification, a dialog box like the following displays each time you're notified that critical software maintenance is required:

必要軟體對話方塊通知您進行重大軟體維護

檢查是否有執行中的可執行檔Check for running executable files

設定部署,以檢查用戶端上是否有特定可執行檔正在執行。Configure a deployment to check if certain executable files are running on the client. 使用此選項來檢查是否有可能中斷應用程式安裝的任何處理序。Use this option to check for processes that might disrupt the installation of the application. 如果其中一個可執行檔正在執行,用戶端會封鎖該部署類型的安裝。If one of these executable files is running, the client blocks the installation of the deployment type. 使用者必須關閉執行中的可執行檔,用戶端才能安裝部署類型。The user must close the running executable file before the client can install the deployment type. 針對目的設為 [必要] 的部署,用戶端可以自動關閉執行中的可執行檔。For deployments with a purpose of required, the client can automatically close the running executable file.

  1. 開啟部署類型的 [內容]。Open the Properties for the deployment type.

  2. 切換至 [安裝行為] 索引標籤,然後選取 [新增]。Switch to the Install Behavior tab, and select Add.

  3. 在 [新增可執行檔] 視窗中,輸入目標可執行檔的名稱。In the Add Executable File window, enter the name of the target executable file. 或者,輸入應用程式的易記名稱,以協助您在清單中識別它。Optionally, enter a friendly name for the application to help you identify it in the list.

  4. 選取 [確定] 以儲存並關閉部署類型 [內容] 視窗。Select OK to save and close the deployment type properties window.

  5. 當您部署應用程式時,選取 [自動關閉您在部署類型內容對話方塊之安裝行為索引標籤上所指定且正在執行的可執行檔] 選項。When you deploy the application, select the option to Automatically close any running executables you specified on the install behavior tab of the deployment type properties dialog box. 此選項位於部署內容的 [部署設定] 索引標籤上。This option is on the Deployment Settings tab of the deployment properties.

注意

如果您將應用程式設定為檢查執行中的可執行檔,並將其包含在安裝應用程式工作順序步驟中,工作順序將無法安裝該應用程式。If you configure an application to check for running executable files, and include it in the Install Application task sequence step, the task sequence will fail to install it. 如果您未將此工作順序步驟設定為在發生錯誤時繼續執行,則整個工作順序會失敗。If you don't configure this task sequence step to continue on error, then the entire task sequence fails.

用戶端行為和使用者通知Client behaviors and user notifications

在用戶端收到部署之後,便適用下列行為:After clients receive the deployment, the following behavior applies:

  • 如果您已將應用程式部署為 [可用] ,而使用者嘗試安裝該應用程式,用戶端就會提示使用者先關閉執行中的可執行檔,再繼續進行安裝。If you deployed the application as Available, and a user tries to install it, the client prompts the user to close the specified running executable files before proceeding with the installation.

  • 如果您已將應用程式部署為 [必要] ,並已指定為 [自動關閉您在部署類型內容對話方塊之安裝行為索引標籤上所指定且正在執行的可執行檔] ,則用戶端會顯示一則通知。If you deployed the application as Required, and specified to Automatically close any running executables you specified on the install behavior tab of the deployment type properties dialog box, then the client displays a notification. 它會通知使用者在達到應用程式安裝期限時會自動關閉指定的可執行檔。It informs the user that the specified executable files are automatically closed when the application installation deadline is reached.

    • 在用戶端設定的 [電腦代理程式] 群組中,排程這些對話方塊。Schedule these dialogs in the Computer Agent group of client settings. 如需詳細資訊,請參閱電腦代理程式For more information, see Computer agent.

    • 如果您不想讓使用者看到這些訊息,請在部署屬性的 [使用者體驗] 索引標籤上選取 [在軟體中心和所有通知中隱藏] 選項。If you don't want the user to see these messages, select the option to Hide in Software Center and all notifications on the User Experience tab of the deployment's properties. 如需詳細資訊,請參閱部署的使用者體驗設定For more information, see Deployment User Experience settings.

  • 如果您已將應用程式部署為 [必要] ,但未指定 [自動關閉您在部署類型屬性對話方塊之 [安裝行為] 索引標籤上所指定且正在執行的可執行檔] ,則在一或多個指定的應用程式正在執行時,應用程式的安裝會失敗。If you deployed the application as Required, and didn't specify to Automatically close any running executables you specified on the install behavior tab of the deployment type properties dialog box, then the installation of the app fails if one or more of the specified applications are running.

部署使用者可用的應用程式Deploy user-available applications

當您將應用程式以 [可用] 的形式部署至使用者集合時,使用者便可以瀏覽軟體中心並安裝其所需的應用程式。When you deploy applications as Available to user collections, then users can browse Software Center and install the apps they need. 針對已加入內部部署網域的用戶端,軟體中心會使用使用者的網域認證來從管理點取得可用應用程式的清單。For on-premises domain-joined clients, Software Center uses the user's domain credentials to get the list of available applications from the management point.

針對以網際網路為基礎或已加入 Azure Active Directory (Azure AD),或兩者皆是的用戶端,還會有額外的需求。There are additional requirements for clients that are internet-based, joined to Azure Active Directory (Azure AD), or both.

已加入 Azure AD 的裝置Azure AD-joined devices

如果您將應用程式以可用的形式為使用者部署,他們就能在 Azure AD 裝置上透過軟體中心來瀏覽並安裝這些應用程式。If you deploy applications as available to users, they can browse and install them through Software Center on Azure AD devices. 設定下列先決條件以實現此案例:Configure the following prerequisites to enable this scenario:

  • 在管理點上啟用 HTTPSEnable HTTPS on the management point

  • 將站台與 Azure AD 整合以進行雲端管理Integrate the site with Azure AD for Cloud Management

  • 將應用程式部署成可供來自 Azure AD 的使用者集合使用Deploy an application as available to a collection of users from Azure AD

  • 電腦代理程式群組中啟用使用新的軟體中心用戶端設定Enable the client setting Use new Software Center in the Computer agent group

  • 用戶端 OS 必須是 Windows 10 且已加入 Azure AD。The client OS must be Windows 10, and joined to Azure AD. 已加入單純雲端網域,或已加入混合式 Azure AD。Either as purely cloud domain-joined, or hybrid Azure AD-joined.

  • 支援以網際網路為基礎的用戶端:To support internet-based clients:

  • 支援內部網路上的用戶端:To support clients on the intranet:

    • 將已啟用內容的 CMG 或雲端發佈點新增至用戶端所使用的界限群組Add the content-enabled CMG or cloud distribution point to a boundary group used by the clients

    • 用戶端必須解析支援 HTTPS 管理點的完整網域名稱 (FQDN)Clients must resolve the fully qualified domain name (FQDN) of the HTTPS-enabled management point

    注意

    針對偵測為位於內部網路上,但實際上透過雲端管理閘道 (CMG) 通訊且使用 Configuration Manager 2002 版與更早版本的用戶端,軟體中心會使用 Windows 驗證。For a client detected as on the intranet, but communicating via the cloud management gateway (CMG), in Configuration Manager version 2002 and earlier, Software Center uses Windows authentication. 當其嘗試透過 CMG 取得使用者可用的應用程式清單時,將會失敗。When it tried to get the list of user-available apps via CMG, it would fail. 從 2006 版開始,其會針對已加入 Azure AD 的裝置使用 Azure Active Directory (Azure AD) 身分識別。Starting in version 2006, it uses Azure Active Directory (Azure AD) identity for devices joined to Azure AD. 這些裝置可以加入雲端或進行混合式加入。These devices can be cloud-joined or hybrid-joined.

後續步驟Next steps