<LoggingData> and Sub-elements (Optional)
2/16/2009
By default, the Setup Wizard creates a log file and an answer file. Setup writes these files in %TARGETDRIVE%\Windows\POSReadySetup.log and %TARGETDRIVE%\Windows\Unattended.xml.
The <LoggingData> element can contain the following elements for logging settings during Windows Embedded POSReady 2009 installation.
Element | Description |
---|---|
LogFile |
Specifies a path and filename for the installation log file |
UnattendedFile |
Specifies a path and filename for a copy of the answer file for unattended installation |
Sample <LoggingData> Element
<LoggingData>
<!--This element contains values for the logging settings Setup will use.-->
<LogFile Path="A:\POSReadySetup.log" />
<UnattendedFile Copy="Yes" Path="\\server\share\Unattended.xml" />
</LoggingData>
The <LogFile> Element
Syntax:
<LogFile Path="pathname\filename" />
pathname is a local drive path or a UNC path; filename is the name of the log file.
Path="*" sets the path to the default value: %TARGETDRIVE%\Windows\POSReadySetup.log.
Example:
<LogFile Path="A:\POSReadySetup.log" />
Sets the log-file path to a file POSReadySetup.log on the root directory of storage device A.
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; Copy="No" does not save a copy of the .xml file used.
Pathname is a local drive path or a UNC path; filename.xml is the file name of the copy.
Path="*" sets the path to the default value: %TARGETDRIVE%\Windows\Unattended.xml.