Microsoft-Windows-Devices-Lights-WinRT

元件 Microsoft-Windows-Devices-Lights-WinRT 會指定 Windows 動態光源的設定。

本節內容

設定 描述
DefaultLightingProvider 指定 預先安裝之應用程式的套件系列名稱 ,此應用程式應該視為預設的動態光源提供者。 此應用程式必須在其資訊清單中宣告 「com.microsoft.windows.lighting」 AppExtension

XML 範例

下列自動 XML 範例示範如何指定預設的動態光源提供者。

<?xml version="1.0" encoding="UTF-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
   <settings pass="offlineServicing">
      <component language="neutral" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" versionScope="nonSxS" publicKeyToken="31bf3856ad364e35" processorArchitecture="amd64" name="Microsoft-Windows-Devices-Lights-WinRT">
         <DefaultLightingProvider>MyAppPackage_8wekyb3d8bbwe</DefaultLightingProvider>
      </component>
   </settings>
</unattend>

套用至

若要判斷元件是否適用於您要建置的映像,請將您的映像載入 Windows SIM,並搜尋元件或設定名稱。 如需如何檢視元件和設定的資訊,請參閱 設定回應檔案 中的元件和設定。

元件

Windows 應用程式中套件身分識別的概觀

建立及裝載應用程式延伸模組

使用 DISM 預先安裝應用程式