路徑Path

Path 指定應用程式的路徑。Path specifies the path to an application. 此應用程式應該包含要顯示在工作列上可見系統通知區域中的圖示。This application should contain an icon to be shown in the visible system notification area on the taskbar.

藉由設定 PromotedIcon1 元件的 路徑GUID元素,您可以在系統通知區域中,設定另一個要顯示的圖示。By setting the Path and GUID elements of the PromotedIcon1 component, you can configure another icon to be visible in the system notification area. 此圖示會顯示在 動作中心 圖示的位置。This icon will appear in place of the Action Center icon.

若要選取要顯示的圖示,您必須:To select the icon to be visible, you must:

  • 選取包含系統通知圖示的帶正負號二進位應用程式檔。Select a signed binary application file that includes a system notification icon.

  • 設定檔案的 路徑GUID 元素。Set both the Path and GUID elements for the file.

如需尋找圖示路徑和 GUID 的詳細資訊,請參閱 NOTIFYICONDATA 結構For information about finding the path and GUID for your icon, see NOTIFYICONDATA Structure.

Values

路徑Path

指定要在工作列上可見的系統通知區域中顯示的圖示路徑。Specifies the path of an icon to be shown in the visible system notification area on the taskbar.

這種字串不支援空的元素。This string type does not support empty elements. 請勿為這種字串建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes

特殊化specialize

父階層Parent Hierarchy

Microsoft-Windows-Shell-設定 | NotificationArea | PromotedIcon1 | 路徑Microsoft-Windows-Shell-Setup | NotificationArea | PromotedIcon1 | Path

套用至Applies To

如需此元件所支援的 Windows 版本和架構清單,請參閱 Microsoft Windows Shell 安裝程式For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML Example

下列 XML 輸出顯示如何升級新的系統通知圖示,以取代「 動作中心 」圖示。The following XML output shows how to promote a new system notification icon to be visible in place of the Action Center icon.

<NotificationArea>
  <PromotedIcon1>
    <Path>%PROGRAMFILES%\Fabrikam\Application1.exe</Path>
    <GUID>{d8742dcb-3e6a-4b3c-b3fe-374623cdcf06}</GUID>
  </PromotedIcon1>
</NotificationArea>

PromotedIcon1PromotedIcon1

GUIDGUID

NOTIFYICONDATA 結構NOTIFYICONDATA Structure