LogPathLogPath

LogPath 指定要安裝的 Windows 預先安裝環境 (Windows PE) 階段期間使用的記錄檔的路徑。LogPath specifies the path of the log file to use during the Windows Preinstallation Environment (Windows PE) phase of installation. 此記錄檔只會用於設定 Windows PE 並不是一般作業系統相關的事件記錄。This log file is used only to log the events related to configuring Windows PE and not a regular operating system. (Windows PE 是最基本作業系統的電腦準備 Windows 安裝)。記錄檔,用來設定一般的操作系統,可在 %WINDIR%\panther 或 $windows。 ~ bt\來源\panther 目錄不能變更。(Windows PE is a minimal operating system designed to prepare a computer for Windows installation.) The log files used to configure a regular operating system, available in the %WINDIR%\panther or $windows.~bt\sources\panther directories, cannot be changed.

LogPath設定必須是本機電腦的固定式磁碟上的目錄的完整非 UNC 路徑。The LogPath setting must be the fully qualified, non-UNC path to a directory on a fixed disk of the local computer.

此設定表示記錄檔會寫入位置,而不是個別的記錄檔的目錄。This setting refers to a directory where the log files are written, rather than an individual log file. 這些記錄檔包含 windowsPE 設定階段的相關設定的詳細資料。These log files contain details for settings related to the windowsPE configuration pass.

Values

Path_to_log_filePath_to_log_file

指定本機電腦的固定式磁碟上的完整非 UNC 路徑的目錄。Specifies the fully qualified, non-UNC path to a directory on a fixed disk of the local computer.

比方說,若要建立記錄檔記錄資料夾位於 C 磁碟機的根目錄中,將此值設定為C:\LogFor example, to create log files in a Log folder at the root of the C drive, set this value to C:\Log.

Path_to_log_file是字串,最大長度為 259 個字元。Path_to_log_file is a string, with a maximum length of 259 characters.

此字串類型不支援空元素。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- | LogPathmicrosoft-windows-setup- | LogPath

套用至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 輸出會顯示如何設定記錄檔路徑。The following XML output shows how to set the log path.

<LogPath>C:\Log</LogPath>

microsoft-windows-setup-microsoft-windows-setup-