Share via


The <LoggingData> Element

The <LoggingData> Element

By default, the Setup Wizard creates a log file and an answer file. By default, Setup writes these files in %TARGETDRIVE%\windows\WINePOSsetup.log and %TARGETDRIVE%\windows\Unattended.xml.

The <LoggingData> element can contain these elements for logging settings during Setup. For more information, click an element name.

Element Description
LogFile Specifies a path and filename for the log file Setup will keep.
UnattendedFile Specifies a path and filename for a copy of the answer file for unattended Setup.

Sample <LoggingData> Element

  <LoggingData>
   <!-- This element contains values for the logging settings Setup will use-->
   <LogFile Path="A:\WINePOSsetup.log" />
   <UnattendedFile Copy="Yes" Path="\\server\share\Unattended.xml" />
</LoggingData>

Back to top

The <LogFile> Element

Syntax:

  
    <LogFile Path="
    pathname\filename
    " />
  

pathname is a local drive path or a UNC path, and filename is the name of the log file. Path="*" sets the path to the default value (%TARGETDRIVE%\windows\WINePOSsetup.log).

Example:

  <LogFile Path="A:\WINePOSSetup.log" />

Back to top

The <UnattendedFile> Element

Syntax:

  
    <UnattendedFile Copy="Yes|No" Path="pathname\filename.xml" />

Copy="Yes" saves a copy of the .xml file used during the unattended installation. No does not save a copy of the .xml file used. pathname is a local drive path or a UNC path, and filename.xml is the filename of the copy. Path="*" sets the path to the default value (%TARGETDRIVE%\windows\Unattended.xml).

Example:

  <UnattendedFile Copy="Yes" Path="\\server\share\Unattended.xml" />

Back to top

© 2006 Microsoft Corporation. All rights reserved.