DisplayReportDisplayReport

DisplayReport 指定在何種情況下的使用者介面 (UI) 會顯示此項目。DisplayReport specifies in what circumstances the user interface (UI) is displayed for this item.

Values

OnErrorOnError

指定 UI 會顯示錯誤。Specifies that the UI is displayed on error. 這是預設值。This is the default value.

永遠不會Never

指定永遠不會顯示 UI,甚至有嚴重的錯誤。Specifies that the UI is never displayed, even for serious errors. 將錯誤記錄,並安裝終止。An error is logged, and installation terminates.

此字串類型不支援空元素。This string type does not support empty elements. 請勿為此設定建立空值。Do not create an empty value for this setting.

有效的設定階段Valid Configuration Passes

windowsPEwindowsPE

父階層Parent Hierarchy

microsoft-windows-setup- | ComplianceCheck | DisplayReportmicrosoft-windows-setup- | ComplianceCheck | DisplayReport

套用至Applies To

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

XML 範例XML Example

下列的 XML 輸出指定安裝要保證無訊息模式中執行,而不會顯示在 ui 中。The following XML output specifies that the installation is to run in guaranteed quiet mode without displaying to the UI.

<ComplianceCheck>
   <DisplayReport>Never</DisplayReport>
</ComplianceCheck>

ComplianceCheckComplianceCheck