home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / PLA / Rules / Rules.System.Wired.xml < prev   
Extensible Markup Language  |  2006-09-18  |  44KB  |  900 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--***************************************************************************
  4.  
  5.   Copyright (c) Microsoft Corporation. All rights reserved.
  6.  
  7. ****************************************************************************-->
  8.  
  9. <Rules>
  10.  
  11.  
  12.  
  13. <StringTable>
  14.   <String ID="GroupWiredNetwork" loc.comment="Wired Network Repro The Problem Rule Group">Wired Network Troubleshooter</String>
  15.   <String ID="RuleInsertWiredNetworkTables" loc.comment="Rule to insert Wired Network Repro The Problem tables.">Insert Wired Network Troubleshooting Tables</String>
  16.   <String ID="RuleCreateRegistryWiredAdapterTable" loc.comment="Rule to create table of adapter information from the registry information">Create Registry Adapter Table</String>
  17.   <String ID="RuleNetworkWiredSetup" loc.comment="Rule to create summary table for Wired Network rules">Create Network Wired Summary Table</String>
  18.   <String ID="RuleDisabledWiredAdaptersCheck" loc.comment="Rule to check that wired adapters listed in the registry are enabled">Check For Enabled Wired Adapters</String>
  19.   <String ID="RuleNetworkWiredSummary" loc.comment="Rule to summarize summary table for Wired Network rules">Summarize Network Wired Summary Table</String>
  20.   <String ID="RuleWiredNetworkCleanup" loc.comment="Name of Rules to cleanup Wired Network report">Wired Network Cleanup</String>
  21.   <String ID="RuleInformationListInsert" loc.comment="Name of rule to insert summary table">Insert Information List</String>
  22.   <String ID="RuleAddWarningTable" loc.comment="Marked as not seen anywhere">Create Top Warning Table</String>
  23.  
  24.   <String ID="RuleSlimServicesTable" loc.comment="Only used in WDC Console">Turn Services into notes</String>
  25.   <String ID="RuleNoteErrorCodes" loc.comment="Name of rule to change File error codes into descriptions" >Change Errors codes into descriptions</String>
  26.   <String ID="RuleFileHyper" loc.comment="Name of rule to insert a link to Files collected using PLA">Insert File To Link</String>
  27.  
  28.   <String ID="LOC_TableNetworkWiredSummary" loc.comment="Title of Network Wired Summary Group in Rules Summary Table">Wired Network Checks</String>
  29.   <String ID="LOC_DescNetworkWiredSummary" loc.comment="Description of the Network Wired Summary Group in Rules Summary Table">Troubleshooter logic related to the Wired Network state</String>
  30.  
  31.   <String ID="LOC_RuleDisabledWiredAdaptersCheck" loc.comment="Rule to check that wired adapters listed in the registry are enabled">Check For Enabled Wired Adapters</String>
  32.  
  33.   <String ID="LOC_TrueString"  loc.comment="Text value of TRUE">True</String>
  34.   <String ID="LOC_FalseString" loc.comment="Text value of FALSE">False</String>
  35.   <String ID="LOC_Failed" loc.comment="Text to display when a rule or group of rules failed">Failed</String>
  36.   <String ID="LOC_Passed" loc.comment="Text to display when a rule or group of rules passed">Passed</String>
  37.  
  38.   <String ID="LOC_OneXTraceFile" loc.comment="Name of trace file">OneX Trace</String>
  39.   <String ID="LOC_Dot3DlgTraceFile" loc.comment="Name of trace file">Wired Dlg Trace</String>
  40.   <String ID="LOC_Dot3GPTraceFile" loc.comment="Name of trace file">Wired Group Policy Trace</String>
  41.   <String ID="LOC_MsmSecTraceFile" loc.comment="Name of trace file">Msmsec Trace</String>
  42.   <String ID="LOC_Dot3SvcTraceFile" loc.comment="Name of trace file">Wired Auto-Configuration Service Trace</String>
  43.   <String ID="LOC_WiredAutoConfigTraceFile" loc.comment="Name of trace file">Wired AutoConfiguration Event Log</String>
  44.  
  45.   <String ID="LOC_EnvironmentInfoFileName" loc.comment="Name of file with config info">Environment Info</String>
  46.  
  47.   <String ID="NoteServiceProperlyStopped0" loc.comment="Report service table comment">Service is stopped and Exit Code is 0 (Normal). {summary}</String>
  48.   <String ID="NoteServiceProperlyStopped1077" loc.comment="Report service table comment">Service is stopped and Exit Code is 1077 (Normal). {summary}</String>
  49.   <String ID="NoteServiceRunning" loc.comment="Report service table comment">Service is running. {summary}</String>
  50.  
  51.   <String ID="NoteCode80070003" loc.comment="Text to display in note related to Open File result code 0x80070003">Code 0x8007003</String>
  52.   <String ID="LOC_PathNotFound" loc.comment="Text to display when File path is not found"                 >The system cannot find the path specified.</String>
  53.   <String ID="NoteCode0" loc.comment="Text to display in note related to Open File result code 0x0">Code 0x0</String>
  54.   <String ID="LOC_Success" loc.comment="Text to display when File operation succeeds"                 >Success</String>
  55.  
  56.  
  57. <String ID="WarnFailWiredAdapterCheck_symptom" loc.comment="Symptom string for warning message: WarnFailWiredAdapterCheck">A wired network adapter is disabled on the system.</String>
  58. <String ID="WarnFailWiredAdapterCheck_cause" loc.comment="Cause string for warning message: WarnFailWiredAdapterCheck">A wired network adapter installed on the system is listed as disabled.</String>
  59. <String ID="WarnFailWiredAdapterCheck_details" loc.comment="Details string for warning message: WarnFailWiredAdapterCheck">The wired network adapter {adaptername} is disabled.</String>
  60. <String ID="WarnFailWiredAdapterCheck_res1" loc.comment="Resolution string for warning message: WarnFailWiredAdapterCheck">Have user enter Device Manager.</String>
  61. <String ID="WarnFailWiredAdapterCheck_res2" loc.comment="Resolution string for warning message: WarnFailWiredAdapterCheck">Locate and enable {adaptername}.</String>
  62.  
  63. <String ID="WarnFailNoWiredAdapterEnabled_symptom" loc.comment="Symptom string for warning message: WarnFailNoWiredAdapterEnabled">All wired network adapters on the system are disabled.</String>
  64. <String ID="WarnFailNoWiredAdapterEnabled_cause" loc.comment="Cause string for warning message: WarnFailNoWiredAdapterEnabled">No wired network adapter installed on the system is listed as enabled.</String>
  65. <String ID="WarnFailNoWiredAdapterEnabled_details" loc.comment="Details string for warning message: WarnFailNoWiredAdapterEnabled">The adapter: {adaptername} is disabled.</String>
  66. <String ID="WarnFailNoWiredAdapterEnabled_res1" loc.comment="Resolution string for warning message: WarnFailNoWiredAdapterEnabled">Have user enter Device Manager.</String>
  67. <String ID="WarnFailNoWiredAdapterEnabled_res2" loc.comment="Resolution string for warning message: WarnFailNoWiredAdapterEnabled">Locate and enable a wired network adapter, possibly {adaptername}.</String>
  68.  
  69. </StringTable>
  70.  
  71.  
  72.  <Group name="$(GroupWiredNetwork)" enabled="true" > 
  73.  
  74.    <Rule name="$(RuleInsertWiredNetworkTables)" enabled="true">
  75.     <Step select="/Report/Section[@name='SectionWired']">
  76.       <Exists>
  77.        <Otherwise>
  78.         <Insert select=".">
  79.           <Node axis="child">
  80.             <Table name="TableWiredOSInformation" anchor="TableWiredOSInformation" topic="TopicWiredSoftware" key="10">
  81.               <Header>
  82.                 <Data name="managementObjectsProperty" />
  83.                 <Data name="managementObjectsValue" />
  84.               </Header>
  85.             </Table>
  86.           </Node>
  87.         </Insert>
  88.         <Insert select="Table[@name='TableWiredOSInformation']">
  89.          <Node axis="child" document="temp/Operating System.xml" select="/Report/Section/Table[@name='managementObjects']/Item/Item/Item" /> 
  90.         </Insert>
  91.         <Delete select="Table[@name='TableWiredOSInformation']/Item[Data[@name='managementObjectsProperty'] = 'Manufacturer' or Data[@name='managementObjectsProperty'] = 'Model' or Data[@name='managementObjectsProperty'] = 'Name' or Data[@name='managementObjectsProperty'] = 'UserName' or Data[@name='managementObjectsProperty'] = 'PowerOnline']" />
  92.        </Otherwise>
  93.       </Exists>
  94.     </Step>
  95.  
  96.  
  97.     <Step select="/Report/Section[@name='SectionWired']">
  98.       <Exists>
  99.        <Otherwise>
  100.         <Insert select=".">
  101.           <Node axis="child">
  102.             <Table name="TableWiredFileVersions" anchor="TableWiredFileVersions" topic="TopicWiredSoftware" key="15">
  103.               <Header>
  104.               <Data name="managementObjectsRelativePath" />
  105.                 <Header>
  106.                   <Data name="managementObjectsProperty" />
  107.                   <Data name="managementObjectsValue" />
  108.                 </Header>
  109.               </Header>
  110.             </Table>
  111.           </Node>
  112.         </Insert>
  113.         <Insert select="Table[@name='TableWiredFileVersions']">
  114.          <Node axis="child" document="temp/fileversions.wired.xml" select="/Report/Section/Table[@name='managementObjects']/Item/Item" /> 
  115.         </Insert>
  116.        </Otherwise>
  117.       </Exists>
  118.     </Step>
  119.  
  120.  
  121.     <Step select="/Report/Section[@name='SectionWired']">
  122.       <Exists>
  123.        <Otherwise>
  124.         <Insert select=".">
  125.          <Node axis="child" document="temp/regAdapterInfo.wired.xml" select="/Report/Section/Table[@name='registryKeys']" /> 
  126.         </Insert>
  127.         <Insert select="Table[@name='registryKeys']">  
  128.          <Attribute name="name" value="TableTempWiredRegAdapterInfo"/>
  129.          <Attribute name="anchor" value="TableTempWiredRegAdapterInfo"/>
  130. <Attribute name="topic" value="TopicWiredHardware"/>
  131. <Attribute name="key" value="22"/>
  132.         </Insert>
  133.        </Otherwise>
  134.       </Exists>
  135.     </Step>
  136.  
  137.  
  138.     <Step select="/Report/Section[@name='SectionWired']">
  139.       <Exists>
  140.        <Otherwise>
  141.         <Insert select=".">
  142.           <Node axis="child">
  143.             <Table name="TableWiredSystemInformation" anchor="TableWiredSystemInformation" topic="TopicWiredHardware" key="20">
  144.               <Header>
  145.                 <Data name="managementObjectsProperty" />
  146.                 <Data name="managementObjectsValue" />
  147.               </Header>
  148.             </Table>
  149.           </Node>
  150.         </Insert>
  151.         <Insert select="Table[@name='TableWiredSystemInformation']">
  152.          <Node axis="child" document="temp/Operating System.xml" select="/Report/Section/Table[@name='managementObjects']/Item/Item/Item" /> 
  153.         </Insert>
  154.         <Delete select="Table[@name='TableWiredSystemInformation']/Item[Data[@name='managementObjectsProperty'] = 'BuildNumber' or Data[@name='managementObjectsProperty'] = 'BuildType' or Data[@name='managementObjectsProperty'] = 'Caption' or Data[@name='managementObjectsProperty'] = 'Version' or Data[@name='managementObjectsProperty'] = 'UserName' or Data[@name='managementObjectsProperty'] = 'PowerOnline']" />
  155.        </Otherwise>
  156.       </Exists>
  157.     </Step>
  158.  
  159.  
  160.     <Step select="/Report/Section[@name='SectionWired']">
  161.       <Exists>
  162.        <Otherwise>
  163.         <Insert select=".">
  164.          <Node axis="child" document="temp/adapterinfo.wired.xml" select="/Report/Section/Table[@name='managementObjects']" /> 
  165.         </Insert>
  166.         <Insert select="Table[@name='managementObjects']">  
  167.          <Attribute name="name" value="TableWiredAdapterInfo"/>
  168.          <Attribute name="anchor" value="TableWiredAdapterInfo"/>
  169. <Attribute name="topic" value="TopicWiredHardware"/>
  170. <Attribute name="key" value="30"/>
  171.         </Insert>
  172.        </Otherwise>
  173.       </Exists>
  174.     </Step>
  175.  
  176.  
  177.     <Step select="/Report/Section[@name='SectionWired']">
  178.       <Exists>
  179.        <Otherwise>
  180.         <Insert select=".">
  181.          <Node axis="child" document="temp/System Services.xml" select="/Report/Section/Table[@name='managementObjects']" /> 
  182.         </Insert>
  183.         <Insert select="Table[@name='managementObjects']">  
  184.          <Attribute name="name" value="TableWiredServicesInformation"/>
  185.          <Attribute name="anchor" value="TableWiredServicesInformation"/>
  186. <Attribute name="topic" value="TopicWiredSystemState"/>
  187. <Attribute name="key" value="47"/>
  188.         </Insert>
  189.        </Otherwise>
  190.       </Exists>
  191.     </Step>
  192.  
  193.  
  194.     <Step select="/Report/Section[@name='SectionWired']">
  195.       <Exists>
  196.        <Otherwise>
  197.         <Insert select=".">
  198.           <Node axis="child">
  199.             <Table name="TableWiredPowerInformation" anchor="TableWiredPowerInformation" topic="TopicWiredSystemState" key="48">
  200.               <Header>
  201.                 <Data name="managementObjectsProperty" />
  202.                 <Data name="managementObjectsValue" />
  203.               </Header>
  204.             </Table>
  205.           </Node>
  206.         </Insert>
  207.         <Insert select="Table[@name='TableWiredPowerInformation']">
  208.          <Node axis="child" document="temp/Operating System.xml" select="/Report/Section/Table[@name='managementObjects']/Item/Item/Item" /> 
  209.         </Insert>
  210.         <Delete select="Table[@name='TableWiredPowerInformation']/Item[Data[@name='managementObjectsProperty'] != 'PowerOnline']" />
  211.        </Otherwise>
  212.       </Exists>
  213.     </Step>
  214.  
  215.  
  216.     <Step select="/Report/Section[@name='SectionWired']">
  217.       <Exists>
  218.        <Otherwise>
  219.         <Insert select=".">
  220.           <Node axis="child">
  221.             <Table name="TableWiredUserInformation" anchor="TableWiredUserInformation" topic="TopicWiredSystemState" key="49">
  222.               <Header>
  223.                 <Data name="managementObjectsProperty" />
  224.                 <Data name="managementObjectsValue" />
  225.               </Header>
  226.             </Table>
  227.           </Node>
  228.         </Insert>
  229.         <Insert select="Table[@name='TableWiredUserInformation']">
  230.          <Node axis="child" document="temp/Operating System.xml" select="/Report/Section/Table[@name='managementObjects']/Item/Item/Item" /> 
  231.         </Insert>
  232.         <Delete select="Table[@name='TableWiredUserInformation']/Item[Data[@name='managementObjectsProperty'] != 'UserName']" />
  233.        </Otherwise>
  234.       </Exists>
  235.     </Step>
  236.  
  237.     <Step select="/Report/Section[@name='SectionWired']">
  238.       <Exists>
  239.        <Otherwise>
  240.         <Insert select=".">
  241.          <Node axis="child" document="temp/wlanextProcesses.wired.xml" select="/Report/Section/Table[@name='managementObjects']" /> 
  242.         </Insert>
  243.         <Insert select="Table[@name='managementObjects']">  
  244.          <Attribute name="name" value="TableWiredWLanProcesses"/>
  245.          <Attribute name="anchor" value="TableWiredWLanProcesses"/>
  246. <Attribute name="topic" value="TopicWiredSystemState"/>
  247. <Attribute name="key" value="50"/>
  248.         </Insert>
  249.        </Otherwise>
  250.       </Exists>
  251.     </Step>
  252.  
  253.     <Step select="/Report/Section[@name='SectionWired']">
  254.       <Exists>
  255.        <Otherwise>
  256.         <Insert select=".">
  257.         <Node axis="child">
  258.            <Table name="TableEnvironmentInfo">
  259.              <Header>
  260.                <Data name="filename"/>
  261.              </Header>
  262.               </Table>
  263.          </Node>
  264.         </Insert>
  265.         <Insert select="Table[@name='TableEnvironmentInfo']">  
  266. <Attribute name="topic" value="TopicWiredSystemState"/>
  267. <Attribute name="key" value="52"/>
  268.         </Insert>
  269.  
  270.        </Otherwise>
  271.       </Exists>
  272.     </Step>
  273.  
  274.  
  275.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableEnvironmentInfo']">
  276.       <Exists>
  277.        <Otherwise>
  278.         <Variable name="filename">$(LOC_EnvironmentInfoFileName)</Variable>
  279.         <Insert select=".">
  280.      <Node axis="child">
  281.            <Item>
  282.              <Data name="filename" url="config/envinfo.txt">{filename}</Data>
  283.            </Item>
  284.      </Node>
  285.         </Insert>
  286.        </Otherwise>
  287.       </Exists>
  288.     </Step>
  289.  
  290.     <Step select="/Report/Section[@name='SectionWired']">
  291.       <Exists>
  292.        <Otherwise>
  293.         <Insert select=".">
  294.          <Node axis="child" document="temp/GPInfo.wired.xml" select="/Report/Section/Table[@name='configurationFiles']" /> 
  295.         </Insert>
  296.         <Insert select="Table[@name='configurationFiles']">  
  297.          <Attribute name="name" value="TableWiredGPInfoFiles"/>
  298.          <Attribute name="anchor" value="TableWiredGPInfoFiles"/>
  299. <Attribute name="topic" value="TopicWiredConfiguration"/>
  300. <Attribute name="key" value="80"/>
  301.         </Insert>
  302.        </Otherwise>
  303.       </Exists>
  304.     </Step>
  305.  
  306.  
  307.     <Step select="/Report/Section[@name='SectionWired']">
  308.       <Exists>
  309.        <Otherwise>
  310.         <Insert select=".">
  311.          <Node axis="child" document="temp/ConfigData.wired.xml" select="/Report/Section/Table[@name='configurationFiles']" /> 
  312.         </Insert>
  313.         <Insert select="Table[@name='configurationFiles']">  
  314.          <Attribute name="name" value="TableWiredConfigDataFiles"/>
  315.          <Attribute name="anchor" value="TableWiredConfigDataFiles"/>
  316. <Attribute name="topic" value="TopicWiredConfiguration"/>
  317. <Attribute name="key" value="100"/>
  318.         </Insert>
  319.        </Otherwise>
  320.       </Exists>
  321.     </Step>
  322.  
  323.     <Step select="/Report/Section[@name='SectionWired']">
  324.       <Exists>
  325.        <Otherwise>
  326.         <Insert select=".">
  327.      <Node axis="child">
  328.        <Table name="TableWiredTraces">
  329.              <Header>
  330.                <Data name="tracefile"/>
  331.              </Header>
  332.        </Table>
  333.      </Node>
  334.         </Insert>
  335.         <Insert select="Table[@name='TableWiredTraces']">  
  336. <Attribute name="topic" value="TopicWiredTraces"/>
  337. <Attribute name="key" value="210"/>
  338.         </Insert>
  339.  
  340.        </Otherwise>
  341.       </Exists>
  342.     </Step>
  343.  
  344.  
  345.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredTraces']">
  346.       <Exists>
  347.        <Otherwise>
  348.         <Variable name="tracefile">$(LOC_OneXTraceFile)</Variable>
  349.         <Insert select=".">
  350.      <Node axis="child">
  351.            <Item>
  352.              <Data name="tracefile" url="traces/onex.txt">{tracefile}</Data>
  353.            </Item>
  354.      </Node>
  355.         </Insert>
  356.  
  357.         <Variable name="tracefile">$(LOC_Dot3DlgTraceFile)</Variable>
  358.         <Insert select=".">
  359.      <Node axis="child">
  360.            <Item>
  361.              <Data name="tracefile" url="traces/dot3dlg.txt">{tracefile}</Data>
  362.            </Item>
  363.      </Node>
  364.         </Insert>
  365.  
  366.         <Variable name="tracefile">$(LOC_Dot3GPTraceFile)</Variable>
  367.         <Insert select=".">
  368.      <Node axis="child">
  369.            <Item>
  370.              <Data name="tracefile" url="traces/dot3gp.txt">{tracefile}</Data>
  371.            </Item>
  372.      </Node>
  373.         </Insert>
  374.  
  375.         <Variable name="tracefile">$(LOC_MsmSecTraceFile)</Variable>
  376.         <Insert select=".">
  377.      <Node axis="child">
  378.            <Item>
  379.              <Data name="tracefile" url="traces/dot3msm.txt">{tracefile}</Data>
  380.            </Item>
  381.      </Node>
  382.         </Insert>
  383.  
  384.         <Variable name="tracefile">$(LOC_Dot3SvcTraceFile)</Variable>
  385.         <Insert select=".">
  386.      <Node axis="child">
  387.            <Item>
  388.              <Data name="tracefile" url="traces/dot3svc.txt">{tracefile}</Data>
  389.            </Item>
  390.      </Node>
  391.         </Insert>
  392.  
  393.         <Variable name="tracefile">$(LOC_WiredAutoConfigTraceFile)</Variable>
  394.         <Insert select=".">
  395.      <Node axis="child">
  396.            <Item>
  397.              <Data name="tracefile" url="eventlog/WiredAutocfgEventLog.evtx">{tracefile}</Data>
  398.            </Item>
  399.      </Node>
  400.         </Insert>
  401.        </Otherwise>
  402.       </Exists>
  403.     </Step>
  404.   </Rule>
  405.  
  406.   <Rule name="$(RuleInformationListInsert)" enabled="true">
  407.     <Step select="/Report/Section[@name='advice']/Table[last()]">
  408.       <Exists>
  409.        <Otherwise>
  410.         <Insert>
  411.           <Node axis="preceding-sibling">
  412.              <Table name="alltests" style="columns">
  413.                 <Header>
  414.                   <Data name="alltestgroups"/>
  415.                   <Data name="allteststatus"/>
  416.                   <Data name="alltestdesc"/>
  417.                   <Header>
  418.                     <Data name="allchildtest"/>
  419.                     <Data name="allchildtotal"/>
  420.                     <Data name="allchildfail"/>
  421.                     <Data name="allchilddesc"/>
  422.                   </Header>
  423.                 </Header>
  424.              </Table>
  425.           </Node>
  426.         </Insert>
  427.  
  428.        </Otherwise>
  429.       </Exists>
  430.     </Step>
  431.   </Rule>
  432.  
  433.   <Rule name="$(RuleAddWarningTable)" enabled="true" visible="false">
  434.    <Step select="/Report/Section[@name='advice']">
  435.     <Exists>
  436.      <Otherwise>
  437.       <Variable name="internalruleindex" expression="'0'"/>
  438.       <Insert select=".">
  439.        <Node axis="child">
  440.         <Table name="error" style="info" key="1">
  441.         </Table>
  442.        </Node>
  443.       </Insert>
  444.      </Otherwise>
  445.     </Exists>
  446.    </Step>
  447.  
  448.    <Step select="/Report/Section[@name='advice']">
  449.     <Exists>
  450.      <Otherwise>
  451.       <Variable name="internalruleindex" expression="'0'"/>
  452.       <Insert select=".">
  453.        <Node axis="child">
  454.         <Table name="warning" style="info" key="2">
  455.         </Table>
  456.        </Node>
  457.       </Insert>
  458.      </Otherwise>
  459.     </Exists>
  460.    </Step>
  461.  
  462.    <Step select="/Report/Section[@name='advice']">
  463.     <Exists>
  464.      <Otherwise>
  465.       <Variable name="internalruleindex" expression="'0'"/>
  466.       <Insert select=".">
  467.        <Node axis="child">
  468.         <Table name="info" style="info" key="3">
  469.         </Table>
  470.        </Node>
  471.       </Insert>
  472.      </Otherwise>
  473.     </Exists>
  474.    </Step>
  475.   </Rule>
  476.  
  477.  
  478.   <Rule name="$(RuleWiredNetworkCleanup)" enabled="true">
  479.         <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='Active' and Data[@name='managementObjectsValue'] = '-1']" sortType="all">
  480.          <Exists>
  481.           <Otherwise>
  482.            <Variable name="newwmivalue">$(LOC_TrueString)</Variable>
  483.            <Delete select="Data[@name='managementObjectsValue']"/>
  484.            <Insert select=".">
  485.             <Node axis="child">
  486.               <Data name="managementObjectsValue" note="-1">{newwmivalue}</Data>
  487.             </Node>
  488.            </Insert>
  489.           </Otherwise>
  490.          </Exists>
  491.         </Step>
  492.         
  493.  
  494.         <Step select="/Report/Section/Table/Item/Item/Item[Data[@name='managementObjectsProperty']='Active' and Data[@name='managementObjectsValue'] = '0']" sortType="all">
  495.          <Exists>
  496.           <Otherwise>
  497.            <Variable name="newwmivalue">$(LOC_FalseString)</Variable>
  498.            <Delete select="Data[@name='managementObjectsValue']"/>
  499.            <Insert select=".">
  500.             <Node axis="child">
  501.               <Data name="managementObjectsValue" note="0">{newwmivalue}</Data>
  502.             </Node>
  503.            </Insert>
  504.           </Otherwise>
  505.          </Exists>
  506.         </Step>
  507.         
  508.  
  509.     <Step select="/Report/Section[@name='tracerptDisk']">
  510.       <Exists>
  511.         <Otherwise>
  512.           <Delete select="." />
  513.         </Otherwise>
  514.       </Exists>
  515.     </Step>
  516.  
  517.     <Step select="/Report/Section[@name='tracerptHeader']">
  518.       <Exists>
  519.         <Otherwise>
  520.           <Delete select="."/>
  521.         </Otherwise>
  522.       </Exists>
  523.     </Step>
  524.   </Rule>
  525.  
  526.   <Rule name="$(RuleCreateRegistryWiredAdapterTable)" enabled="true">
  527.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableTempWiredRegAdapterInfo']">
  528.       <Exists>
  529.         <Otherwise>
  530.           <Variable name="wiredregistrydataexists" expression="number('0')" />
  531.         </Otherwise>
  532.       </Exists>
  533.       <Otherwise>
  534.         <Variable name="wiredregistrydataexists" expression="number('0')" />
  535.       </Otherwise>
  536.     </Step>
  537.  
  538.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredAdapterInfo']/Item[contains(Data[@name='managementObjectsQuery'], 'MSNdis_EnumerateAdapter')]">
  539.       <Exists>
  540.         <Otherwise>
  541.           <Variable name="wiredwmidataexists" expression="number('1')" />
  542.         </Otherwise>
  543.       </Exists>
  544.       <Otherwise>
  545.         <Variable name="wiredwmidataexists" expression="number('0')" />
  546.       </Otherwise>
  547.     </Step>
  548.  
  549.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableTempWiredRegAdapterInfo']" fatal="true">
  550.       <Exists>
  551.         <Otherwise />
  552.       </Exists>
  553.     </Step>
  554.  
  555.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredAdapterInfo']/Item[contains(Data[@name='managementObjectsQuery'], 'MSNdis_EnumerateAdapter')]" fatal="true">
  556.       <Exists>
  557.         <Otherwise />
  558.       </Exists>
  559.     </Step>
  560.  
  561.     <Step select="/Report/Section[@name='SectionWired']" fatal="true" >
  562.       <Exists>
  563.         <Otherwise>
  564.           <Insert select=".">
  565.             <Node axis="child">
  566.               <Table name="TableWiredRegAdapterInfo" topic="TopicWiredHardware" key="20">
  567.                 <Header>
  568.                   <Data name="wireddriverdesc" class="string"/>
  569.                   <Data name="wirednetcfginstanceid" class="string"/>
  570.                   <Data name="wiredmatchingdeviceid" class="string" visible="false" />
  571.                   <Data name="wireddriverdate" class="string"/>
  572.                   <Data name="wireddriverversion" class="string"/>
  573.                   <Data name="wiredprovidername" class="string"/>
  574.                 </Header>
  575.               </Table>
  576.             </Node>
  577.           </Insert>
  578.  
  579.         </Otherwise>
  580.       </Exists>
  581.     </Step>
  582.  
  583.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableTempWiredRegAdapterInfo']/Item/Item" sortType="all">
  584.       <Variable name="keyname" expression="Data[@name='registryKeysKey']" />
  585.       <Variable name="keyvalue" expression="Data[@name='registryKeysValue']" />
  586.       <Exists>
  587.         <When expression="contains('{keyname}', '*IfType') and {keyvalue} = 6">
  588.           <Variable name="parentkeyname" expression="substring-before('{keyname}', '*IfType')" />
  589.           <Variable name="driverdesc" expression="../Item[Data[@name='registryKeysKey'] = concat('{parentkeyname}', 'DriverDesc')]/Data[@name='registryKeysValue']" />
  590.  
  591.           <Variable name="netcfginstanceid" expression="../Item[Data[@name='registryKeysKey'] = concat('{parentkeyname}', 'NetCfgInstanceId')]/Data[@name='registryKeysValue']" />
  592.           <Variable name="matchingdeviceid" expression="../Item[Data[@name='registryKeysKey'] = concat('{parentkeyname}', 'MatchingDeviceId')]/Data[@name='registryKeysValue']" />
  593.           <Variable name="driverdate" expression="../Item[Data[@name='registryKeysKey'] = concat('{parentkeyname}', 'DriverDate')]/Data[@name='registryKeysValue']" />
  594.           <Variable name="driverversion" expression="../Item[Data[@name='registryKeysKey'] = concat('{parentkeyname}', 'DriverVersion')]/Data[@name='registryKeysValue']" />
  595. >
  596.           <Variable name="providername" expression="../Item[Data[@name='registryKeysKey'] = concat('{parentkeyname}', 'ProviderName')]/Data[@name='registryKeysValue']" />
  597.           <Variable name="wiredregistrydataexists" expression="number('1')" />
  598.           
  599.           <Insert select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredRegAdapterInfo']/Header">
  600.             <Node axis="following-sibling">
  601.               <Item>
  602.                 <Data name="wireddriverdesc">{driverdesc}</Data>
  603.                 <Data name="wirednetcfginstanceid">{netcfginstanceid}</Data>
  604.                 <Data name="wiredmatchingdeviceid" visible="false" ><!-- {matchingdeviceid} --></Data>
  605.                 <Data name="wireddriverdate">{driverdate}</Data>
  606.                 <Data name="wireddriverversion">{driverversion}</Data>
  607.                 <Data name="wiredprovidername">{providername}</Data>
  608.               </Item>
  609.             </Node>
  610.           </Insert>
  611.         </When>
  612.       </Exists>
  613.     </Step>
  614.  
  615.     <Step select="/Report/Section[@name='SectionWired']">
  616.       <Exists>
  617.         <Otherwise>
  618.           <Delete select="Table[@name='TableTempWiredRegAdapterInfo']" />
  619.         </Otherwise>
  620.       </Exists>
  621.     </Step> 
  622.  
  623.   </Rule>
  624.  
  625.   <Rule name="$(RuleNetworkWiredSetup)" enabled="true">
  626.  
  627.     <Step select="/Report/Section[@name='advice']/Table[@name='alltests']">
  628.       <Exists>
  629.        <When expression="{wiredregistrydataexists} = 1 and {wiredwmidataexists} = 1">
  630.         <Variable name="group">$(LOC_TableNetworkWiredSummary)</Variable>
  631.         <Variable name="description">$(LOC_DescNetworkWiredSummary)</Variable>
  632.         <Insert>
  633.           <Node axis="child">
  634.             <Item>
  635.               <Data name="alltestgroups" link="TableWiredRegAdapterInfo">{group}</Data>
  636.               <Data name="alltestdesc">{description}</Data>
  637.             </Item>
  638.           </Node>
  639.         </Insert>
  640.        </When>
  641.        <Otherwise/>
  642.       </Exists>
  643.     </Step>
  644.   </Rule>
  645.  
  646.   <Rule name="$(RuleDisabledWiredAdaptersCheck)" enabled="true">
  647.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredRegAdapterInfo']/Item" fatal="true">
  648.       <Exists>
  649.         <Otherwise>
  650.           <Variable name="globaladapterexists" expression="number('0')" />
  651.           <Variable name="truestring">$(LOC_TrueString)</Variable>
  652.           <Variable name="falsestring">$(LOC_FalseString)</Variable>
  653.         </Otherwise>
  654.       </Exists>
  655.     </Step>
  656.  
  657.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredAdapterInfo']/Item[contains(Data[@name='managementObjectsQuery'], 'MSNdis_EnumerateAdapter')]" fatal="true">
  658.       <Exists>
  659.         <Otherwise />
  660.       </Exists>
  661.     </Step>
  662.  
  663.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredRegAdapterInfo']/Item" sortType="all">
  664.       <Variable name="instanceid" expression="Data[@name='wirednetcfginstanceid']" />
  665.       <Variable name="adapterdescription" expression="Data[@name='wireddriverdesc']" />
  666.       <Variable name="adapterexists" expression="count(/Report/Section[@name='SectionWired']/Table[@name='TableWiredAdapterInfo']/Item[contains(Data[@name='managementObjectsQuery'], 'MSNdis_EnumerateAdapter')]/Item[contains(Item[Data[@name='managementObjectsProperty'] = 'DeviceName']/Data[@name='managementObjectsValue'], '{instanceid}')])" />
  667.       <Variable name="adapterstate" expression="/Report/Section[@name='SectionWired']/Table[@name='TableWiredAdapterInfo']/Item[contains(Data[@name='managementObjectsQuery'], 'MSNdis_EnumerateAdapter')]/Item[contains(Item[Data[@name='managementObjectsProperty'] = 'DeviceName']/Data[@name='managementObjectsValue'], '{instanceid}')]/Item[Data[@name='managementObjectsProperty'] = 'Active']/Data[@name='managementObjectsValue']" />
  668.       <Variable name="adaptername" expression="/Report/Section[@name='SectionWired']/Table[@name='TableWiredAdapterInfo']/Item[contains(Data[@name='managementObjectsQuery'], 'MSNdis_EnumerateAdapter')]/Item[contains(Item[Data[@name='managementObjectsProperty'] = 'DeviceName']/Data[@name='managementObjectsValue'], '{instanceid}')]/Item[Data[@name='managementObjectsProperty'] = 'InstanceName']/Data[@name='managementObjectsValue']" />
  669.  
  670.       <Exists>
  671.         <When expression="{adapterexists} = 1 and not(contains('{adapterdescription}', 'Miniport')) and not(contains('{adapterdescription}', 'RAS')) and not(contains('{adapterdescription}', 'isatap')) and '{adapterstate}' = '{falsestring}'">
  672.                   
  673.         <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  674.         <Variable name="ruleFailWiredAdapterCheck_symptom">$(WarnFailWiredAdapterCheck_symptom)</Variable>
  675.         <Variable name="ruleFailWiredAdapterCheck_cause">$(WarnFailWiredAdapterCheck_cause)</Variable>
  676.         <Variable name="ruleFailWiredAdapterCheck_details">$(WarnFailWiredAdapterCheck_details)</Variable>
  677.         <Variable name="ruleFailWiredAdapterCheck_res1">$(WarnFailWiredAdapterCheck_res1)</Variable>
  678.         <Variable name="ruleFailWiredAdapterCheck_res2">$(WarnFailWiredAdapterCheck_res2)</Variable>
  679.          <Warning tag="ruleFailWiredAdapterCheck_WarnFailWiredAdapterCheck_{internalruleindex}"  select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredAdapterInfo']/Item/Item[contains(Item[Data[@name='managementObjectsProperty'] = 'DeviceName']/Data[@name='managementObjectsValue'], '{instanceid}')]/Item[Data[@name='managementObjectsProperty'] = 'InstanceName']/Data[@name='managementObjectsValue']" table="/Report/Section[@name='advice']/Table[@name='warning']">
  680.            <Item>
  681.  
  682.               <Data name="symptom" img="warning" link="ruleFailWiredAdapterCheck_WarnFailWiredAdapterCheck_{internalruleindex}"  message="ruleFailWiredAdapterCheck_WarnFailWiredAdapterCheck_{internalruleindex}">{ruleFailWiredAdapterCheck_symptom}</Data>
  683.               <Data name="cause" message="ruleFailWiredAdapterCheck_WarnFailWiredAdapterCheck_{internalruleindex}" >{ruleFailWiredAdapterCheck_cause}</Data>
  684.               <Data name="details"  message="ruleFailWiredAdapterCheck_WarnFailWiredAdapterCheck_{internalruleindex}" >{ruleFailWiredAdapterCheck_details}</Data>
  685.               <Data name="resolution"  message="ruleFailWiredAdapterCheck_WarnFailWiredAdapterCheck_{internalruleindex}" >{ruleFailWiredAdapterCheck_res1}</Data>
  686.               <Data name="resolution"  message="ruleFailWiredAdapterCheck_WarnFailWiredAdapterCheck_{internalruleindex}" >{ruleFailWiredAdapterCheck_res2}</Data>
  687.            </Item>
  688.          </Warning>
  689.  
  690.         </When>
  691.         <When expression="{adapterexists} = 1 and not(contains('{adapterdescription}', 'Miniport')) and not(contains('{adapterdescription}', 'RAS')) and not(contains('{adapterdescription}', 'isatap')) and '{adapterstate}' = '{truestring}'">
  692.           <Variable name="globaladapterexists" expression="number('1')" />
  693.         </When>
  694.         <When expression="{adapterexists} = 1 and not(contains('{adapterdescription}', 'Miniport')) and not(contains('{adapterdescription}', 'RAS')) and not(contains('{adapterdescription}', 'isatap')) and '{adapterstate}' = '{truestring}'">
  695.           <Variable name="globaladapterexists" expression="number('1')" />
  696.         </When>
  697.         <Otherwise>
  698.         </Otherwise>
  699.       </Exists>
  700.     </Step>
  701.  
  702.     <Step select="/Report/Section[@name='SectionWired']/Table[@name='TableWiredRegAdapterInfo']">
  703.       <Exists>are
  704.         <When expression="{globaladapterexists} = 0">
  705.           <Variable name="adaptername" expression="Item/Data[@name='wireddriverdesc' and not(contains(., 'Miniport')) and not(contains(., 'RAS')) and not(contains(., 'isatap'))]" />
  706.         <Variable name="internalruleindex" expression="{internalruleindex} + 1"/>
  707.         <Variable name="ruleFailNoWiredAdapterEnabled_symptom">$(WarnFailNoWiredAdapterEnabled_symptom)</Variable>
  708.         <Variable name="ruleFailNoWiredAdapterEnabled_cause">$(WarnFailNoWiredAdapterEnabled_cause)</Variable>
  709.         <Variable name="ruleFailNoWiredAdapterEnabled_details">$(WarnFailNoWiredAdapterEnabled_details)</Variable>
  710.         <Variable name="ruleFailNoWiredAdapterEnabled_res1">$(WarnFailNoWiredAdapterEnabled_res1)</Variable>
  711.         <Variable name="ruleFailNoWiredAdapterEnabled_res2">$(WarnFailNoWiredAdapterEnabled_res2)</Variable>
  712.          <Warning tag="ruleFailNoWiredAdapterEnabled_WarnFailNoWiredAdapterEnabled_{internalruleindex}"  select="Item/Data[@name='wireddriverdesc' and not(contains(., 'Miniport')) and not(contains(., 'RAS')) and not(contains(., 'isatap'))]" table="/Report/Section[@name='advice']/Table[@name='warning']">
  713.            <Item>
  714.  
  715.               <Data name="symptom" img="warning" link="ruleFailNoWiredAdapterEnabled_WarnFailNoWiredAdapterEnabled_{internalruleindex}"  message="ruleFailNoWiredAdapterEnabled_WarnFailNoWiredAdapterEnabled_{internalruleindex}">{ruleFailNoWiredAdapterEnabled_symptom}</Data>
  716.               <Data name="cause" message="ruleFailNoWiredAdapterEnabled_WarnFailNoWiredAdapterEnabled_{internalruleindex}" >{ruleFailNoWiredAdapterEnabled_cause}</Data>
  717.               <Data name="details"  message="ruleFailNoWiredAdapterEnabled_WarnFailNoWiredAdapterEnabled_{internalruleindex}" >{ruleFailNoWiredAdapterEnabled_details}</Data>
  718.               <Data name="resolution"  message="ruleFailNoWiredAdapterEnabled_WarnFailNoWiredAdapterEnabled_{internalruleindex}" >{ruleFailNoWiredAdapterEnabled_res1}</Data>
  719.               <Data name="resolution"  message="ruleFailNoWiredAdapterEnabled_WarnFailNoWiredAdapterEnabled_{internalruleindex}" >{ruleFailNoWiredAdapterEnabled_res2}</Data>
  720.            </Item>
  721.          </Warning>
  722.  
  723.         <Variable name="group">$(LOC_TableNetworkWiredSummary)</Variable>
  724.         <Variable name="test">$(LOC_RuleDisabledWiredAdaptersCheck)</Variable>
  725.         <Variable name="description">$(LOC_Failed)</Variable>
  726. <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  727.          <Node axis="child">
  728.            <Item>
  729.              <Data name="allchildtest">{test}</Data>
  730.              <Data name="allchildtotal">1</Data>
  731.              <Data name="allchildfail">1</Data>
  732.              <Data name="allchilddesc">{description}</Data>
  733.            </Item>
  734.          </Node>
  735.        </Insert>
  736.         </When>
  737.         <Otherwise>
  738.         <Variable name="group">$(LOC_TableNetworkWiredSummary)</Variable>
  739.         <Variable name="test">$(LOC_RuleDisabledWiredAdaptersCheck)</Variable>
  740.         <Variable name="description">$(LOC_Passed)</Variable>
  741. <Insert select="/Report/Section[@name='advice']/Table[@name='alltests']/Item[Data[@name='alltestgroups'] = '{group}']">
  742.          <Node axis="child">
  743.            <Item>
  744.              <Data name="allchildtest">{test}</Data>
  745.              <Data name="allchildtotal">1</Data>
  746.              <Data name="allchildfail">0</Data>
  747.              <Data name="allchilddesc">{description}</Data>
  748.            </Item>
  749.          </Node>
  750.        </Insert>
  751.         </Otherwise>
  752.       </Exists>
  753.       <Otherwise />
  754.     </Step>
  755.  
  756.     <Step select="/Report/Section[@name='SectionWired']">
  757.       <Exists>
  758.         <Otherwise>
  759.           <Delete select="Table[@name='TableWiredAdapterInfo']" />
  760.         </Otherwise>
  761.       </Exists>
  762.     </Step> 
  763.   </Rule>
  764.  
  765.  
  766.   <Rule name="$(RuleNetworkWiredSummary)" enabled="true">
  767.      <Step select="/Report/Section[@name='advice']/Table[@name='alltests']" fatal="true">
  768.        <Variable name="group">$(LOC_TableNetworkWiredSummary)</Variable>
  769.        <Variable name="groupfailedtestscount" expression="count(Item[Data[@name='alltestgroups'] = '{group}']/Item[Data[@name='allchildfail'] != '0'])" />
  770.        <Exists>
  771.          <When expression="{wiredregistrydataexists} = 1 and {wiredwmidataexists} = 1 and {groupfailedtestscount} > 0">
  772.            <Variable name="failedmsg">$(LOC_Failed)</Variable>
  773.            <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  774.              <Node axis="following-sibling">
  775.                <Data name="allteststatus">{failedmsg}</Data>
  776.              </Node>
  777.            </Insert>
  778.          </When>
  779.          <When expression="{wiredregistrydataexists} = 1 and {wiredwmidataexists} = 1 and {groupfailedtestscount} = 0">
  780.            <Variable name="passedmsg">$(LOC_Passed)</Variable>
  781.            <Insert select="Item[Data[@name='alltestgroups'] = '{group}']/Data">
  782.              <Node axis="following-sibling">
  783.                <Data name="allteststatus">{passedmsg}</Data>
  784.              </Node>
  785.            </Insert>
  786.          </When>
  787.        </Exists>
  788.      </Step>
  789.   </Rule>
  790.  
  791.   <Rule name="$(RuleSlimServicesTable)" enabled="true">
  792.  
  793.     <Step select="/Report/Section/Table[@name='TableWiredServicesInformation']/Item/Item[Item[Data[@name='managementObjectsProperty']='State' and Data[@name='managementObjectsValue'] = 'Running']]" sortType="all">
  794.       <Exists>
  795.         <When expression="count(Data[@warning]) = 0">
  796.           <Variable name="summary" expression="Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  797.           <Insert select="Data[@name='managementObjectsRelativePath']">
  798.             <Attribute name="note" value="$(NoteServiceRunning)"/>
  799.           </Insert>
  800.           <Delete select="Item"/>
  801.         </When>
  802.       </Exists>
  803.     </Step>
  804.  
  805.     <Step select="/Report/Section/Table[@name='TableWiredServicesInformation']/Item/Item[Item[Data[@name='managementObjectsProperty']='State' and Data[@name='managementObjectsValue'] = 'Stopped']][Item[Data[@name='managementObjectsProperty']='ExitCode' and Data[@name='managementObjectsValue'] = '1077']]" sortType="all">
  806.       <Exists>
  807.         <When expression="count(Data[@warning]) = 0">
  808.           <Variable name="summary" expression="Item/Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  809.           <Insert select="Data[@name='managementObjectsRelativePath']">
  810.             <Attribute name="note" value="$(NoteServiceProperlyStopped1077)"/>
  811.           </Insert>
  812.           <Delete select="Item"/>
  813.         </When>
  814.       </Exists>
  815.     </Step>
  816.  
  817.     <Step select="/Report/Section/Table[@name='TableWiredServicesInformation']/Item/Item[Item[Data[@name='managementObjectsProperty']='State' and Data[@name='managementObjectsValue'] = 'Stopped']][Item[Data[@name='managementObjectsProperty']='ExitCode' and Data[@name='managementObjectsValue'] = '0']]" sortType="all">
  818.       <Exists>
  819.         <When expression="count(Data[@warning]) = 0">
  820.           <Variable name="summary" expression="Item/Item[Data[@name='managementObjectsProperty']='Description']/Data[@name='managementObjectsValue']"/>
  821.           <Insert select="Data[@name='managementObjectsRelativePath']">
  822.             <Attribute name="note" value="$(NoteServiceProperlyStopped0)"/>
  823.           </Insert>
  824.           <Delete select="Item"/>
  825.         </When>
  826.       </Exists>
  827.     </Step>
  828.   </Rule>
  829.  
  830.   <Rule name="$(RuleNoteErrorCodes)" enabled="true">
  831.     <Step select="/Report/Section/Table/Item[Data[@name='configurationFilesOpenResult']]" sortType="all">
  832.       <Variable name="pathnotfoundmsg">$(LOC_PathNotFound)</Variable>
  833.       <Variable name="successmsg">$(LOC_Success)</Variable>
  834.       <Exists>
  835.        <When expression="Data[@name='configurationFilesOpenResult'] = '0x80070003'" >
  836.         <Delete select="Data[@name='configurationFilesOpenResult']"/>
  837.         <Insert select=".">
  838.           <Node axis="child">
  839.             <Data name="configurationFilesOpenResult">{pathnotfoundmsg}</Data>
  840.           </Node>
  841.         </Insert>
  842.         <Insert select="Data[@name='configurationFilesOpenResult']">
  843.           <Attribute name="note" value="$(NoteCode80070003)" />
  844.         </Insert>
  845.        </When>
  846.        <When expression="Data[@name='configurationFilesOpenResult'] = '0x0'">
  847.         <Delete select="Data[@name='configurationFilesOpenResult']"/>
  848.         <Insert select=".">
  849.           <Node axis="child">
  850.             <Data name="configurationFilesOpenResult">{successmsg}</Data>
  851.           </Node>
  852.         </Insert>
  853.         <Insert select="Data[@name='configurationFilesOpenResult']">
  854.           <Attribute name="note" value="$(NoteCode0)" />
  855.         </Insert>
  856.        </When>
  857.       </Exists>
  858.       <Otherwise/>
  859.     </Step>
  860.  
  861.     <Step select="/Report/Section/Table/Item/Item[Data[@name='configurationFilesCopyResult']]" sortType="all">
  862.       <Variable name="successmsg">$(LOC_Success)</Variable>
  863.       <Exists>
  864.         <When expression="Data[@name='configurationFilesCopyResult'] = '0x0'">
  865.          <Delete select="Data[@name='configurationFilesCopyResult']" />
  866.          <Insert select=".">
  867.            <Node axis="child">
  868.              <Data name="configurationFilesCopyResult">{successmsg}</Data>
  869.            </Node>
  870.          </Insert>
  871.          <Insert select="Data[@name='configurationFilesCopyResult']">
  872.            <Attribute name="note" value="$(NoteCode0)" />
  873.          </Insert>
  874.         </When>
  875.         <Otherwise>
  876.         </Otherwise>
  877.       </Exists>
  878.     </Step>
  879.  
  880.   </Rule>
  881.  
  882.   <Rule name="$(RuleFileHyper)" enabled="true">
  883.     <Step select="/Report/Section/Table/Item/Item/Data[@name='configurationFilesTo']" sortType="all">
  884.       <Exists>
  885.        <Otherwise>
  886.  
  887.         <Variable name="where" expression="."/>
  888.         <Insert select=".">  
  889.          <Attribute name="url"   value="{where}"/>
  890.         </Insert>
  891.  
  892.        </Otherwise>
  893.       </Exists>
  894.     </Step>
  895.   </Rule>
  896. </Group>
  897.  
  898. </Rules>
  899.  
  900.